Skip to content

issue running OpenNi2 make file in raspberry pi 4b #156

@karzone32

Description

@karzone32

pi@raspberrypi:/home/b2b2csolutions/OpenNI2 $ make
make -C ThirdParty/PSCommon/XnLib/Source
make[1]: Entering directory '/home/b2b2csolutions/OpenNI2/ThirdParty/PSCommon/XnLib/Source'
g++ -MD -MP -MT "./../Bin/Intermediate/Arm-Release/libXnLib.a/XnErrorLogger.d ../Bin/Intermediate/Arm-Release/libXnLib.a/XnErrorLogger.o" -c -march=armv7-a -mtune=cortex-a9 -mfpu=neon -mfloat-abi=softfp -O3 -fno-tree-pre -fno-strict-aliasing -ftree-vectorize -ffast-math -funsafe-math-optimizations -flax-vector-conversions -Wall -O2 -DNDEBUG -I../Include -DXN_NEON -fPIC -fvisibility=hidden -o ../Bin/Intermediate/Arm-Release/libXnLib.a/XnErrorLogger.o XnErrorLogger.cpp
In file included from /usr/include/features.h:448,
from /usr/include/unistd.h:25,
from ../Include/Linux-Arm/../Linux-x86/XnPlatformLinux-x86.h:31,
from ../Include/Linux-Arm/XnPlatformLinux-Arm.h:25,
from ../Include/XnPlatform.h:55,
from ../Include/XnLib.h:24,
from ../Include/XnErrorLogger.h:24,
from XnErrorLogger.cpp:21:
/usr/include/arm-linux-gnueabihf/gnu/stubs.h:7:11: fatal error: gnu/stubs-soft.h: No such file or directory

include <gnu/stubs-soft.h>

       ^~~~~~~~~~~~~~~~~~

compilation terminated.
make[1]: *** [../../BuildSystem/CommonCppMakefile:130: ../Bin/Intermediate/Arm-Release/libXnLib.a/XnErrorLogger.o] Error 1
make[1]: Leaving directory '/home/b2b2csolutions/OpenNI2/ThirdParty/PSCommon/XnLib/Source'
make: *** [Makefile:122: ThirdParty/PSCommon/XnLib/Source] Error 2
pi@raspberrypi:/home/b2b2csolutions/OpenNI2 $

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions