Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/openni2-camera.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS_SP3-aarch64-1792639818.977786/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/openni2-camera.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/ros-humble-openni2-camera-2.0.3-2.src.rpm Child return code was: 0 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/openni2-camera.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS_SP3-aarch64-1792639818.977786/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/openni2-camera.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/ros-humble-openni2-camera-2.0.3-2.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/openni2-camera.spec'], chrootPath='/var/lib/mock/openeuler-24.03_LTS_SP3-aarch64-1792639818.977786/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/openni2-camera.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Tz2aLO + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf openni2-camera-2.0.3-1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/openni2-camera-2.0.3-1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd openni2-camera-2.0.3-1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/OpenNI2-2.2.0.33.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cd OpenNI2-2.2.0.33 + patch -p1 patching file ThirdParty/PSCommon/BuildSystem/CommonDefs.mak patching file ThirdParty/PSCommon/BuildSystem/Platform.Aarch64 patching file ThirdParty/PSCommon/XnLib/Include/Linux-Aarch64/XnPlatformLinux-Aarch64.h patching file ThirdParty/PSCommon/XnLib/Include/XnPlatform.h + cd .. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.8MBRCZ + umask 022 + cd /builddir/build/BUILD + cd openni2-camera-2.0.3-1 + '[' -f /opt/ros/humble/setup.sh ']' + source /opt/ros/humble/setup.sh ++ : /opt/ros/humble ++ : sh ++ _prefix_setup_IFS=' ' ++ IFS=' ' ++ _UNIQUE_PREFIX_PATH= ++ '[' -z SKIP_PARENT_PREFIX_PATH ']' ++ ament_append_unique_value _UNIQUE_PREFIX_PATH /opt/ros/humble ++ _listname=_UNIQUE_PREFIX_PATH ++ _value=/opt/ros/humble ++ eval '_values=$_UNIQUE_PREFIX_PATH' +++ _values= ++ _duplicate= ++ _ament_append_unique_value_IFS=' ' ++ IFS=: ++ '[' sh = zsh ']' ++ unset _item ++ '[' -z '' ']' ++ '[' -z '' ']' ++ eval '_UNIQUE_PREFIX_PATH="/opt/ros/humble"' +++ _UNIQUE_PREFIX_PATH=/opt/ros/humble ++ IFS=' ' ++ unset _ament_append_unique_value_IFS ++ unset _duplicate ++ unset _values ++ unset _value ++ unset _listname ++ unset AMENT_CURRENT_PREFIX ++ _prefix_setup_AMENT_SHELL=sh ++ IFS=: ++ '[' sh = zsh ']' ++ for _path in $_UNIQUE_PREFIX_PATH ++ '[' -n '' ']' ++ '[' -f /opt/ros/humble/local_setup.sh ']' ++ '[' sh = sh ']' ++ AMENT_CURRENT_PREFIX=/opt/ros/humble ++ IFS=' ' ++ . /opt/ros/humble/local_setup.sh +++ _ament_prefix_sh_AMENT_CURRENT_PREFIX=/opt/ros/humble +++ '[' -z /opt/ros/humble ']' +++ _ament_prefix_sh_AMENT_CURRENT_PREFIX=/opt/ros/humble +++ : sh +++ _ament_python_executable=/usr/bin/python3 +++ '[' -n '' ']' +++ '[' '!' -f /usr/bin/python3 ']' +++ _ament_additional_extension= +++ '[' sh '!=' sh ']' ++++ /usr/bin/python3 /opt/ros/humble/_local_setup_util.py sh +++ _ament_ordered_commands='export AMENT_PREFIX_PATH="/opt/ros/humble:$AMENT_PREFIX_PATH" export PATH="/opt/ros/humble/bin:$PATH" export PYTHONPATH="/opt/ros/humble/lib/python3.11/site-packages:$PYTHONPATH" export LD_LIBRARY_PATH="/opt/ros/humble/lib:$LD_LIBRARY_PATH" export AMENT_PREFIX_PATH=${AMENT_PREFIX_PATH#:} export AMENT_PREFIX_PATH=${AMENT_PREFIX_PATH%:} export PYTHONPATH=${PYTHONPATH#:} export PYTHONPATH=${PYTHONPATH%:} export LD_LIBRARY_PATH=${LD_LIBRARY_PATH#:} export LD_LIBRARY_PATH=${LD_LIBRARY_PATH%:}' +++ unset _ament_additional_extension +++ unset _ament_python_executable +++ '[' -n '' ']' +++ eval 'export AMENT_PREFIX_PATH="/opt/ros/humble:$AMENT_PREFIX_PATH" export PATH="/opt/ros/humble/bin:$PATH" export PYTHONPATH="/opt/ros/humble/lib/python3.11/site-packages:$PYTHONPATH" export LD_LIBRARY_PATH="/opt/ros/humble/lib:$LD_LIBRARY_PATH" export AMENT_PREFIX_PATH=${AMENT_PREFIX_PATH#:} export AMENT_PREFIX_PATH=${AMENT_PREFIX_PATH%:} export PYTHONPATH=${PYTHONPATH#:} export PYTHONPATH=${PYTHONPATH%:} export LD_LIBRARY_PATH=${LD_LIBRARY_PATH#:} export LD_LIBRARY_PATH=${LD_LIBRARY_PATH%:}' ++++ export AMENT_PREFIX_PATH=/opt/ros/humble: ++++ AMENT_PREFIX_PATH=/opt/ros/humble: ++++ export PATH=/opt/ros/humble/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin ++++ PATH=/opt/ros/humble/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin ++++ export PYTHONPATH=/opt/ros/humble/lib/python3.11/site-packages: ++++ PYTHONPATH=/opt/ros/humble/lib/python3.11/site-packages: ++++ export LD_LIBRARY_PATH=/opt/ros/humble/lib: ++++ LD_LIBRARY_PATH=/opt/ros/humble/lib: ++++ export AMENT_PREFIX_PATH=/opt/ros/humble: ++++ AMENT_PREFIX_PATH=/opt/ros/humble: ++++ export AMENT_PREFIX_PATH=/opt/ros/humble ++++ AMENT_PREFIX_PATH=/opt/ros/humble ++++ export PYTHONPATH=/opt/ros/humble/lib/python3.11/site-packages: ++++ PYTHONPATH=/opt/ros/humble/lib/python3.11/site-packages: ++++ export PYTHONPATH=/opt/ros/humble/lib/python3.11/site-packages ++++ PYTHONPATH=/opt/ros/humble/lib/python3.11/site-packages ++++ export LD_LIBRARY_PATH=/opt/ros/humble/lib: ++++ LD_LIBRARY_PATH=/opt/ros/humble/lib: ++++ export LD_LIBRARY_PATH=/opt/ros/humble/lib ++++ LD_LIBRARY_PATH=/opt/ros/humble/lib +++ unset _ament_ordered_commands +++ unset _ament_prefix_sh_source_script +++ unset _ament_prefix_sh_AMENT_CURRENT_PREFIX ++ AMENT_SHELL=sh ++ unset _path ++ IFS=' ' ++ unset _prefix_setup_IFS ++ unset _prefix_setup_AMENT_SHELL ++ unset _UNIQUE_PREFIX_PATH ++ unset AMENT_SHELL + export PYTHONPATH=/opt/ros/humble/lib/python3.11/site-packages:/opt/ros/humble/lib/python3.11/site-packages + PYTHONPATH=/opt/ros/humble/lib/python3.11/site-packages:/opt/ros/humble/lib/python3.11/site-packages + export PKG_CONFIG_PATH=/opt/ros/humble/lib/pkgconfig::/usr/lib64/pkgconfig:/usr/share/pkgconfig + PKG_CONFIG_PATH=/opt/ros/humble/lib/pkgconfig::/usr/lib64/pkgconfig:/usr/share/pkgconfig + cd OpenNI2-2.2.0.33 + make Source/Core -j4 make -C ThirdParty/PSCommon/XnLib/Source make[1]: Entering directory '/builddir/build/BUILD/openni2-camera-2.0.3-1/OpenNI2-2.2.0.33/ThirdParty/PSCommon/XnLib/Source' mkdir -p ../Bin/Intermediate/Aarch64-Release/libXnLib.a mkdir -p ../Bin/Aarch64-Release g++ -MD -MP -MT "./../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnDump.d ../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnDump.o" -c -O3 -fno-tree-pre -fno-strict-aliasing -ftree-vectorize -ffast-math -funsafe-math-optimizations -Wall -O2 -DNDEBUG -I../Include -fPIC -fvisibility=hidden -o ../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnDump.o XnDump.cpp g++ -MD -MP -MT "./../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnDumpFileWriter.d ../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnDumpFileWriter.o" -c -O3 -fno-tree-pre -fno-strict-aliasing -ftree-vectorize -ffast-math -funsafe-math-optimizations -Wall -O2 -DNDEBUG -I../Include -fPIC -fvisibility=hidden -o ../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnDumpFileWriter.o XnDumpFileWriter.cpp g++ -MD -MP -MT "./../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnErrorLogger.d ../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnErrorLogger.o" -c -O3 -fno-tree-pre -fno-strict-aliasing -ftree-vectorize -ffast-math -funsafe-math-optimizations -Wall -O2 -DNDEBUG -I../Include -fPIC -fvisibility=hidden -o ../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnErrorLogger.o XnErrorLogger.cpp g++ -MD -MP -MT "./../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnFPSCalculator.d ../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnFPSCalculator.o" -c -O3 -fno-tree-pre -fno-strict-aliasing -ftree-vectorize -ffast-math -funsafe-math-optimizations -Wall -O2 -DNDEBUG -I../Include -fPIC -fvisibility=hidden -o ../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnFPSCalculator.o XnFPSCalculator.cpp g++ -MD -MP -MT "./../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnFiles.d ../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnFiles.o" -c -O3 -fno-tree-pre -fno-strict-aliasing -ftree-vectorize -ffast-math -funsafe-math-optimizations -Wall -O2 -DNDEBUG -I../Include -fPIC -fvisibility=hidden -o ../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnFiles.o XnFiles.cpp g++ -MD -MP -MT "./../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLib.d ../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLib.o" -c -O3 -fno-tree-pre -fno-strict-aliasing -ftree-vectorize -ffast-math -funsafe-math-optimizations -Wall -O2 -DNDEBUG -I../Include -fPIC -fvisibility=hidden -o ../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLib.o XnLib.cpp g++ -MD -MP -MT "./../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLog.d ../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLog.o" -c -O3 -fno-tree-pre -fno-strict-aliasing -ftree-vectorize -ffast-math -funsafe-math-optimizations -Wall -O2 -DNDEBUG -I../Include -fPIC -fvisibility=hidden -o ../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLog.o XnLog.cpp g++ -MD -MP -MT "./../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLogAndroidWriter.d ../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLogAndroidWriter.o" -c -O3 -fno-tree-pre -fno-strict-aliasing -ftree-vectorize -ffast-math -funsafe-math-optimizations -Wall -O2 -DNDEBUG -I../Include -fPIC -fvisibility=hidden -o ../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLogAndroidWriter.o XnLogAndroidWriter.cpp g++ -MD -MP -MT "./../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLogConsoleWriter.d ../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLogConsoleWriter.o" -c -O3 -fno-tree-pre -fno-strict-aliasing -ftree-vectorize -ffast-math -funsafe-math-optimizations -Wall -O2 -DNDEBUG -I../Include -fPIC -fvisibility=hidden -o ../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLogConsoleWriter.o XnLogConsoleWriter.cpp g++ -MD -MP -MT "./../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLogFileWriter.d ../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLogFileWriter.o" -c -O3 -fno-tree-pre -fno-strict-aliasing -ftree-vectorize -ffast-math -funsafe-math-optimizations -Wall -O2 -DNDEBUG -I../Include -fPIC -fvisibility=hidden -o ../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLogFileWriter.o XnLogFileWriter.cpp g++ -MD -MP -MT "./../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnOS.d ../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnOS.o" -c -O3 -fno-tree-pre -fno-strict-aliasing -ftree-vectorize -ffast-math -funsafe-math-optimizations -Wall -O2 -DNDEBUG -I../Include -fPIC -fvisibility=hidden -o ../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnOS.o XnOS.cpp g++ -MD -MP -MT "./../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnOSMemoryProfiling.d ../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnOSMemoryProfiling.o" -c -O3 -fno-tree-pre -fno-strict-aliasing -ftree-vectorize -ffast-math -funsafe-math-optimizations -Wall -O2 -DNDEBUG -I../Include -fPIC -fvisibility=hidden -o ../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnOSMemoryProfiling.o XnOSMemoryProfiling.cpp g++ -MD -MP -MT "./../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnProfiling.d ../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnProfiling.o" -c -O3 -fno-tree-pre -fno-strict-aliasing -ftree-vectorize -ffast-math -funsafe-math-optimizations -Wall -O2 -DNDEBUG -I../Include -fPIC -fvisibility=hidden -o ../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnProfiling.o XnProfiling.cpp g++ -MD -MP -MT "./../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnScheduler.d ../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnScheduler.o" -c -O3 -fno-tree-pre -fno-strict-aliasing -ftree-vectorize -ffast-math -funsafe-math-optimizations -Wall -O2 -DNDEBUG -I../Include -fPIC -fvisibility=hidden -o ../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnScheduler.o XnScheduler.cpp XnProfiling.cpp: In function 'XnStatus xnProfilingSectionStart(const char*, XnBool, XnProfilingHandle*)': XnProfiling.cpp:220:32: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 256 equals destination size [-Wstringop-truncation] 220 | strncpy(pSection->csName + nChar, csSectionName, MAX_SECTION_NAME); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -MD -MP -MT "./../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnStatus.d ../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnStatus.o" -c -O3 -fno-tree-pre -fno-strict-aliasing -ftree-vectorize -ffast-math -funsafe-math-optimizations -Wall -O2 -DNDEBUG -I../Include -fPIC -fvisibility=hidden -o ../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnStatus.o XnStatus.cpp g++ -MD -MP -MT "./../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnStrings.d ../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnStrings.o" -c -O3 -fno-tree-pre -fno-strict-aliasing -ftree-vectorize -ffast-math -funsafe-math-optimizations -Wall -O2 -DNDEBUG -I../Include -fPIC -fvisibility=hidden -o ../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnStrings.o XnStrings.cpp g++ -MD -MP -MT "./../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnSytmmetricMatrix3x3.d ../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnSytmmetricMatrix3x3.o" -c -O3 -fno-tree-pre -fno-strict-aliasing -ftree-vectorize -ffast-math -funsafe-math-optimizations -Wall -O2 -DNDEBUG -I../Include -fPIC -fvisibility=hidden -o ../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnSytmmetricMatrix3x3.o XnSytmmetricMatrix3x3.cpp g++ -MD -MP -MT "./../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnThreads.d ../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnThreads.o" -c -O3 -fno-tree-pre -fno-strict-aliasing -ftree-vectorize -ffast-math -funsafe-math-optimizations -Wall -O2 -DNDEBUG -I../Include -fPIC -fvisibility=hidden -o ../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnThreads.o XnThreads.cpp g++ -MD -MP -MT "./../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnUSB.d ../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnUSB.o" -c -O3 -fno-tree-pre -fno-strict-aliasing -ftree-vectorize -ffast-math -funsafe-math-optimizations -Wall -O2 -DNDEBUG -I../Include -fPIC -fvisibility=hidden -o ../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnUSB.o XnUSB.cpp g++ -MD -MP -MT "./../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnVector3D.d ../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnVector3D.o" -c -O3 -fno-tree-pre -fno-strict-aliasing -ftree-vectorize -ffast-math -funsafe-math-optimizations -Wall -O2 -DNDEBUG -I../Include -fPIC -fvisibility=hidden -o ../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnVector3D.o XnVector3D.cpp g++ -MD -MP -MT "./../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLinuxCriticalSections.d ../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLinuxCriticalSections.o" -c -O3 -fno-tree-pre -fno-strict-aliasing -ftree-vectorize -ffast-math -funsafe-math-optimizations -Wall -O2 -DNDEBUG -I../Include -fPIC -fvisibility=hidden -o ../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLinuxCriticalSections.o Linux/XnLinuxCriticalSections.cpp g++ -MD -MP -MT "./../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLinuxDebug.d ../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLinuxDebug.o" -c -O3 -fno-tree-pre -fno-strict-aliasing -ftree-vectorize -ffast-math -funsafe-math-optimizations -Wall -O2 -DNDEBUG -I../Include -fPIC -fvisibility=hidden -o ../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLinuxDebug.o Linux/XnLinuxDebug.cpp g++ -MD -MP -MT "./../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLinuxEvents.d ../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLinuxEvents.o" -c -O3 -fno-tree-pre -fno-strict-aliasing -ftree-vectorize -ffast-math -funsafe-math-optimizations -Wall -O2 -DNDEBUG -I../Include -fPIC -fvisibility=hidden -o ../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLinuxEvents.o Linux/XnLinuxEvents.cpp g++ -MD -MP -MT "./../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLinuxFiles.d ../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLinuxFiles.o" -c -O3 -fno-tree-pre -fno-strict-aliasing -ftree-vectorize -ffast-math -funsafe-math-optimizations -Wall -O2 -DNDEBUG -I../Include -fPIC -fvisibility=hidden -o ../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLinuxFiles.o Linux/XnLinuxFiles.cpp g++ -MD -MP -MT "./../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLinuxINI.d ../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLinuxINI.o" -c -O3 -fno-tree-pre -fno-strict-aliasing -ftree-vectorize -ffast-math -funsafe-math-optimizations -Wall -O2 -DNDEBUG -I../Include -fPIC -fvisibility=hidden -o ../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLinuxINI.o Linux/XnLinuxINI.cpp g++ -MD -MP -MT "./../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLinuxKeyboard.d ../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLinuxKeyboard.o" -c -O3 -fno-tree-pre -fno-strict-aliasing -ftree-vectorize -ffast-math -funsafe-math-optimizations -Wall -O2 -DNDEBUG -I../Include -fPIC -fvisibility=hidden -o ../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLinuxKeyboard.o Linux/XnLinuxKeyboard.cpp g++ -MD -MP -MT "./../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLinuxMemory.d ../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLinuxMemory.o" -c -O3 -fno-tree-pre -fno-strict-aliasing -ftree-vectorize -ffast-math -funsafe-math-optimizations -Wall -O2 -DNDEBUG -I../Include -fPIC -fvisibility=hidden -o ../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLinuxMemory.o Linux/XnLinuxMemory.cpp g++ -MD -MP -MT "./../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLinuxMutex.d ../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLinuxMutex.o" -c -O3 -fno-tree-pre -fno-strict-aliasing -ftree-vectorize -ffast-math -funsafe-math-optimizations -Wall -O2 -DNDEBUG -I../Include -fPIC -fvisibility=hidden -o ../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLinuxMutex.o Linux/XnLinuxMutex.cpp g++ -MD -MP -MT "./../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLinuxNetwork.d ../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLinuxNetwork.o" -c -O3 -fno-tree-pre -fno-strict-aliasing -ftree-vectorize -ffast-math -funsafe-math-optimizations -Wall -O2 -DNDEBUG -I../Include -fPIC -fvisibility=hidden -o ../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLinuxNetwork.o Linux/XnLinuxNetwork.cpp g++ -MD -MP -MT "./../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLinuxPosixEvents.d ../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLinuxPosixEvents.o" -c -O3 -fno-tree-pre -fno-strict-aliasing -ftree-vectorize -ffast-math -funsafe-math-optimizations -Wall -O2 -DNDEBUG -I../Include -fPIC -fvisibility=hidden -o ../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLinuxPosixEvents.o Linux/XnLinuxPosixEvents.cpp g++ -MD -MP -MT "./../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLinuxPosixNamedEvents.d ../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLinuxPosixNamedEvents.o" -c -O3 -fno-tree-pre -fno-strict-aliasing -ftree-vectorize -ffast-math -funsafe-math-optimizations -Wall -O2 -DNDEBUG -I../Include -fPIC -fvisibility=hidden -o ../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLinuxPosixNamedEvents.o Linux/XnLinuxPosixNamedEvents.cpp g++ -MD -MP -MT "./../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLinuxProcesses.d ../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLinuxProcesses.o" -c -O3 -fno-tree-pre -fno-strict-aliasing -ftree-vectorize -ffast-math -funsafe-math-optimizations -Wall -O2 -DNDEBUG -I../Include -fPIC -fvisibility=hidden -o ../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLinuxProcesses.o Linux/XnLinuxProcesses.cpp g++ -MD -MP -MT "./../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLinuxSharedLibs.d ../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLinuxSharedLibs.o" -c -O3 -fno-tree-pre -fno-strict-aliasing -ftree-vectorize -ffast-math -funsafe-math-optimizations -Wall -O2 -DNDEBUG -I../Include -fPIC -fvisibility=hidden -o ../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLinuxSharedLibs.o Linux/XnLinuxSharedLibs.cpp g++ -MD -MP -MT "./../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLinuxSharedMemory.d ../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLinuxSharedMemory.o" -c -O3 -fno-tree-pre -fno-strict-aliasing -ftree-vectorize -ffast-math -funsafe-math-optimizations -Wall -O2 -DNDEBUG -I../Include -fPIC -fvisibility=hidden -o ../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLinuxSharedMemory.o Linux/XnLinuxSharedMemory.cpp g++ -MD -MP -MT "./../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLinuxStrings.d ../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLinuxStrings.o" -c -O3 -fno-tree-pre -fno-strict-aliasing -ftree-vectorize -ffast-math -funsafe-math-optimizations -Wall -O2 -DNDEBUG -I../Include -fPIC -fvisibility=hidden -o ../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLinuxStrings.o Linux/XnLinuxStrings.cpp g++ -MD -MP -MT "./../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLinuxSysVNamedEvents.d ../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLinuxSysVNamedEvents.o" -c -O3 -fno-tree-pre -fno-strict-aliasing -ftree-vectorize -ffast-math -funsafe-math-optimizations -Wall -O2 -DNDEBUG -I../Include -fPIC -fvisibility=hidden -o ../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLinuxSysVNamedEvents.o Linux/XnLinuxSysVNamedEvents.cpp g++ -MD -MP -MT "./../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLinuxThreads.d ../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLinuxThreads.o" -c -O3 -fno-tree-pre -fno-strict-aliasing -ftree-vectorize -ffast-math -funsafe-math-optimizations -Wall -O2 -DNDEBUG -I../Include -fPIC -fvisibility=hidden -o ../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLinuxThreads.o Linux/XnLinuxThreads.cpp g++ -MD -MP -MT "./../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLinuxTime.d ../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLinuxTime.o" -c -O3 -fno-tree-pre -fno-strict-aliasing -ftree-vectorize -ffast-math -funsafe-math-optimizations -Wall -O2 -DNDEBUG -I../Include -fPIC -fvisibility=hidden -o ../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLinuxTime.o Linux/XnLinuxTime.cpp g++ -MD -MP -MT "./../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLinuxUSB.d ../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLinuxUSB.o" -c -O3 -fno-tree-pre -fno-strict-aliasing -ftree-vectorize -ffast-math -funsafe-math-optimizations -Wall -O2 -DNDEBUG -I../Include -fPIC -fvisibility=hidden -o ../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLinuxUSB.o Linux/XnLinuxUSB.cpp g++ -MD -MP -MT "./../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLinuxUSBDevice.d ../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLinuxUSBDevice.o" -c -O3 -fno-tree-pre -fno-strict-aliasing -ftree-vectorize -ffast-math -funsafe-math-optimizations -Wall -O2 -DNDEBUG -I../Include -fPIC -fvisibility=hidden -o ../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLinuxUSBDevice.o Linux/XnLinuxUSBDevice.cpp ar -cq ../Bin/Aarch64-Release/libXnLib.a ./../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnDump.o ./../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnDumpFileWriter.o ./../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnErrorLogger.o ./../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnFPSCalculator.o ./../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnFiles.o ./../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLib.o ./../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLog.o ./../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLogAndroidWriter.o ./../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLogConsoleWriter.o ./../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLogFileWriter.o ./../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnOS.o ./../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnOSMemoryProfiling.o ./../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnProfiling.o ./../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnScheduler.o ./../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnStatus.o ./../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnStrings.o ./../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnSytmmetricMatrix3x3.o ./../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnThreads.o ./../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnUSB.o ./../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnVector3D.o ./../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLinuxCriticalSections.o ./../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLinuxDebug.o ./../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLinuxEvents.o ./../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLinuxFiles.o ./../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLinuxINI.o ./../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLinuxKeyboard.o ./../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLinuxMemory.o ./../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLinuxMutex.o ./../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLinuxNetwork.o ./../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLinuxPosixEvents.o ./../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLinuxPosixNamedEvents.o ./../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLinuxProcesses.o ./../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLinuxSharedLibs.o ./../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLinuxSharedMemory.o ./../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLinuxStrings.o ./../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLinuxSysVNamedEvents.o ./../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLinuxThreads.o ./../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLinuxTime.o ./../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLinuxUSB.o ./../Bin/Intermediate/Aarch64-Release/libXnLib.a/XnLinuxUSBDevice.o make[1]: Leaving directory '/builddir/build/BUILD/openni2-camera-2.0.3-1/OpenNI2-2.2.0.33/ThirdParty/PSCommon/XnLib/Source' make -C Source/Core make[1]: Entering directory '/builddir/build/BUILD/openni2-camera-2.0.3-1/OpenNI2-2.2.0.33/Source/Core' mkdir -p ../../Bin/Intermediate/Aarch64-Release/libOpenNI2.so mkdir -p ../../Bin/Aarch64-Release g++ -MD -MP -MT "./../../Bin/Intermediate/Aarch64-Release/libOpenNI2.so/OniContext.d ../../Bin/Intermediate/Aarch64-Release/libOpenNI2.so/OniContext.o" -c -O3 -fno-tree-pre -fno-strict-aliasing -ftree-vectorize -ffast-math -funsafe-math-optimizations -Wall -O2 -DNDEBUG -I../../Include -I../../ThirdParty/PSCommon/XnLib/Include -I../Drivers/OniFile/Formats -I../../ThirdParty/LibJPEG -DOPENNI2_EXPORT -fPIC -fvisibility=hidden -o ../../Bin/Intermediate/Aarch64-Release/libOpenNI2.so/OniContext.o OniContext.cpp g++ -MD -MP -MT "./../../Bin/Intermediate/Aarch64-Release/libOpenNI2.so/OniDataRecords.d ../../Bin/Intermediate/Aarch64-Release/libOpenNI2.so/OniDataRecords.o" -c -O3 -fno-tree-pre -fno-strict-aliasing -ftree-vectorize -ffast-math -funsafe-math-optimizations -Wall -O2 -DNDEBUG -I../../Include -I../../ThirdParty/PSCommon/XnLib/Include -I../Drivers/OniFile/Formats -I../../ThirdParty/LibJPEG -DOPENNI2_EXPORT -fPIC -fvisibility=hidden -o ../../Bin/Intermediate/Aarch64-Release/libOpenNI2.so/OniDataRecords.o OniDataRecords.cpp g++ -MD -MP -MT "./../../Bin/Intermediate/Aarch64-Release/libOpenNI2.so/OniDevice.d ../../Bin/Intermediate/Aarch64-Release/libOpenNI2.so/OniDevice.o" -c -O3 -fno-tree-pre -fno-strict-aliasing -ftree-vectorize -ffast-math -funsafe-math-optimizations -Wall -O2 -DNDEBUG -I../../Include -I../../ThirdParty/PSCommon/XnLib/Include -I../Drivers/OniFile/Formats -I../../ThirdParty/LibJPEG -DOPENNI2_EXPORT -fPIC -fvisibility=hidden -o ../../Bin/Intermediate/Aarch64-Release/libOpenNI2.so/OniDevice.o OniDevice.cpp g++ -MD -MP -MT "./../../Bin/Intermediate/Aarch64-Release/libOpenNI2.so/OniDeviceDriver.d ../../Bin/Intermediate/Aarch64-Release/libOpenNI2.so/OniDeviceDriver.o" -c -O3 -fno-tree-pre -fno-strict-aliasing -ftree-vectorize -ffast-math -funsafe-math-optimizations -Wall -O2 -DNDEBUG -I../../Include -I../../ThirdParty/PSCommon/XnLib/Include -I../Drivers/OniFile/Formats -I../../ThirdParty/LibJPEG -DOPENNI2_EXPORT -fPIC -fvisibility=hidden -o ../../Bin/Intermediate/Aarch64-Release/libOpenNI2.so/OniDeviceDriver.o OniDeviceDriver.cpp In file included from ../../Include/OniCAPI.h:24, from OniDriverHandler.h:24, from OniStream.h:24, from OniContext.h:21, from OniContext.cpp:21: ../../Include/OniPlatform.h:49:9: error: #error Xiron Platform Abstraction Layer - Unsupported Platform! 49 | # error Xiron Platform Abstraction Layer - Unsupported Platform! | ^~~~~ In file included from ../../Include/OniCAPI.h:24, from OniDriverHandler.h:24, from OniDevice.h:24, from OniDevice.cpp:21: ../../Include/OniPlatform.h:49:9: error: #error Xiron Platform Abstraction Layer - Unsupported Platform! 49 | # error Xiron Platform Abstraction Layer - Unsupported Platform! | ^~~~~ In file included from ../../Include/OniCAPI.h:24, from OniDriverHandler.h:24, from OniDeviceDriver.h:24, from OniDeviceDriver.cpp:21: ../../Include/OniPlatform.h:49:9: error: #error Xiron Platform Abstraction Layer - Unsupported Platform! 49 | # error Xiron Platform Abstraction Layer - Unsupported Platform! | ^~~~~ In file included from ../../Include/OniCTypes.h:24, from OniDataRecords.h:28, from OniDataRecords.cpp:21: ../../Include/OniPlatform.h:49:9: error: #error Xiron Platform Abstraction Layer - Unsupported Platform! 49 | # error Xiron Platform Abstraction Layer - Unsupported Platform! | ^~~~~ In file included from ../../Include/OniCAPI.h:25: ../../Include/OniCTypes.h:81:9: error: 'uint16_t' does not name a type 81 | uint16_t usbVendorId; | ^~~~~~~~ ../../Include/OniCTypes.h:26:1: note: 'uint16_t' is defined in header ''; did you forget to '#include '? 25 | #include "OniCEnums.h" +++ |+#include 26 | ../../Include/OniCTypes.h:82:9: error: 'uint16_t' does not name a type 82 | uint16_t usbProductId; | ^~~~~~~~ ../../Include/OniCTypes.h:82:9: note: 'uint16_t' is defined in header ''; did you forget to '#include '? ../../Include/OniCTypes.h:101:9: error: 'uint64_t' does not name a type 101 | uint64_t timestamp; | ^~~~~~~~ ../../Include/OniCTypes.h:101:9: note: 'uint64_t' is defined in header ''; did you forget to '#include '? ../../Include/OniCTypes.h:115:32: error: expected ')' before '*' token 115 | typedef void (ONI_CALLBACK_TYPE* OniNewFrameCallback)(OniStreamHandle stream, void* pCookie); | ~ ^ | ) ../../Include/OniCTypes.h:116:32: error: expected ')' before '*' token 116 | typedef void (ONI_CALLBACK_TYPE* OniGeneralCallback)(void* pCookie); | ~ ^ | ) ../../Include/OniCTypes.h:117:32: error: expected ')' before '*' token 117 | typedef void (ONI_CALLBACK_TYPE* OniDeviceInfoCallback)(const OniDeviceInfo* pInfo, void* pCookie); | ~ ^ | ) ../../Include/OniCTypes.h:118:32: error: expected ')' before '*' token 118 | typedef void (ONI_CALLBACK_TYPE* OniDeviceStateCallback)(const OniDeviceInfo* pInfo, OniDeviceState deviceState, void* pCookie); | ~ ^ | ) ../../Include/OniCTypes.h:120:33: error: expected ')' before '*' token 120 | typedef void* (ONI_CALLBACK_TYPE* OniFrameAllocBufferCallback)(int size, void* pCookie); | ~ ^ | ) ../../Include/OniCTypes.h:121:32: error: expected ')' before '*' token 121 | typedef void (ONI_CALLBACK_TYPE* OniFrameFreeBufferCallback)(void* data, void* pCookie); | ~ ^ | ) In file included from ../../Include/OniCAPI.h:25: ../../Include/OniCTypes.h:81:9: error: 'uint16_t' does not name a type 81 | uint16_t usbVendorId; | ^~~~~~~~ ../../Include/OniCTypes.h:26:1: note: 'uint16_t' is defined in header ''; did you forget to '#include '? 25 | #include "OniCEnums.h" +++ |+#include 26 | ../../Include/OniCTypes.h:82:9: error: 'uint16_t' does not name a type 82 | uint16_t usbProductId; | ^~~~~~~~ ../../Include/OniCTypes.h:82:9: note: 'uint16_t' is defined in header ''; did you forget to '#include '? ../../Include/OniCTypes.h:101:9: error: 'uint64_t' does not name a type 101 | uint64_t timestamp; | ^~~~~~~~ ../../Include/OniCTypes.h:101:9: note: 'uint64_t' is defined in header ''; did you forget to '#include '? ../../Include/OniCTypes.h:115:32: error: expected ')' before '*' token 115 | typedef void (ONI_CALLBACK_TYPE* OniNewFrameCallback)(OniStreamHandle stream, void* pCookie); | ~ ^ | ) ../../Include/OniCTypes.h:116:32: error: expected ')' before '*' token 116 | typedef void (ONI_CALLBACK_TYPE* OniGeneralCallback)(void* pCookie); | ~ ^ | ) ../../Include/OniCTypes.h:117:32: error: expected ')' before '*' token 117 | typedef void (ONI_CALLBACK_TYPE* OniDeviceInfoCallback)(const OniDeviceInfo* pInfo, void* pCookie); | ~ ^ | ) ../../Include/OniCTypes.h:118:32: error: expected ')' before '*' token 118 | typedef void (ONI_CALLBACK_TYPE* OniDeviceStateCallback)(const OniDeviceInfo* pInfo, OniDeviceState deviceState, void* pCookie); | ~ ^ | ) ../../Include/OniCTypes.h:120:33: error: expected ')' before '*' token 120 | typedef void* (ONI_CALLBACK_TYPE* OniFrameAllocBufferCallback)(int size, void* pCookie); | ~ ^ | ) ../../Include/OniCTypes.h:121:32: error: expected ')' before '*' token 121 | typedef void (ONI_CALLBACK_TYPE* OniFrameFreeBufferCallback)(void* data, void* pCookie); | ~ ^ | ) ../../Include/OniCTypes.h:125:9: error: 'OniDeviceInfoCallback' does not name a type 125 | OniDeviceInfoCallback deviceConnected; | ^~~~~~~~~~~~~~~~~~~~~ ../../Include/OniCTypes.h:126:9: error: 'OniDeviceInfoCallback' does not name a type 126 | OniDeviceInfoCallback deviceDisconnected; | ^~~~~~~~~~~~~~~~~~~~~ ../../Include/OniCTypes.h:125:9: error: 'OniDeviceInfoCallback' does not name a type 125 | OniDeviceInfoCallback deviceConnected; | ^~~~~~~~~~~~~~~~~~~~~ ../../Include/OniCTypes.h:127:9: error: 'OniDeviceStateCallback' does not name a type; did you mean 'OniDeviceState'? 127 | OniDeviceStateCallback deviceStateChanged; | ^~~~~~~~~~~~~~~~~~~~~~ | OniDeviceState ../../Include/OniCTypes.h:143:9: error: 'uint16_t' does not name a type 143 | typedef uint16_t OniDepthPixel; | ^~~~~~~~ ../../Include/OniCTypes.h:143:9: note: 'uint16_t' is defined in header ''; did you forget to '#include '? ../../Include/OniCTypes.h:148:9: error: 'uint16_t' does not name a type 148 | typedef uint16_t OniGrayscale16Pixel; | ^~~~~~~~ ../../Include/OniCTypes.h:148:9: note: 'uint16_t' is defined in header ''; did you forget to '#include '? ../../Include/OniCTypes.h:153:9: error: 'uint8_t' does not name a type 153 | typedef uint8_t OniGrayscale8Pixel; | ^~~~~~~ ../../Include/OniCTypes.h:153:9: note: 'uint8_t' is defined in header ''; did you forget to '#include '? ../../Include/OniCTypes.h:161:9: error: 'uint8_t' does not name a type 161 | uint8_t r; | ^~~~~~~ ../../Include/OniCTypes.h:161:9: note: 'uint8_t' is defined in header ''; did you forget to '#include '? ../../Include/OniCTypes.h:163:9: error: 'uint8_t' does not name a type 163 | uint8_t g; | ^~~~~~~ ../../Include/OniCTypes.h:163:9: note: 'uint8_t' is defined in header ''; did you forget to '#include '? ../../Include/OniCTypes.h:165:9: error: 'uint8_t' does not name a type 165 | uint8_t b; | ^~~~~~~ ../../Include/OniCTypes.h:165:9: note: 'uint8_t' is defined in header ''; did you forget to '#include '? ../../Include/OniCTypes.h:176:9: error: 'uint8_t' does not name a type 176 | uint8_t u; | ^~~~~~~ ../../Include/OniCTypes.h:176:9: note: 'uint8_t' is defined in header ''; did you forget to '#include '? ../../Include/OniCTypes.h:178:9: error: 'uint8_t' does not name a type 178 | uint8_t y1; | ^~~~~~~ ../../Include/OniCTypes.h:178:9: note: 'uint8_t' is defined in header ''; did you forget to '#include '? ../../Include/OniCTypes.h:180:9: error: 'uint8_t' does not name a type 180 | uint8_t v; | ^~~~~~~ ../../Include/OniCTypes.h:180:9: note: 'uint8_t' is defined in header ''; did you forget to '#include '? ../../Include/OniCTypes.h:182:9: error: 'uint8_t' does not name a type 182 | uint8_t y2; | ^~~~~~~ ../../Include/OniCTypes.h:182:9: note: 'uint8_t' is defined in header ''; did you forget to '#include '? ../../Include/OniCTypes.h:126:9: error: 'OniDeviceInfoCallback' does not name a type 126 | OniDeviceInfoCallback deviceDisconnected; | ^~~~~~~~~~~~~~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:32:1: note: in expansion of macro 'ONI_C_API' 32 | ONI_C_API OniStatus oniInitialize(int apiVersion); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:34:1: note: in expansion of macro 'ONI_C_API' 34 | ONI_C_API void oniShutdown(); | ^~~~~~~~~ ../../Include/OniCTypes.h:127:9: error: 'OniDeviceStateCallback' does not name a type; did you mean 'OniDeviceState'? 127 | OniDeviceStateCallback deviceStateChanged; | ^~~~~~~~~~~~~~~~~~~~~~ | OniDeviceState ../../Include/OniCTypes.h:143:9: error: 'uint16_t' does not name a type 143 | typedef uint16_t OniDepthPixel; | ^~~~~~~~ ../../Include/OniCTypes.h:143:9: note: 'uint16_t' is defined in header ''; did you forget to '#include '? ../../Include/OniCTypes.h:148:9: error: 'uint16_t' does not name a type 148 | typedef uint16_t OniGrayscale16Pixel; | ^~~~~~~~ ../../Include/OniCTypes.h:148:9: note: 'uint16_t' is defined in header ''; did you forget to '#include '? ../../Include/OniCTypes.h:153:9: error: 'uint8_t' does not name a type 153 | typedef uint8_t OniGrayscale8Pixel; | ^~~~~~~ ../../Include/OniCTypes.h:153:9: note: 'uint8_t' is defined in header ''; did you forget to '#include '? ../../Include/OniCTypes.h:161:9: error: 'uint8_t' does not name a type 161 | uint8_t r; | ^~~~~~~ ../../Include/OniCTypes.h:161:9: note: 'uint8_t' is defined in header ''; did you forget to '#include '? ../../Include/OniCTypes.h:163:9: error: 'uint8_t' does not name a type 163 | uint8_t g; | ^~~~~~~ ../../Include/OniCTypes.h:163:9: note: 'uint8_t' is defined in header ''; did you forget to '#include '? ../../Include/OniCTypes.h:165:9: error: 'uint8_t' does not name a type 165 | uint8_t b; | ^~~~~~~ ../../Include/OniCTypes.h:165:9: note: 'uint8_t' is defined in header ''; did you forget to '#include '? ../../Include/OniCTypes.h:176:9: error: 'uint8_t' does not name a type 176 | uint8_t u; | ^~~~~~~ ../../Include/OniCTypes.h:176:9: note: 'uint8_t' is defined in header ''; did you forget to '#include '? ../../Include/OniCTypes.h:178:9: error: 'uint8_t' does not name a type 178 | uint8_t y1; | ^~~~~~~ ../../Include/OniCTypes.h:178:9: note: 'uint8_t' is defined in header ''; did you forget to '#include '? ../../Include/OniCTypes.h:180:9: error: 'uint8_t' does not name a type 180 | uint8_t v; | ^~~~~~~ ../../Include/OniCTypes.h:180:9: note: 'uint8_t' is defined in header ''; did you forget to '#include '? ../../Include/OniCTypes.h:182:9: error: 'uint8_t' does not name a type 182 | uint8_t y2; | ^~~~~~~ ../../Include/OniCTypes.h:182:9: note: 'uint8_t' is defined in header ''; did you forget to '#include '? ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:41:1: note: in expansion of macro 'ONI_C_API' 41 | ONI_C_API OniStatus oniGetDeviceList(OniDeviceInfo** pDevices, int* pNumDevices); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:32:1: note: in expansion of macro 'ONI_C_API' 32 | ONI_C_API OniStatus oniInitialize(int apiVersion); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:43:1: note: in expansion of macro 'ONI_C_API' 43 | ONI_C_API OniStatus oniReleaseDeviceList(OniDeviceInfo* pDevices); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:34:1: note: in expansion of macro 'ONI_C_API' 34 | ONI_C_API void oniShutdown(); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:45:1: note: in expansion of macro 'ONI_C_API' 45 | ONI_C_API OniStatus oniRegisterDeviceCallbacks(OniDeviceCallbacks* pCallbacks, void* pCookie, OniCallbackHandle* pHandle); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:41:1: note: in expansion of macro 'ONI_C_API' 41 | ONI_C_API OniStatus oniGetDeviceList(OniDeviceInfo** pDevices, int* pNumDevices); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:46:1: note: in expansion of macro 'ONI_C_API' 46 | ONI_C_API void oniUnregisterDeviceCallbacks(OniCallbackHandle handle); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:43:1: note: in expansion of macro 'ONI_C_API' 43 | ONI_C_API OniStatus oniReleaseDeviceList(OniDeviceInfo* pDevices); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:49:1: note: in expansion of macro 'ONI_C_API' 49 | ONI_C_API OniStatus oniWaitForAnyStream(OniStreamHandle* pStreams, int numStreams, int* pStreamIndex, int timeout); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:45:1: note: in expansion of macro 'ONI_C_API' 45 | ONI_C_API OniStatus oniRegisterDeviceCallbacks(OniDeviceCallbacks* pCallbacks, void* pCookie, OniCallbackHandle* pHandle); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:52:1: note: in expansion of macro 'ONI_C_API' 52 | ONI_C_API OniVersion oniGetVersion(); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:46:1: note: in expansion of macro 'ONI_C_API' 46 | ONI_C_API void oniUnregisterDeviceCallbacks(OniCallbackHandle handle); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:55:1: note: in expansion of macro 'ONI_C_API' 55 | ONI_C_API int oniFormatBytesPerPixel(OniPixelFormat format); | ^~~~~~~~~ In file included from ../../Include/OniCAPI.h:25: ../../Include/OniCTypes.h:81:9: error: 'uint16_t' does not name a type 81 | uint16_t usbVendorId; | ^~~~~~~~ ../../Include/OniCTypes.h:26:1: note: 'uint16_t' is defined in header ''; did you forget to '#include '? 25 | #include "OniCEnums.h" +++ |+#include 26 | ../../Include/OniCTypes.h:82:9: error: 'uint16_t' does not name a type 82 | uint16_t usbProductId; | ^~~~~~~~ ../../Include/OniCTypes.h:82:9: note: 'uint16_t' is defined in header ''; did you forget to '#include '? ../../Include/OniCTypes.h:101:9: error: 'uint64_t' does not name a type 101 | uint64_t timestamp; | ^~~~~~~~ ../../Include/OniCTypes.h:101:9: note: 'uint64_t' is defined in header ''; did you forget to '#include '? ../../Include/OniCTypes.h:115:32: error: expected ')' before '*' token 115 | typedef void (ONI_CALLBACK_TYPE* OniNewFrameCallback)(OniStreamHandle stream, void* pCookie); | ~ ^ | ) ../../Include/OniCTypes.h:116:32: error: expected ')' before '*' token 116 | typedef void (ONI_CALLBACK_TYPE* OniGeneralCallback)(void* pCookie); | ~ ^ | ) ../../Include/OniCTypes.h:117:32: error: expected ')' before '*' token 117 | typedef void (ONI_CALLBACK_TYPE* OniDeviceInfoCallback)(const OniDeviceInfo* pInfo, void* pCookie); | ~ ^ | ) ../../Include/OniCTypes.h:118:32: error: expected ')' before '*' token 118 | typedef void (ONI_CALLBACK_TYPE* OniDeviceStateCallback)(const OniDeviceInfo* pInfo, OniDeviceState deviceState, void* pCookie); | ~ ^ | ) ../../Include/OniCTypes.h:120:33: error: expected ')' before '*' token 120 | typedef void* (ONI_CALLBACK_TYPE* OniFrameAllocBufferCallback)(int size, void* pCookie); | ~ ^ | ) ../../Include/OniCTypes.h:121:32: error: expected ')' before '*' token 121 | typedef void (ONI_CALLBACK_TYPE* OniFrameFreeBufferCallback)(void* data, void* pCookie); | ~ ^ | ) ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:49:1: note: in expansion of macro 'ONI_C_API' 49 | ONI_C_API OniStatus oniWaitForAnyStream(OniStreamHandle* pStreams, int numStreams, int* pStreamIndex, int timeout); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:58:1: note: in expansion of macro 'ONI_C_API' 58 | ONI_C_API const char* oniGetExtendedError(); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:52:1: note: in expansion of macro 'ONI_C_API' 52 | ONI_C_API OniVersion oniGetVersion(); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:63:1: note: in expansion of macro 'ONI_C_API' 63 | ONI_C_API OniStatus oniDeviceOpen(const char* uri, OniDeviceHandle* pDevice); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:55:1: note: in expansion of macro 'ONI_C_API' 55 | ONI_C_API int oniFormatBytesPerPixel(OniPixelFormat format); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:65:1: note: in expansion of macro 'ONI_C_API' 65 | ONI_C_API OniStatus oniDeviceClose(OniDeviceHandle device); | ^~~~~~~~~ ../../Include/OniCTypes.h:125:9: error: 'OniDeviceInfoCallback' does not name a type 125 | OniDeviceInfoCallback deviceConnected; | ^~~~~~~~~~~~~~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:68:1: note: in expansion of macro 'ONI_C_API' 68 | ONI_C_API const OniSensorInfo* oniDeviceGetSensorInfo(OniDeviceHandle device, OniSensorType sensorType); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:58:1: note: in expansion of macro 'ONI_C_API' 58 | ONI_C_API const char* oniGetExtendedError(); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:71:1: note: in expansion of macro 'ONI_C_API' 71 | ONI_C_API OniStatus oniDeviceGetInfo(OniDeviceHandle device, OniDeviceInfo* pInfo); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:63:1: note: in expansion of macro 'ONI_C_API' 63 | ONI_C_API OniStatus oniDeviceOpen(const char* uri, OniDeviceHandle* pDevice); | ^~~~~~~~~ ../../Include/OniCTypes.h:126:9: error: 'OniDeviceInfoCallback' does not name a type 126 | OniDeviceInfoCallback deviceDisconnected; | ^~~~~~~~~~~~~~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:74:1: note: in expansion of macro 'ONI_C_API' 74 | ONI_C_API OniStatus oniDeviceCreateStream(OniDeviceHandle device, OniSensorType sensorType, OniStreamHandle* pStream); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:65:1: note: in expansion of macro 'ONI_C_API' 65 | ONI_C_API OniStatus oniDeviceClose(OniDeviceHandle device); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:76:1: note: in expansion of macro 'ONI_C_API' 76 | ONI_C_API OniStatus oniDeviceEnableDepthColorSync(OniDeviceHandle device); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:68:1: note: in expansion of macro 'ONI_C_API' 68 | ONI_C_API const OniSensorInfo* oniDeviceGetSensorInfo(OniDeviceHandle device, OniSensorType sensorType); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:77:1: note: in expansion of macro 'ONI_C_API' 77 | ONI_C_API void oniDeviceDisableDepthColorSync(OniDeviceHandle device); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:71:1: note: in expansion of macro 'ONI_C_API' 71 | ONI_C_API OniStatus oniDeviceGetInfo(OniDeviceHandle device, OniDeviceInfo* pInfo); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:78:1: note: in expansion of macro 'ONI_C_API' 78 | ONI_C_API OniBool oniDeviceGetDepthColorSyncEnabled(OniDeviceHandle device); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:74:1: note: in expansion of macro 'ONI_C_API' 74 | ONI_C_API OniStatus oniDeviceCreateStream(OniDeviceHandle device, OniSensorType sensorType, OniStreamHandle* pStream); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:81:1: note: in expansion of macro 'ONI_C_API' 81 | ONI_C_API OniStatus oniDeviceSetProperty(OniDeviceHandle device, int propertyId, const void* data, int dataSize); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:76:1: note: in expansion of macro 'ONI_C_API' 76 | ONI_C_API OniStatus oniDeviceEnableDepthColorSync(OniDeviceHandle device); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:83:1: note: in expansion of macro 'ONI_C_API' 83 | ONI_C_API OniStatus oniDeviceGetProperty(OniDeviceHandle device, int propertyId, void* data, int* pDataSize); | ^~~~~~~~~ ../../Include/OniCTypes.h:127:9: error: 'OniDeviceStateCallback' does not name a type; did you mean 'OniDeviceState'? 127 | OniDeviceStateCallback deviceStateChanged; | ^~~~~~~~~~~~~~~~~~~~~~ | OniDeviceState ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:77:1: note: in expansion of macro 'ONI_C_API' 77 | ONI_C_API void oniDeviceDisableDepthColorSync(OniDeviceHandle device); | ^~~~~~~~~ ../../Include/OniCTypes.h:143:9: error: 'uint16_t' does not name a type 143 | typedef uint16_t OniDepthPixel; | ^~~~~~~~ ../../Include/OniCTypes.h:143:9: note: 'uint16_t' is defined in header ''; did you forget to '#include '? ../../Include/OniCTypes.h:148:9: error: 'uint16_t' does not name a type 148 | typedef uint16_t OniGrayscale16Pixel; | ^~~~~~~~ ../../Include/OniCTypes.h:148:9: note: 'uint16_t' is defined in header ''; did you forget to '#include '? ../../Include/OniCTypes.h:153:9: error: 'uint8_t' does not name a type 153 | typedef uint8_t OniGrayscale8Pixel; | ^~~~~~~ ../../Include/OniCTypes.h:153:9: note: 'uint8_t' is defined in header ''; did you forget to '#include '? ../../Include/OniCTypes.h:161:9: error: 'uint8_t' does not name a type 161 | uint8_t r; | ^~~~~~~ ../../Include/OniCTypes.h:161:9: note: 'uint8_t' is defined in header ''; did you forget to '#include '? ../../Include/OniCTypes.h:163:9: error: 'uint8_t' does not name a type 163 | uint8_t g; | ^~~~~~~ ../../Include/OniCTypes.h:163:9: note: 'uint8_t' is defined in header ''; did you forget to '#include '? ../../Include/OniCTypes.h:165:9: error: 'uint8_t' does not name a type 165 | uint8_t b; | ^~~~~~~ ../../Include/OniCTypes.h:165:9: note: 'uint8_t' is defined in header ''; did you forget to '#include '? ../../Include/OniCTypes.h:176:9: error: 'uint8_t' does not name a type 176 | uint8_t u; | ^~~~~~~ ../../Include/OniCTypes.h:176:9: note: 'uint8_t' is defined in header ''; did you forget to '#include '? ../../Include/OniCTypes.h:178:9: error: 'uint8_t' does not name a type 178 | uint8_t y1; | ^~~~~~~ ../../Include/OniCTypes.h:178:9: note: 'uint8_t' is defined in header ''; did you forget to '#include '? ../../Include/OniCTypes.h:180:9: error: 'uint8_t' does not name a type 180 | uint8_t v; | ^~~~~~~ ../../Include/OniCTypes.h:180:9: note: 'uint8_t' is defined in header ''; did you forget to '#include '? ../../Include/OniCTypes.h:182:9: error: 'uint8_t' does not name a type 182 | uint8_t y2; | ^~~~~~~ ../../Include/OniCTypes.h:182:9: note: 'uint8_t' is defined in header ''; did you forget to '#include '? ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:85:1: note: in expansion of macro 'ONI_C_API' 85 | ONI_C_API OniBool oniDeviceIsPropertySupported(OniDeviceHandle device, int propertyId); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:78:1: note: in expansion of macro 'ONI_C_API' 78 | ONI_C_API OniBool oniDeviceGetDepthColorSyncEnabled(OniDeviceHandle device); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:32:1: note: in expansion of macro 'ONI_C_API' 32 | ONI_C_API OniStatus oniInitialize(int apiVersion); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:87:1: note: in expansion of macro 'ONI_C_API' 87 | ONI_C_API OniStatus oniDeviceInvoke(OniDeviceHandle device, int commandId, void* data, int dataSize); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:81:1: note: in expansion of macro 'ONI_C_API' 81 | ONI_C_API OniStatus oniDeviceSetProperty(OniDeviceHandle device, int propertyId, const void* data, int dataSize); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:89:1: note: in expansion of macro 'ONI_C_API' 89 | ONI_C_API OniBool oniDeviceIsCommandSupported(OniDeviceHandle device, int commandId); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:34:1: note: in expansion of macro 'ONI_C_API' 34 | ONI_C_API void oniShutdown(); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:83:1: note: in expansion of macro 'ONI_C_API' 83 | ONI_C_API OniStatus oniDeviceGetProperty(OniDeviceHandle device, int propertyId, void* data, int* pDataSize); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:91:1: note: in expansion of macro 'ONI_C_API' 91 | ONI_C_API OniBool oniDeviceIsImageRegistrationModeSupported(OniDeviceHandle device, OniImageRegistrationMode mode); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:41:1: note: in expansion of macro 'ONI_C_API' 41 | ONI_C_API OniStatus oniGetDeviceList(OniDeviceInfo** pDevices, int* pNumDevices); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:85:1: note: in expansion of macro 'ONI_C_API' 85 | ONI_C_API OniBool oniDeviceIsPropertySupported(OniDeviceHandle device, int propertyId); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:94:1: note: in expansion of macro 'ONI_C_API' 94 | ONI_C_API OniStatus oniDeviceOpenEx(const char* uri, const char* mode, OniDeviceHandle* pDevice); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:43:1: note: in expansion of macro 'ONI_C_API' 43 | ONI_C_API OniStatus oniReleaseDeviceList(OniDeviceInfo* pDevices); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:87:1: note: in expansion of macro 'ONI_C_API' 87 | ONI_C_API OniStatus oniDeviceInvoke(OniDeviceHandle device, int commandId, void* data, int dataSize); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:99:1: note: in expansion of macro 'ONI_C_API' 99 | ONI_C_API void oniStreamDestroy(OniStreamHandle stream); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:45:1: note: in expansion of macro 'ONI_C_API' 45 | ONI_C_API OniStatus oniRegisterDeviceCallbacks(OniDeviceCallbacks* pCallbacks, void* pCookie, OniCallbackHandle* pHandle); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:89:1: note: in expansion of macro 'ONI_C_API' 89 | ONI_C_API OniBool oniDeviceIsCommandSupported(OniDeviceHandle device, int commandId); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:102:1: note: in expansion of macro 'ONI_C_API' 102 | ONI_C_API const OniSensorInfo* oniStreamGetSensorInfo(OniStreamHandle stream); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:91:1: note: in expansion of macro 'ONI_C_API' 91 | ONI_C_API OniBool oniDeviceIsImageRegistrationModeSupported(OniDeviceHandle device, OniImageRegistrationMode mode); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:105:1: note: in expansion of macro 'ONI_C_API' 105 | ONI_C_API OniStatus oniStreamStart(OniStreamHandle stream); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:94:1: note: in expansion of macro 'ONI_C_API' 94 | ONI_C_API OniStatus oniDeviceOpenEx(const char* uri, const char* mode, OniDeviceHandle* pDevice); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:107:1: note: in expansion of macro 'ONI_C_API' 107 | ONI_C_API void oniStreamStop(OniStreamHandle stream); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:99:1: note: in expansion of macro 'ONI_C_API' 99 | ONI_C_API void oniStreamDestroy(OniStreamHandle stream); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:110:1: note: in expansion of macro 'ONI_C_API' 110 | ONI_C_API OniStatus oniStreamReadFrame(OniStreamHandle stream, OniFrame** pFrame); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:102:1: note: in expansion of macro 'ONI_C_API' 102 | ONI_C_API const OniSensorInfo* oniStreamGetSensorInfo(OniStreamHandle stream); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:113:1: note: in expansion of macro 'ONI_C_API' 113 | ONI_C_API OniStatus oniStreamRegisterNewFrameCallback(OniStreamHandle stream, OniNewFrameCallback handler, void* pCookie, OniCallbackHandle* pHandle); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:105:1: note: in expansion of macro 'ONI_C_API' 105 | ONI_C_API OniStatus oniStreamStart(OniStreamHandle stream); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:115:1: note: in expansion of macro 'ONI_C_API' 115 | ONI_C_API void oniStreamUnregisterNewFrameCallback(OniStreamHandle stream, OniCallbackHandle handle); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:107:1: note: in expansion of macro 'ONI_C_API' 107 | ONI_C_API void oniStreamStop(OniStreamHandle stream); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:118:1: note: in expansion of macro 'ONI_C_API' 118 | ONI_C_API OniStatus oniStreamSetProperty(OniStreamHandle stream, int propertyId, const void* data, int dataSize); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:110:1: note: in expansion of macro 'ONI_C_API' 110 | ONI_C_API OniStatus oniStreamReadFrame(OniStreamHandle stream, OniFrame** pFrame); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:120:1: note: in expansion of macro 'ONI_C_API' 120 | ONI_C_API OniStatus oniStreamGetProperty(OniStreamHandle stream, int propertyId, void* data, int* pDataSize); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:113:1: note: in expansion of macro 'ONI_C_API' 113 | ONI_C_API OniStatus oniStreamRegisterNewFrameCallback(OniStreamHandle stream, OniNewFrameCallback handler, void* pCookie, OniCallbackHandle* pHandle); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:122:1: note: in expansion of macro 'ONI_C_API' 122 | ONI_C_API OniBool oniStreamIsPropertySupported(OniStreamHandle stream, int propertyId); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:124:1: note: in expansion of macro 'ONI_C_API' 124 | ONI_C_API OniStatus oniStreamInvoke(OniStreamHandle stream, int commandId, void* data, int dataSize); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:115:1: note: in expansion of macro 'ONI_C_API' 115 | ONI_C_API void oniStreamUnregisterNewFrameCallback(OniStreamHandle stream, OniCallbackHandle handle); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:126:1: note: in expansion of macro 'ONI_C_API' 126 | ONI_C_API OniBool oniStreamIsCommandSupported(OniStreamHandle stream, int commandId); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:118:1: note: in expansion of macro 'ONI_C_API' 118 | ONI_C_API OniStatus oniStreamSetProperty(OniStreamHandle stream, int propertyId, const void* data, int dataSize); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:128:1: note: in expansion of macro 'ONI_C_API' 128 | ONI_C_API OniStatus oniStreamSetFrameBuffersAllocator(OniStreamHandle stream, OniFrameAllocBufferCallback alloc, OniFrameFreeBufferCallback free, void* pCookie); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:120:1: note: in expansion of macro 'ONI_C_API' 120 | ONI_C_API OniStatus oniStreamGetProperty(OniStreamHandle stream, int propertyId, void* data, int* pDataSize); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:132:1: note: in expansion of macro 'ONI_C_API' 132 | ONI_C_API void oniFrameAddRef(OniFrame* pFrame); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:122:1: note: in expansion of macro 'ONI_C_API' 122 | ONI_C_API OniBool oniStreamIsPropertySupported(OniStreamHandle stream, int propertyId); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:46:1: note: in expansion of macro 'ONI_C_API' 46 | ONI_C_API void oniUnregisterDeviceCallbacks(OniCallbackHandle handle); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:134:1: note: in expansion of macro 'ONI_C_API' 134 | ONI_C_API void oniFrameRelease(OniFrame* pFrame); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:124:1: note: in expansion of macro 'ONI_C_API' 124 | ONI_C_API OniStatus oniStreamInvoke(OniStreamHandle stream, int commandId, void* data, int dataSize); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:49:1: note: in expansion of macro 'ONI_C_API' 49 | ONI_C_API OniStatus oniWaitForAnyStream(OniStreamHandle* pStreams, int numStreams, int* pStreamIndex, int timeout); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:146:1: note: in expansion of macro 'ONI_C_API' 146 | ONI_C_API OniStatus oniCreateRecorder(const char* fileName, OniRecorderHandle* pRecorder); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:126:1: note: in expansion of macro 'ONI_C_API' 126 | ONI_C_API OniBool oniStreamIsCommandSupported(OniStreamHandle stream, int commandId); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:52:1: note: in expansion of macro 'ONI_C_API' 52 | ONI_C_API OniVersion oniGetVersion(); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:158:1: note: in expansion of macro 'ONI_C_API' 158 | ONI_C_API OniStatus oniRecorderAttachStream( | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:128:1: note: in expansion of macro 'ONI_C_API' 128 | ONI_C_API OniStatus oniStreamSetFrameBuffersAllocator(OniStreamHandle stream, OniFrameAllocBufferCallback alloc, OniFrameFreeBufferCallback free, void* pCookie); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:55:1: note: in expansion of macro 'ONI_C_API' 55 | ONI_C_API int oniFormatBytesPerPixel(OniPixelFormat format); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:170:1: note: in expansion of macro 'ONI_C_API' 170 | ONI_C_API OniStatus oniRecorderStart(OniRecorderHandle recorder); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:132:1: note: in expansion of macro 'ONI_C_API' 132 | ONI_C_API void oniFrameAddRef(OniFrame* pFrame); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:58:1: note: in expansion of macro 'ONI_C_API' 58 | ONI_C_API const char* oniGetExtendedError(); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:178:1: note: in expansion of macro 'ONI_C_API' 178 | ONI_C_API void oniRecorderStop(OniRecorderHandle recorder); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:134:1: note: in expansion of macro 'ONI_C_API' 134 | ONI_C_API void oniFrameRelease(OniFrame* pFrame); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:187:1: note: in expansion of macro 'ONI_C_API' 187 | ONI_C_API OniStatus oniRecorderDestroy(OniRecorderHandle* pRecorder); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:146:1: note: in expansion of macro 'ONI_C_API' 146 | ONI_C_API OniStatus oniCreateRecorder(const char* fileName, OniRecorderHandle* pRecorder); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:189:1: note: in expansion of macro 'ONI_C_API' 189 | ONI_C_API OniStatus oniCoordinateConverterDepthToWorld(OniStreamHandle depthStream, float depthX, float depthY, float depthZ, float* pWorldX, float* pWorldY, float* pWorldZ); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:158:1: note: in expansion of macro 'ONI_C_API' 158 | ONI_C_API OniStatus oniRecorderAttachStream( | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:191:1: note: in expansion of macro 'ONI_C_API' 191 | ONI_C_API OniStatus oniCoordinateConverterWorldToDepth(OniStreamHandle depthStream, float worldX, float worldY, float worldZ, float* pDepthX, float* pDepthY, float* pDepthZ); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:170:1: note: in expansion of macro 'ONI_C_API' 170 | ONI_C_API OniStatus oniRecorderStart(OniRecorderHandle recorder); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:193:1: note: in expansion of macro 'ONI_C_API' 193 | ONI_C_API OniStatus oniCoordinateConverterDepthToColor(OniStreamHandle depthStream, OniStreamHandle colorStream, int depthX, int depthY, OniDepthPixel depthZ, int* pColorX, int* pColorY); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:178:1: note: in expansion of macro 'ONI_C_API' 178 | ONI_C_API void oniRecorderStop(OniRecorderHandle recorder); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:205:1: note: in expansion of macro 'ONI_C_API' 205 | ONI_C_API OniStatus oniSetLogOutputFolder(const char* strOutputFolder); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:187:1: note: in expansion of macro 'ONI_C_API' 187 | ONI_C_API OniStatus oniRecorderDestroy(OniRecorderHandle* pRecorder); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:216:1: note: in expansion of macro 'ONI_C_API' 216 | ONI_C_API OniStatus oniGetLogFileName(char* strFileName, int nBufferSize); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:63:1: note: in expansion of macro 'ONI_C_API' 63 | ONI_C_API OniStatus oniDeviceOpen(const char* uri, OniDeviceHandle* pDevice); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:189:1: note: in expansion of macro 'ONI_C_API' 189 | ONI_C_API OniStatus oniCoordinateConverterDepthToWorld(OniStreamHandle depthStream, float depthX, float depthY, float depthZ, float* pWorldX, float* pWorldY, float* pWorldZ); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:226:1: note: in expansion of macro 'ONI_C_API' 226 | ONI_C_API OniStatus oniSetLogMinSeverity(int nMinSeverity); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:65:1: note: in expansion of macro 'ONI_C_API' 65 | ONI_C_API OniStatus oniDeviceClose(OniDeviceHandle device); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:191:1: note: in expansion of macro 'ONI_C_API' 191 | ONI_C_API OniStatus oniCoordinateConverterWorldToDepth(OniStreamHandle depthStream, float worldX, float worldY, float worldZ, float* pDepthX, float* pDepthY, float* pDepthZ); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:236:1: note: in expansion of macro 'ONI_C_API' 236 | ONI_C_API OniStatus oniSetLogConsoleOutput(OniBool bConsoleOutput); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:68:1: note: in expansion of macro 'ONI_C_API' 68 | ONI_C_API const OniSensorInfo* oniDeviceGetSensorInfo(OniDeviceHandle device, OniSensorType sensorType); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:193:1: note: in expansion of macro 'ONI_C_API' 193 | ONI_C_API OniStatus oniCoordinateConverterDepthToColor(OniStreamHandle depthStream, OniStreamHandle colorStream, int depthX, int depthY, OniDepthPixel depthZ, int* pColorX, int* pColorY); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:246:1: note: in expansion of macro 'ONI_C_API' 246 | ONI_C_API OniStatus oniSetLogFileOutput(OniBool bFileOutput); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:71:1: note: in expansion of macro 'ONI_C_API' 71 | ONI_C_API OniStatus oniDeviceGetInfo(OniDeviceHandle device, OniDeviceInfo* pInfo); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:205:1: note: in expansion of macro 'ONI_C_API' 205 | ONI_C_API OniStatus oniSetLogOutputFolder(const char* strOutputFolder); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:74:1: note: in expansion of macro 'ONI_C_API' 74 | ONI_C_API OniStatus oniDeviceCreateStream(OniDeviceHandle device, OniSensorType sensorType, OniStreamHandle* pStream); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:216:1: note: in expansion of macro 'ONI_C_API' 216 | ONI_C_API OniStatus oniGetLogFileName(char* strFileName, int nBufferSize); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:76:1: note: in expansion of macro 'ONI_C_API' 76 | ONI_C_API OniStatus oniDeviceEnableDepthColorSync(OniDeviceHandle device); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:226:1: note: in expansion of macro 'ONI_C_API' 226 | ONI_C_API OniStatus oniSetLogMinSeverity(int nMinSeverity); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:236:1: note: in expansion of macro 'ONI_C_API' 236 | ONI_C_API OniStatus oniSetLogConsoleOutput(OniBool bConsoleOutput); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:77:1: note: in expansion of macro 'ONI_C_API' 77 | ONI_C_API void oniDeviceDisableDepthColorSync(OniDeviceHandle device); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:246:1: note: in expansion of macro 'ONI_C_API' 246 | ONI_C_API OniStatus oniSetLogFileOutput(OniBool bFileOutput); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:78:1: note: in expansion of macro 'ONI_C_API' 78 | ONI_C_API OniBool oniDeviceGetDepthColorSyncEnabled(OniDeviceHandle device); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:81:1: note: in expansion of macro 'ONI_C_API' 81 | ONI_C_API OniStatus oniDeviceSetProperty(OniDeviceHandle device, int propertyId, const void* data, int dataSize); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:83:1: note: in expansion of macro 'ONI_C_API' 83 | ONI_C_API OniStatus oniDeviceGetProperty(OniDeviceHandle device, int propertyId, void* data, int* pDataSize); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:85:1: note: in expansion of macro 'ONI_C_API' 85 | ONI_C_API OniBool oniDeviceIsPropertySupported(OniDeviceHandle device, int propertyId); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:87:1: note: in expansion of macro 'ONI_C_API' 87 | ONI_C_API OniStatus oniDeviceInvoke(OniDeviceHandle device, int commandId, void* data, int dataSize); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:89:1: note: in expansion of macro 'ONI_C_API' 89 | ONI_C_API OniBool oniDeviceIsCommandSupported(OniDeviceHandle device, int commandId); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:91:1: note: in expansion of macro 'ONI_C_API' 91 | ONI_C_API OniBool oniDeviceIsImageRegistrationModeSupported(OniDeviceHandle device, OniImageRegistrationMode mode); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:94:1: note: in expansion of macro 'ONI_C_API' 94 | ONI_C_API OniStatus oniDeviceOpenEx(const char* uri, const char* mode, OniDeviceHandle* pDevice); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:99:1: note: in expansion of macro 'ONI_C_API' 99 | ONI_C_API void oniStreamDestroy(OniStreamHandle stream); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:102:1: note: in expansion of macro 'ONI_C_API' 102 | ONI_C_API const OniSensorInfo* oniStreamGetSensorInfo(OniStreamHandle stream); | ^~~~~~~~~ ../../Include/OniCTypes.h:81:9: error: 'uint16_t' does not name a type 81 | uint16_t usbVendorId; | ^~~~~~~~ ../../Include/OniCTypes.h:26:1: note: 'uint16_t' is defined in header ''; did you forget to '#include '? 25 | #include "OniCEnums.h" +++ |+#include 26 | ../../Include/OniCTypes.h:82:9: error: 'uint16_t' does not name a type 82 | uint16_t usbProductId; | ^~~~~~~~ ../../Include/OniCTypes.h:82:9: note: 'uint16_t' is defined in header ''; did you forget to '#include '? ../../Include/OniCTypes.h:101:9: error: 'uint64_t' does not name a type 101 | uint64_t timestamp; | ^~~~~~~~ ../../Include/OniCTypes.h:101:9: note: 'uint64_t' is defined in header ''; did you forget to '#include '? ../../Include/OniCTypes.h:115:32: error: expected ')' before '*' token 115 | typedef void (ONI_CALLBACK_TYPE* OniNewFrameCallback)(OniStreamHandle stream, void* pCookie); | ~ ^ | ) ../../Include/OniCTypes.h:116:32: error: expected ')' before '*' token 116 | typedef void (ONI_CALLBACK_TYPE* OniGeneralCallback)(void* pCookie); | ~ ^ | ) ../../Include/OniCTypes.h:117:32: error: expected ')' before '*' token 117 | typedef void (ONI_CALLBACK_TYPE* OniDeviceInfoCallback)(const OniDeviceInfo* pInfo, void* pCookie); | ~ ^ | ) ../../Include/OniCTypes.h:118:32: error: expected ')' before '*' token 118 | typedef void (ONI_CALLBACK_TYPE* OniDeviceStateCallback)(const OniDeviceInfo* pInfo, OniDeviceState deviceState, void* pCookie); | ~ ^ | ) ../../Include/OniCTypes.h:120:33: error: expected ')' before '*' token 120 | typedef void* (ONI_CALLBACK_TYPE* OniFrameAllocBufferCallback)(int size, void* pCookie); | ~ ^ | ) ../../Include/OniCTypes.h:121:32: error: expected ')' before '*' token 121 | typedef void (ONI_CALLBACK_TYPE* OniFrameFreeBufferCallback)(void* data, void* pCookie); | ~ ^ | ) ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:105:1: note: in expansion of macro 'ONI_C_API' 105 | ONI_C_API OniStatus oniStreamStart(OniStreamHandle stream); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:107:1: note: in expansion of macro 'ONI_C_API' 107 | ONI_C_API void oniStreamStop(OniStreamHandle stream); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:110:1: note: in expansion of macro 'ONI_C_API' 110 | ONI_C_API OniStatus oniStreamReadFrame(OniStreamHandle stream, OniFrame** pFrame); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:113:1: note: in expansion of macro 'ONI_C_API' 113 | ONI_C_API OniStatus oniStreamRegisterNewFrameCallback(OniStreamHandle stream, OniNewFrameCallback handler, void* pCookie, OniCallbackHandle* pHandle); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:115:1: note: in expansion of macro 'ONI_C_API' 115 | ONI_C_API void oniStreamUnregisterNewFrameCallback(OniStreamHandle stream, OniCallbackHandle handle); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:118:1: note: in expansion of macro 'ONI_C_API' 118 | ONI_C_API OniStatus oniStreamSetProperty(OniStreamHandle stream, int propertyId, const void* data, int dataSize); | ^~~~~~~~~ ../../Include/OniCTypes.h:125:9: error: 'OniDeviceInfoCallback' does not name a type 125 | OniDeviceInfoCallback deviceConnected; | ^~~~~~~~~~~~~~~~~~~~~ ../../Include/OniCTypes.h:126:9: error: 'OniDeviceInfoCallback' does not name a type 126 | OniDeviceInfoCallback deviceDisconnected; | ^~~~~~~~~~~~~~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:120:1: note: in expansion of macro 'ONI_C_API' 120 | ONI_C_API OniStatus oniStreamGetProperty(OniStreamHandle stream, int propertyId, void* data, int* pDataSize); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:122:1: note: in expansion of macro 'ONI_C_API' 122 | ONI_C_API OniBool oniStreamIsPropertySupported(OniStreamHandle stream, int propertyId); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:124:1: note: in expansion of macro 'ONI_C_API' 124 | ONI_C_API OniStatus oniStreamInvoke(OniStreamHandle stream, int commandId, void* data, int dataSize); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:126:1: note: in expansion of macro 'ONI_C_API' 126 | ONI_C_API OniBool oniStreamIsCommandSupported(OniStreamHandle stream, int commandId); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:128:1: note: in expansion of macro 'ONI_C_API' 128 | ONI_C_API OniStatus oniStreamSetFrameBuffersAllocator(OniStreamHandle stream, OniFrameAllocBufferCallback alloc, OniFrameFreeBufferCallback free, void* pCookie); | ^~~~~~~~~ ../../Include/OniCTypes.h:127:9: error: 'OniDeviceStateCallback' does not name a type; did you mean 'OniDeviceState'? 127 | OniDeviceStateCallback deviceStateChanged; | ^~~~~~~~~~~~~~~~~~~~~~ | OniDeviceState ../../Include/OniCTypes.h:143:9: error: 'uint16_t' does not name a type 143 | typedef uint16_t OniDepthPixel; | ^~~~~~~~ ../../Include/OniCTypes.h:143:9: note: 'uint16_t' is defined in header ''; did you forget to '#include '? ../../Include/OniCTypes.h:148:9: error: 'uint16_t' does not name a type 148 | typedef uint16_t OniGrayscale16Pixel; | ^~~~~~~~ ../../Include/OniCTypes.h:148:9: note: 'uint16_t' is defined in header ''; did you forget to '#include '? ../../Include/OniCTypes.h:153:9: error: 'uint8_t' does not name a type 153 | typedef uint8_t OniGrayscale8Pixel; | ^~~~~~~ ../../Include/OniCTypes.h:153:9: note: 'uint8_t' is defined in header ''; did you forget to '#include '? ../../Include/OniCTypes.h:161:9: error: 'uint8_t' does not name a type 161 | uint8_t r; | ^~~~~~~ ../../Include/OniCTypes.h:161:9: note: 'uint8_t' is defined in header ''; did you forget to '#include '? ../../Include/OniCTypes.h:163:9: error: 'uint8_t' does not name a type 163 | uint8_t g; | ^~~~~~~ ../../Include/OniCTypes.h:163:9: note: 'uint8_t' is defined in header ''; did you forget to '#include '? ../../Include/OniCTypes.h:165:9: error: 'uint8_t' does not name a type 165 | uint8_t b; | ^~~~~~~ ../../Include/OniCTypes.h:165:9: note: 'uint8_t' is defined in header ''; did you forget to '#include '? ../../Include/OniCTypes.h:176:9: error: 'uint8_t' does not name a type 176 | uint8_t u; | ^~~~~~~ ../../Include/OniCTypes.h:176:9: note: 'uint8_t' is defined in header ''; did you forget to '#include '? ../../Include/OniCTypes.h:178:9: error: 'uint8_t' does not name a type 178 | uint8_t y1; | ^~~~~~~ ../../Include/OniCTypes.h:178:9: note: 'uint8_t' is defined in header ''; did you forget to '#include '? ../../Include/OniCTypes.h:180:9: error: 'uint8_t' does not name a type 180 | uint8_t v; | ^~~~~~~ ../../Include/OniCTypes.h:180:9: note: 'uint8_t' is defined in header ''; did you forget to '#include '? ../../Include/OniCTypes.h:182:9: error: 'uint8_t' does not name a type 182 | uint8_t y2; | ^~~~~~~ ../../Include/OniCTypes.h:182:9: note: 'uint8_t' is defined in header ''; did you forget to '#include '? ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:132:1: note: in expansion of macro 'ONI_C_API' 132 | ONI_C_API void oniFrameAddRef(OniFrame* pFrame); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:134:1: note: in expansion of macro 'ONI_C_API' 134 | ONI_C_API void oniFrameRelease(OniFrame* pFrame); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:146:1: note: in expansion of macro 'ONI_C_API' 146 | ONI_C_API OniStatus oniCreateRecorder(const char* fileName, OniRecorderHandle* pRecorder); | ^~~~~~~~~ In file included from OniDriverHandler.h:30: ../../Include/Driver/OniDriverTypes.h:39:32: error: expected ')' before '*' token 39 | void (ONI_CALLBACK_TYPE* errorLoggerAppend)(void* driverServices, const char* format, va_list args); | ~ ^ | ) ../../Include/Driver/OniDriverTypes.h:40:32: error: expected ')' before '*' token 40 | void (ONI_CALLBACK_TYPE* errorLoggerClear)(void* driverServices); | ~ ^ | ) ../../Include/Driver/OniDriverTypes.h:41:32: error: expected ')' before '*' token 41 | void (ONI_CALLBACK_TYPE* log)(void* driverServices, int severity, const char* file, int line, const char* mask, const char* message); | ~ ^ | ) ../../Include/Driver/OniDriverTypes.h:47:31: error: expected ')' before '*' token 47 | int (ONI_CALLBACK_TYPE* getDefaultRequiredFrameSize)(void* streamServices); | ~ ^ | ) ../../Include/Driver/OniDriverTypes.h:48:37: error: expected ')' before '*' token 48 | OniFrame* (ONI_CALLBACK_TYPE* acquireFrame)(void* streamServices); // returns a frame with size corresponding to getRequiredFrameSize() | ~ ^ | ) ../../Include/Driver/OniDriverTypes.h:49:32: error: expected ')' before '*' token 49 | void (ONI_CALLBACK_TYPE* addFrameRef)(void* streamServices, OniFrame* pframe); | ~ ^ | ) ../../Include/Driver/OniDriverTypes.h:50:32: error: expected ')' before '*' token 50 | void (ONI_CALLBACK_TYPE* releaseFrame)(void* streamServices, OniFrame* pframe); | ~ ^ | ) ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:158:1: note: in expansion of macro 'ONI_C_API' 158 | ONI_C_API OniStatus oniRecorderAttachStream( | ^~~~~~~~~ OniDriverHandler.h:34:32: error: expected ')' before '*' token 34 | typedef void (ONI_CALLBACK_TYPE* OniDriverDeviceConnected)(const OniDeviceInfo*, void* pCookie); | ~ ^ | ) OniDriverHandler.h:35:32: error: expected ')' before '*' token 35 | typedef void (ONI_CALLBACK_TYPE* OniDriverDeviceDisconnected)(const OniDeviceInfo*, void* pCookie); | ~ ^ | ) OniDriverHandler.h:36:32: error: expected ')' before '*' token 36 | typedef void (ONI_CALLBACK_TYPE* OniDriverDeviceStateChanged)(const OniDeviceInfo*, OniDeviceState, void* pCookie); | ~ ^ | ) OniDriverHandler.h:38:32: error: expected ')' before '*' token 38 | typedef void (ONI_CALLBACK_TYPE* OniDriverNewFrame)(void* streamHandle, OniFrame*, void* pCookie); | ~ ^ | ) OniDriverHandler.h:39:32: error: expected ')' before '*' token 39 | typedef void (ONI_CALLBACK_TYPE* OniDriverPropertyChanged)(void* sender, int propertyId, const void* data, int dataSize, void* pCookie); | ~ ^ | ) OniDriverHandler.h:44:25: error: expected ')' before '*' token 44 | void (ONI_C_DECL* oniDriverCreate)(OniDriverServices* driverServices); | ~ ^ | ) OniDriverHandler.h:45:25: error: expected ')' before '*' token 45 | void (ONI_C_DECL* oniDriverDestroy)(); | ~ ^ | ) OniDriverHandler.h:46:30: error: expected ')' before '*' token 46 | OniStatus (ONI_C_DECL* oniDriverInitialize)(OniDriverDeviceConnected connectedCallback, OniDriverDeviceDisconnected disconnectedCallback, | ~ ^ | ) OniDriverHandler.h:48:25: error: expected ')' before '*' token 48 | void (ONI_C_DECL* oniDriverRun)(); | ~ ^ | ) OniDriverHandler.h:50:30: error: expected ')' before '*' token 50 | OniStatus (ONI_C_DECL* oniDriverTryDevice)(const char* uri); | ~ ^ | ) OniDriverHandler.h:53:26: error: expected ')' before '*' token 53 | void* (ONI_C_DECL* oniDriverDeviceOpen)(const char* uri, const char* mode); | ~ ^ | ) OniDriverHandler.h:54:25: error: expected ')' before '*' token 54 | void (ONI_C_DECL* oniDriverDeviceClose)(void* deviceHandle); | ~ ^ | ) OniDriverHandler.h:56:30: error: expected ')' before '*' token 56 | OniStatus (ONI_C_DECL* oniDriverDeviceGetSensorInfoList)(void* deviceHandle, OniSensorInfo** pSensors, int* numSensors); | ~ ^ | ) OniDriverHandler.h:58:26: error: expected ')' before '*' token 58 | void* (ONI_C_DECL* oniDriverDeviceCreateStream)(void* deviceHandle, OniSensorType sensorType); | ~ ^ | ) OniDriverHandler.h:59:25: error: expected ')' before '*' token 59 | void (ONI_C_DECL* oniDriverDeviceDestroyStream)(void* deviceHandle, void* streamHandle); | ~ ^ | ) OniDriverHandler.h:61:30: error: expected ')' before '*' token 61 | OniStatus (ONI_C_DECL* oniDriverDeviceSetProperty)(void* deviceHandle, int propertyId, const void* data, int dataSize); | ~ ^ | ) OniDriverHandler.h:62:30: error: expected ')' before '*' token 62 | OniStatus (ONI_C_DECL* oniDriverDeviceGetProperty)(void* deviceHandle, int propertyId, void* data, int* pDataSize); | ~ ^ | ) OniDriverHandler.h:63:28: error: expected ')' before '*' token 63 | OniBool (ONI_C_DECL* oniDriverDeviceIsPropertySupported)(void* deviceHandle, int propertyId); | ~ ^ | ) OniDriverHandler.h:64:25: error: expected ')' before '*' token 64 | void (ONI_C_DECL* oniDriverDeviceSetPropertyChangedCallback)(void* deviceHandle, OniDriverPropertyChanged handler, void* pCookie); | ~ ^ | ) OniDriverHandler.h:65:25: error: expected ')' before '*' token 65 | void (ONI_C_DECL* oniDriverDeviceNotifyAllProperties)(void* deviceHandle); | ~ ^ | ) OniDriverHandler.h:66:30: error: expected ')' before '*' token 66 | OniStatus (ONI_C_DECL* oniDriverDeviceInvoke)(void* deviceHandle, int commandId, const void* data, int dataSize); | ~ ^ | ) OniDriverHandler.h:67:28: error: expected ')' before '*' token 67 | OniBool (ONI_C_DECL* oniDriverDeviceIsCommandSupported)(void* deviceHandle, int commandId); | ~ ^ | ) OniDriverHandler.h:68:30: error: expected ')' before '*' token 68 | OniStatus (ONI_C_DECL* oniDriverDeviceTryManualTrigger)(void* deviceHandle); | ~ ^ | ) OniDriverHandler.h:69:28: error: expected ')' before '*' token 69 | OniBool (ONI_C_DECL* oniDriverDeviceIsImageRegistrationModeSupported)(void* deviceHandle, OniImageRegistrationMode mode); | ~ ^ | ) OniDriverHandler.h:72:25: error: expected ')' before '*' token 72 | void (ONI_C_DECL* oniDriverStreamSetServices)(void* streamHandle, OniStreamServices* pServices); | ~ ^ | ) OniDriverHandler.h:73:30: error: expected ')' before '*' token 73 | OniStatus (ONI_C_DECL* oniDriverStreamSetProperty)(void* streamHandle, int propertyId, const void* data, int dataSize); | ~ ^ | ) OniDriverHandler.h:74:30: error: expected ')' before '*' token 74 | OniStatus (ONI_C_DECL* oniDriverStreamGetProperty)(void* streamHandle, int propertyId, void* data, int* pDataSize); | ~ ^ | ) OniDriverHandler.h:75:28: error: expected ')' before '*' token 75 | OniBool (ONI_C_DECL* oniDriverStreamIsPropertySupported)(void* streamHandle, int propertyId); | ~ ^ | ) OniDriverHandler.h:76:25: error: expected ')' before '*' token 76 | void (ONI_C_DECL* oniDriverStreamSetPropertyChangedCallback)(void* streamHandle, OniDriverPropertyChanged handler, void* pCookie); | ~ ^ | ) OniDriverHandler.h:77:25: error: expected ')' before '*' token 77 | void (ONI_C_DECL* oniDriverStreamNotifyAllProperties)(void* streamHandle); | ~ ^ | ) OniDriverHandler.h:78:30: error: expected ')' before '*' token 78 | OniStatus (ONI_C_DECL* oniDriverStreamInvoke)(void* streamHandle, int commandId, const void* data, int dataSize); | ~ ^ | ) OniDriverHandler.h:79:28: error: expected ')' before '*' token 79 | OniBool (ONI_C_DECL* oniDriverStreamIsCommandSupported)(void* streamHandle, int commandId); | ~ ^ | ) OniDriverHandler.h:81:30: error: expected ')' before '*' token 81 | OniStatus (ONI_C_DECL* oniDriverStreamStart)(void* streamHandle); | ~ ^ | ) OniDriverHandler.h:82:25: error: expected ')' before '*' token 82 | void (ONI_C_DECL* oniDriverStreamStop)(void* streamHandle); | ~ ^ | ) OniDriverHandler.h:84:24: error: expected ')' before '*' token 84 | int (ONI_C_DECL* oniDriverStreamGetRequiredFrameSize)(void* streamHandle); | ~ ^ | ) OniDriverHandler.h:86:25: error: expected ')' before '*' token 86 | void (ONI_C_DECL* oniDriverStreamSetNewFrameCallback)(void* streamHandle, OniDriverNewFrame handler, void* pCookie); | ~ ^ | ) OniDriverHandler.h:87:30: error: expected ')' before '*' token 87 | OniStatus (ONI_C_DECL* oniDriverStreamConvertDepthToColorCoordinates)(void* depthStreamHandle, void* colorStreamHandle, int depthX, int depthY, OniDepthPixel depthZ, int* pColorX, int* pColorY); | ~ ^ | ) OniDriverHandler.h:89:26: error: expected ')' before '*' token 89 | void* (ONI_C_DECL* oniDriverEnableFrameSync)(void** pStreamHandles, int streamCount); | ~ ^ | ) OniDriverHandler.h:90:25: error: expected ')' before '*' token 90 | void (ONI_C_DECL* oniDriverDisableFrameSync)(void* frameSyncGroup); | ~ ^ | ) OniDriverHandler.h:110:30: error: 'OniDriverDeviceConnected' has not been declared 110 | OniStatus initialize(OniDriverDeviceConnected connectedCallback, OniDriverDeviceDisconnected disconnectedCallback, | ^~~~~~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h:110:74: error: 'OniDriverDeviceDisconnected' has not been declared 110 | OniStatus initialize(OniDriverDeviceConnected connectedCallback, OniDriverDeviceDisconnected disconnectedCallback, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h:111:41: error: 'OniDriverDeviceStateChanged' has not been declared 111 | OniDriverDeviceStateChanged deviceStateChangedCallback, void* pCookie) const | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h:157:67: error: 'OniDriverPropertyChanged' has not been declared 157 | void deviceSetPropertyChangedCallback(void* deviceHandle, OniDriverPropertyChanged handler, void* pCookie) const | ^~~~~~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h:199:67: error: 'OniDriverPropertyChanged' has not been declared 199 | void streamSetPropertyChangedCallback(void* streamHandle, OniDriverPropertyChanged handler, void* pCookie) const | ^~~~~~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h:230:60: error: 'OniDriverNewFrame' has not been declared 230 | void streamSetNewFrameCallback(void* streamHandle, OniDriverNewFrame handler, void* pCookie) const | ^~~~~~~~~~~~~~~~~ OniDriverHandler.h:235:118: error: 'OniDepthPixel' has not been declared 235 | OniStatus convertDepthPointToColor(void* depthStreamHandle, void* colorStreamHandle, int depthX, int depthY, OniDepthPixel DepthZ, int* pColorX, int* pColorY) const | ^~~~~~~~~~~~~ OniDriverHandler.h: In member function 'void oni::implementation::DriverHandler::create(OniDriverServices*) const': OniDriverHandler.h:104:25: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverCreate' 104 | (*funcs.oniDriverCreate)(driverServices); | ^~~~~~~~~~~~~~~ OniDriverHandler.h: In member function 'void oni::implementation::DriverHandler::destroy() const': OniDriverHandler.h:108:25: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverDestroy' 108 | (*funcs.oniDriverDestroy)(); | ^~~~~~~~~~~~~~~~ OniDriverHandler.h: In member function 'OniStatus oni::implementation::DriverHandler::initialize(int, int, int, void*) const': OniDriverHandler.h:113:32: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverInitialize' 113 | return (*funcs.oniDriverInitialize)(connectedCallback, disconnectedCallback, deviceStateChangedCallback, pCookie); | ^~~~~~~~~~~~~~~~~~~ OniDriverHandler.h: In member function 'OniStatus oni::implementation::DriverHandler::tryDevice(const char*) const': OniDriverHandler.h:118:32: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverTryDevice' 118 | return (*funcs.oniDriverTryDevice)(uri); | ^~~~~~~~~~~~~~~~~~ OniDriverHandler.h: In member function 'void* oni::implementation::DriverHandler::deviceOpen(const char*, const char*) const': OniDriverHandler.h:123:32: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverDeviceOpen' 123 | return (*funcs.oniDriverDeviceOpen)(uri, mode); | ^~~~~~~~~~~~~~~~~~~ OniDriverHandler.h: In member function 'void oni::implementation::DriverHandler::deviceClose(void*) const': OniDriverHandler.h:127:25: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverDeviceClose' 127 | (*funcs.oniDriverDeviceClose)(deviceHandle); | ^~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h: In member function 'OniStatus oni::implementation::DriverHandler::deviceGetSensorInfoList(void*, OniSensorInfo**, int*) const': OniDriverHandler.h:132:32: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverDeviceGetSensorInfoList' 132 | return (*funcs.oniDriverDeviceGetSensorInfoList)(deviceHandle, pSensors, numSensors); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h: In member function 'void* oni::implementation::DriverHandler::deviceCreateStream(void*, OniSensorType) const': OniDriverHandler.h:137:32: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverDeviceCreateStream' 137 | return (*funcs.oniDriverDeviceCreateStream)(deviceHandle, sensorType); // return stream | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h: In member function 'void oni::implementation::DriverHandler::deviceDestroyStream(void*, void*) const': OniDriverHandler.h:142:25: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverDeviceDestroyStream' 142 | (*funcs.oniDriverDeviceDestroyStream)(deviceHandle, streamHandle); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h: In member function 'OniStatus oni::implementation::DriverHandler::deviceSetProperty(void*, int, const void*, int) const': OniDriverHandler.h:147:32: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverDeviceSetProperty' 147 | return (*funcs.oniDriverDeviceSetProperty)(deviceHandle, propertyId, data, dataSize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h: In member function 'OniStatus oni::implementation::DriverHandler::deviceGetProperty(void*, int, void*, int*) const': OniDriverHandler.h:151:32: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverDeviceGetProperty' 151 | return (*funcs.oniDriverDeviceGetProperty)(deviceHandle, propertyId, data, pDataSize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OniDriverHandler.h:30: ../../Include/Driver/OniDriverTypes.h:39:32: error: expected ')' before '*' token 39 | void (ONI_CALLBACK_TYPE* errorLoggerAppend)(void* driverServices, const char* format, va_list args); | ~ ^ | ) OniDriverHandler.h: In member function 'OniBool oni::implementation::DriverHandler::deviceIsPropertySupported(void*, int) const': OniDriverHandler.h:155:32: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverDeviceIsPropertySupported' 155 | return (*funcs.oniDriverDeviceIsPropertySupported)(deviceHandle, propertyId); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../Include/Driver/OniDriverTypes.h:40:32: error: expected ')' before '*' token 40 | void (ONI_CALLBACK_TYPE* errorLoggerClear)(void* driverServices); | ~ ^ | ) ../../Include/Driver/OniDriverTypes.h:41:32: error: expected ')' before '*' token 41 | void (ONI_CALLBACK_TYPE* log)(void* driverServices, int severity, const char* file, int line, const char* mask, const char* message); | ~ ^ | ) OniDriverHandler.h: In member function 'void oni::implementation::DriverHandler::deviceSetPropertyChangedCallback(void*, int, void*) const': OniDriverHandler.h:159:25: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverDeviceSetPropertyChangedCallback' 159 | (*funcs.oniDriverDeviceSetPropertyChangedCallback)(deviceHandle, handler, pCookie); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../Include/Driver/OniDriverTypes.h:47:31: error: expected ')' before '*' token 47 | int (ONI_CALLBACK_TYPE* getDefaultRequiredFrameSize)(void* streamServices); | ~ ^ | ) OniDriverHandler.h: In member function 'void oni::implementation::DriverHandler::deviceNotifyAllProperties(void*) const': OniDriverHandler.h:163:25: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverDeviceNotifyAllProperties' 163 | (*funcs.oniDriverDeviceNotifyAllProperties)(deviceHandle); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../Include/Driver/OniDriverTypes.h:48:37: error: expected ')' before '*' token 48 | OniFrame* (ONI_CALLBACK_TYPE* acquireFrame)(void* streamServices); // returns a frame with size corresponding to getRequiredFrameSize() | ~ ^ | ) ../../Include/Driver/OniDriverTypes.h:49:32: error: expected ')' before '*' token 49 | void (ONI_CALLBACK_TYPE* addFrameRef)(void* streamServices, OniFrame* pframe); | ~ ^ | ) ../../Include/Driver/OniDriverTypes.h:50:32: error: expected ')' before '*' token 50 | void (ONI_CALLBACK_TYPE* releaseFrame)(void* streamServices, OniFrame* pframe); | ~ ^ | ) OniDriverHandler.h:34:32: error: expected ')' before '*' token 34 | typedef void (ONI_CALLBACK_TYPE* OniDriverDeviceConnected)(const OniDeviceInfo*, void* pCookie); | ~ ^ | ) OniDriverHandler.h:35:32: error: expected ')' before '*' token 35 | typedef void (ONI_CALLBACK_TYPE* OniDriverDeviceDisconnected)(const OniDeviceInfo*, void* pCookie); | ~ ^ | ) OniDriverHandler.h: In member function 'OniStatus oni::implementation::DriverHandler::deviceInvoke(void*, int, const void*, int) const': OniDriverHandler.h:167:32: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverDeviceInvoke' 167 | return (*funcs.oniDriverDeviceInvoke)(deviceHandle, commandId, data, dataSize); | ^~~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h:36:32: error: expected ')' before '*' token 36 | typedef void (ONI_CALLBACK_TYPE* OniDriverDeviceStateChanged)(const OniDeviceInfo*, OniDeviceState, void* pCookie); | ~ ^ | ) OniDriverHandler.h:38:32: error: expected ')' before '*' token 38 | typedef void (ONI_CALLBACK_TYPE* OniDriverNewFrame)(void* streamHandle, OniFrame*, void* pCookie); | ~ ^ | ) OniDriverHandler.h: In member function 'OniBool oni::implementation::DriverHandler::deviceIsCommandSupported(void*, int) const': OniDriverHandler.h:171:32: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverDeviceIsCommandSupported' 171 | return (*funcs.oniDriverDeviceIsCommandSupported)(deviceHandle, commandId); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h:39:32: error: expected ')' before '*' token 39 | typedef void (ONI_CALLBACK_TYPE* OniDriverPropertyChanged)(void* sender, int propertyId, const void* data, int dataSize, void* pCookie); | ~ ^ | ) OniDriverHandler.h: In member function 'OniBool oni::implementation::DriverHandler::deviceIsImageRegistrationModeSupported(void*, OniImageRegistrationMode) const': OniDriverHandler.h:175:32: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverDeviceIsImageRegistrationModeSupported' 175 | return (*funcs.oniDriverDeviceIsImageRegistrationModeSupported)(deviceHandle, mode); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h:44:25: error: expected ')' before '*' token 44 | void (ONI_C_DECL* oniDriverCreate)(OniDriverServices* driverServices); | ~ ^ | ) OniDriverHandler.h:45:25: error: expected ')' before '*' token 45 | void (ONI_C_DECL* oniDriverDestroy)(); | ~ ^ | ) OniDriverHandler.h: In member function 'OniStatus oni::implementation::DriverHandler::tryManualTrigger(void*) const': OniDriverHandler.h:179:32: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverDeviceTryManualTrigger' 179 | return (*funcs.oniDriverDeviceTryManualTrigger)(deviceHandle); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h:46:30: error: expected ')' before '*' token 46 | OniStatus (ONI_C_DECL* oniDriverInitialize)(OniDriverDeviceConnected connectedCallback, OniDriverDeviceDisconnected disconnectedCallback, | ~ ^ | ) OniDriverHandler.h: In member function 'void oni::implementation::DriverHandler::streamSetServices(void*, OniStreamServices*) const': OniDriverHandler.h:185:25: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverStreamSetServices' 185 | (*funcs.oniDriverStreamSetServices)(streamHandle, pServices); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h:48:25: error: expected ')' before '*' token 48 | void (ONI_C_DECL* oniDriverRun)(); | ~ ^ | ) OniDriverHandler.h:50:30: error: expected ')' before '*' token 50 | OniStatus (ONI_C_DECL* oniDriverTryDevice)(const char* uri); | ~ ^ | ) OniDriverHandler.h: In member function 'OniStatus oni::implementation::DriverHandler::streamSetProperty(void*, int, const void*, int) const': OniDriverHandler.h:189:32: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverStreamSetProperty' 189 | return (*funcs.oniDriverStreamSetProperty)(streamHandle, propertyId, data, dataSize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h:53:26: error: expected ')' before '*' token 53 | void* (ONI_C_DECL* oniDriverDeviceOpen)(const char* uri, const char* mode); | ~ ^ | ) OniDriverHandler.h:54:25: error: expected ')' before '*' token 54 | void (ONI_C_DECL* oniDriverDeviceClose)(void* deviceHandle); | ~ ^ | ) OniDriverHandler.h: In member function 'OniStatus oni::implementation::DriverHandler::streamGetProperty(void*, int, void*, int*) const': OniDriverHandler.h:193:32: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverStreamGetProperty' 193 | return (*funcs.oniDriverStreamGetProperty)(streamHandle, propertyId, data, pDataSize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h:56:30: error: expected ')' before '*' token 56 | OniStatus (ONI_C_DECL* oniDriverDeviceGetSensorInfoList)(void* deviceHandle, OniSensorInfo** pSensors, int* numSensors); | ~ ^ | ) OniDriverHandler.h:58:26: error: expected ')' before '*' token 58 | void* (ONI_C_DECL* oniDriverDeviceCreateStream)(void* deviceHandle, OniSensorType sensorType); | ~ ^ | ) OniDriverHandler.h: In member function 'OniBool oni::implementation::DriverHandler::streamIsPropertySupported(void*, int) const': OniDriverHandler.h:197:32: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverStreamIsPropertySupported' 197 | return (*funcs.oniDriverStreamIsPropertySupported)(streamHandle, propertyId); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h:59:25: error: expected ')' before '*' token 59 | void (ONI_C_DECL* oniDriverDeviceDestroyStream)(void* deviceHandle, void* streamHandle); | ~ ^ | ) OniDriverHandler.h:61:30: error: expected ')' before '*' token 61 | OniStatus (ONI_C_DECL* oniDriverDeviceSetProperty)(void* deviceHandle, int propertyId, const void* data, int dataSize); | ~ ^ | ) OniDriverHandler.h: In member function 'void oni::implementation::DriverHandler::streamSetPropertyChangedCallback(void*, int, void*) const': OniDriverHandler.h:201:25: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverStreamSetPropertyChangedCallback' 201 | (*funcs.oniDriverStreamSetPropertyChangedCallback)(streamHandle, handler, pCookie); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h:62:30: error: expected ')' before '*' token 62 | OniStatus (ONI_C_DECL* oniDriverDeviceGetProperty)(void* deviceHandle, int propertyId, void* data, int* pDataSize); | ~ ^ | ) OniDriverHandler.h: In member function 'void oni::implementation::DriverHandler::streamNotifyAllProperties(void*) const': OniDriverHandler.h:205:25: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverStreamNotifyAllProperties' 205 | (*funcs.oniDriverStreamNotifyAllProperties)(streamHandle); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: *** [../../ThirdParty/PSCommon/BuildSystem/CommonCppMakefile:130: ../../Bin/Intermediate/Aarch64-Release/libOpenNI2.so/OniDataRecords.o] Error 1 OniDriverHandler.h:63:28: error: expected ')' before '*' token 63 | OniBool (ONI_C_DECL* oniDriverDeviceIsPropertySupported)(void* deviceHandle, int propertyId); | ~ ^ | ) OniDriverHandler.h: In member function 'OniStatus oni::implementation::DriverHandler::streamInvoke(void*, int, const void*, int) const': OniDriverHandler.h:209:32: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverStreamInvoke' 209 | return (*funcs.oniDriverStreamInvoke)(streamHandle, commandId, data, dataSize); | ^~~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h:64:25: error: expected ')' before '*' token 64 | void (ONI_C_DECL* oniDriverDeviceSetPropertyChangedCallback)(void* deviceHandle, OniDriverPropertyChanged handler, void* pCookie); | ~ ^ | ) OniDriverHandler.h:65:25: error: expected ')' before '*' token 65 | void (ONI_C_DECL* oniDriverDeviceNotifyAllProperties)(void* deviceHandle); | ~ ^ | ) OniDriverHandler.h:66:30: error: expected ')' before '*' token 66 | OniStatus (ONI_C_DECL* oniDriverDeviceInvoke)(void* deviceHandle, int commandId, const void* data, int dataSize); | ~ ^ | ) OniDriverHandler.h:67:28: error: expected ')' before '*' token 67 | OniBool (ONI_C_DECL* oniDriverDeviceIsCommandSupported)(void* deviceHandle, int commandId); | ~ ^ | ) OniDriverHandler.h: In member function 'OniBool oni::implementation::DriverHandler::streamIsCommandSupported(void*, int) const': OniDriverHandler.h:213:32: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverStreamIsCommandSupported' 213 | return (*funcs.oniDriverStreamIsCommandSupported)(streamHandle, commandId); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h:68:30: error: expected ')' before '*' token 68 | OniStatus (ONI_C_DECL* oniDriverDeviceTryManualTrigger)(void* deviceHandle); | ~ ^ | ) OniDriverHandler.h:69:28: error: expected ')' before '*' token 69 | OniBool (ONI_C_DECL* oniDriverDeviceIsImageRegistrationModeSupported)(void* deviceHandle, OniImageRegistrationMode mode); | ~ ^ | ) OniDriverHandler.h: In member function 'OniStatus oni::implementation::DriverHandler::streamStart(void*) const': OniDriverHandler.h:218:32: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverStreamStart' 218 | return (*funcs.oniDriverStreamStart)(streamHandle); | ^~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h:72:25: error: expected ')' before '*' token 72 | void (ONI_C_DECL* oniDriverStreamSetServices)(void* streamHandle, OniStreamServices* pServices); | ~ ^ | ) OniDriverHandler.h: In member function 'void oni::implementation::DriverHandler::streamStop(void*) const': OniDriverHandler.h:222:25: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverStreamStop' 222 | (*funcs.oniDriverStreamStop)(streamHandle); | ^~~~~~~~~~~~~~~~~~~ OniDriverHandler.h:73:30: error: expected ')' before '*' token 73 | OniStatus (ONI_C_DECL* oniDriverStreamSetProperty)(void* streamHandle, int propertyId, const void* data, int dataSize); | ~ ^ | ) OniDriverHandler.h:74:30: error: expected ')' before '*' token 74 | OniStatus (ONI_C_DECL* oniDriverStreamGetProperty)(void* streamHandle, int propertyId, void* data, int* pDataSize); | ~ ^ | ) OniDriverHandler.h: In member function 'int oni::implementation::DriverHandler::streamGetRequiredFrameSize(void*) const': OniDriverHandler.h:227:32: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverStreamGetRequiredFrameSize' 227 | return (*funcs.oniDriverStreamGetRequiredFrameSize)(streamHandle); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h:75:28: error: expected ')' before '*' token 75 | OniBool (ONI_C_DECL* oniDriverStreamIsPropertySupported)(void* streamHandle, int propertyId); | ~ ^ | ) OniDriverHandler.h:76:25: error: expected ')' before '*' token 76 | void (ONI_C_DECL* oniDriverStreamSetPropertyChangedCallback)(void* streamHandle, OniDriverPropertyChanged handler, void* pCookie); | ~ ^ | ) OniDriverHandler.h: In member function 'void oni::implementation::DriverHandler::streamSetNewFrameCallback(void*, int, void*) const': OniDriverHandler.h:232:25: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverStreamSetNewFrameCallback' 232 | (*funcs.oniDriverStreamSetNewFrameCallback)(streamHandle, handler, pCookie); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h:77:25: error: expected ')' before '*' token 77 | void (ONI_C_DECL* oniDriverStreamNotifyAllProperties)(void* streamHandle); | ~ ^ | ) OniDriverHandler.h:78:30: error: expected ')' before '*' token 78 | OniStatus (ONI_C_DECL* oniDriverStreamInvoke)(void* streamHandle, int commandId, const void* data, int dataSize); | ~ ^ | ) OniDriverHandler.h: In member function 'OniStatus oni::implementation::DriverHandler::convertDepthPointToColor(void*, void*, int, int, int, int*, int*) const': OniDriverHandler.h:237:32: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverStreamConvertDepthToColorCoordinates' 237 | return (*funcs.oniDriverStreamConvertDepthToColorCoordinates)(depthStreamHandle, colorStreamHandle, depthX, depthY, DepthZ, pColorX, pColorY); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h:79:28: error: expected ')' before '*' token 79 | OniBool (ONI_C_DECL* oniDriverStreamIsCommandSupported)(void* streamHandle, int commandId); | ~ ^ | ) OniDriverHandler.h:81:30: error: expected ')' before '*' token 81 | OniStatus (ONI_C_DECL* oniDriverStreamStart)(void* streamHandle); | ~ ^ | ) OniDriverHandler.h: In member function 'void* oni::implementation::DriverHandler::enableFrameSync(void**, int) const': OniDriverHandler.h:242:32: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverEnableFrameSync' 242 | return (*funcs.oniDriverEnableFrameSync)(streamHandles, streamCount); | ^~~~~~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h:82:25: error: expected ')' before '*' token 82 | void (ONI_C_DECL* oniDriverStreamStop)(void* streamHandle); | ~ ^ | ) OniDriverHandler.h:84:24: error: expected ')' before '*' token 84 | int (ONI_C_DECL* oniDriverStreamGetRequiredFrameSize)(void* streamHandle); | ~ ^ | ) OniDriverHandler.h: In member function 'void oni::implementation::DriverHandler::disableFrameSync(void*) const': OniDriverHandler.h:246:32: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverDisableFrameSync' 246 | return (*funcs.oniDriverDisableFrameSync)(frameSyncGroup); | ^~~~~~~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h:86:25: error: expected ')' before '*' token 86 | void (ONI_C_DECL* oniDriverStreamSetNewFrameCallback)(void* streamHandle, OniDriverNewFrame handler, void* pCookie); | ~ ^ | ) OniDriverHandler.h:87:30: error: expected ')' before '*' token 87 | OniStatus (ONI_C_DECL* oniDriverStreamConvertDepthToColorCoordinates)(void* depthStreamHandle, void* colorStreamHandle, int depthX, int depthY, OniDepthPixel depthZ, int* pColorX, int* pColorY); | ~ ^ | ) OniDriverHandler.h:89:26: error: expected ')' before '*' token 89 | void* (ONI_C_DECL* oniDriverEnableFrameSync)(void** pStreamHandles, int streamCount); | ~ ^ | ) OniDriverHandler.h:90:25: error: expected ')' before '*' token 90 | void (ONI_C_DECL* oniDriverDisableFrameSync)(void* frameSyncGroup); | ~ ^ | ) OniDriverHandler.h:110:30: error: 'OniDriverDeviceConnected' has not been declared 110 | OniStatus initialize(OniDriverDeviceConnected connectedCallback, OniDriverDeviceDisconnected disconnectedCallback, | ^~~~~~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h:110:74: error: 'OniDriverDeviceDisconnected' has not been declared 110 | OniStatus initialize(OniDriverDeviceConnected connectedCallback, OniDriverDeviceDisconnected disconnectedCallback, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h:111:41: error: 'OniDriverDeviceStateChanged' has not been declared 111 | OniDriverDeviceStateChanged deviceStateChangedCallback, void* pCookie) const | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h:157:67: error: 'OniDriverPropertyChanged' has not been declared 157 | void deviceSetPropertyChangedCallback(void* deviceHandle, OniDriverPropertyChanged handler, void* pCookie) const | ^~~~~~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h:199:67: error: 'OniDriverPropertyChanged' has not been declared 199 | void streamSetPropertyChangedCallback(void* streamHandle, OniDriverPropertyChanged handler, void* pCookie) const | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from OniDeviceDriver.h:25: OniFrameManager.h: At global scope: OniFrameManager.h:12:32: error: expected ')' before '*' token 12 | typedef void (ONI_CALLBACK_TYPE* BackToPoolFuncPtr)(struct OniFrameInternal* pBuffer, void* pCookie); | ~ ^ | ) OniFrameManager.h:13:32: error: expected ')' before '*' token 13 | typedef void (ONI_CALLBACK_TYPE* FreeBufferFuncPtr)(void* data, void* pCookie); | ~ ^ | ) OniDriverHandler.h:230:60: error: 'OniDriverNewFrame' has not been declared 230 | void streamSetNewFrameCallback(void* streamHandle, OniDriverNewFrame handler, void* pCookie) const | ^~~~~~~~~~~~~~~~~ OniDriverHandler.h:235:118: error: 'OniDepthPixel' has not been declared 235 | OniStatus convertDepthPointToColor(void* depthStreamHandle, void* colorStreamHandle, int depthX, int depthY, OniDepthPixel DepthZ, int* pColorX, int* pColorY) const | ^~~~~~~~~~~~~ OniDriverHandler.h: In member function 'void oni::implementation::DriverHandler::create(OniDriverServices*) const': OniDriverHandler.h:104:25: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverCreate' 104 | (*funcs.oniDriverCreate)(driverServices); | ^~~~~~~~~~~~~~~ OniDriverHandler.h: In member function 'void oni::implementation::DriverHandler::destroy() const': OniDriverHandler.h:108:25: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverDestroy' 108 | (*funcs.oniDriverDestroy)(); | ^~~~~~~~~~~~~~~~ OniDriverHandler.h: In member function 'OniStatus oni::implementation::DriverHandler::initialize(int, int, int, void*) const': OniDriverHandler.h:113:32: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverInitialize' 113 | return (*funcs.oniDriverInitialize)(connectedCallback, disconnectedCallback, deviceStateChangedCallback, pCookie); | ^~~~~~~~~~~~~~~~~~~ OniDriverHandler.h: In member function 'OniStatus oni::implementation::DriverHandler::tryDevice(const char*) const': OniDriverHandler.h:118:32: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverTryDevice' 118 | return (*funcs.oniDriverTryDevice)(uri); | ^~~~~~~~~~~~~~~~~~ OniDriverHandler.h: In member function 'void* oni::implementation::DriverHandler::deviceOpen(const char*, const char*) const': OniDriverHandler.h:123:32: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverDeviceOpen' 123 | return (*funcs.oniDriverDeviceOpen)(uri, mode); | ^~~~~~~~~~~~~~~~~~~ OniDriverHandler.h: In member function 'void oni::implementation::DriverHandler::deviceClose(void*) const': OniDriverHandler.h:127:25: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverDeviceClose' 127 | (*funcs.oniDriverDeviceClose)(deviceHandle); | ^~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h: In member function 'OniStatus oni::implementation::DriverHandler::deviceGetSensorInfoList(void*, OniSensorInfo**, int*) const': OniDriverHandler.h:132:32: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverDeviceGetSensorInfoList' 132 | return (*funcs.oniDriverDeviceGetSensorInfoList)(deviceHandle, pSensors, numSensors); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h: In member function 'void* oni::implementation::DriverHandler::deviceCreateStream(void*, OniSensorType) const': OniDriverHandler.h:137:32: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverDeviceCreateStream' 137 | return (*funcs.oniDriverDeviceCreateStream)(deviceHandle, sensorType); // return stream | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h: In member function 'void oni::implementation::DriverHandler::deviceDestroyStream(void*, void*) const': OniDriverHandler.h:142:25: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverDeviceDestroyStream' 142 | (*funcs.oniDriverDeviceDestroyStream)(deviceHandle, streamHandle); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h: In member function 'OniStatus oni::implementation::DriverHandler::deviceSetProperty(void*, int, const void*, int) const': OniDriverHandler.h:147:32: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverDeviceSetProperty' 147 | return (*funcs.oniDriverDeviceSetProperty)(deviceHandle, propertyId, data, dataSize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h: In member function 'OniStatus oni::implementation::DriverHandler::deviceGetProperty(void*, int, void*, int*) const': OniDriverHandler.h:151:32: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverDeviceGetProperty' 151 | return (*funcs.oniDriverDeviceGetProperty)(deviceHandle, propertyId, data, pDataSize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h: In member function 'OniBool oni::implementation::DriverHandler::deviceIsPropertySupported(void*, int) const': OniDriverHandler.h:155:32: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverDeviceIsPropertySupported' 155 | return (*funcs.oniDriverDeviceIsPropertySupported)(deviceHandle, propertyId); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h: In member function 'void oni::implementation::DriverHandler::deviceSetPropertyChangedCallback(void*, int, void*) const': OniDriverHandler.h:159:25: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverDeviceSetPropertyChangedCallback' 159 | (*funcs.oniDriverDeviceSetPropertyChangedCallback)(deviceHandle, handler, pCookie); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h: In member function 'void oni::implementation::DriverHandler::deviceNotifyAllProperties(void*) const': OniDriverHandler.h:163:25: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverDeviceNotifyAllProperties' 163 | (*funcs.oniDriverDeviceNotifyAllProperties)(deviceHandle); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h: In member function 'OniStatus oni::implementation::DriverHandler::deviceInvoke(void*, int, const void*, int) const': OniDriverHandler.h:167:32: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverDeviceInvoke' 167 | return (*funcs.oniDriverDeviceInvoke)(deviceHandle, commandId, data, dataSize); | ^~~~~~~~~~~~~~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:170:1: note: in expansion of macro 'ONI_C_API' 170 | ONI_C_API OniStatus oniRecorderStart(OniRecorderHandle recorder); | ^~~~~~~~~ OniDriverHandler.h: In member function 'OniBool oni::implementation::DriverHandler::deviceIsCommandSupported(void*, int) const': OniDriverHandler.h:171:32: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverDeviceIsCommandSupported' 171 | return (*funcs.oniDriverDeviceIsCommandSupported)(deviceHandle, commandId); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h: In member function 'OniBool oni::implementation::DriverHandler::deviceIsImageRegistrationModeSupported(void*, OniImageRegistrationMode) const': OniDriverHandler.h:175:32: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverDeviceIsImageRegistrationModeSupported' 175 | return (*funcs.oniDriverDeviceIsImageRegistrationModeSupported)(deviceHandle, mode); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h: In member function 'OniStatus oni::implementation::DriverHandler::tryManualTrigger(void*) const': OniDriverHandler.h:179:32: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverDeviceTryManualTrigger' 179 | return (*funcs.oniDriverDeviceTryManualTrigger)(deviceHandle); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h: In member function 'void oni::implementation::DriverHandler::streamSetServices(void*, OniStreamServices*) const': OniDriverHandler.h:185:25: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverStreamSetServices' 185 | (*funcs.oniDriverStreamSetServices)(streamHandle, pServices); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h: In member function 'OniStatus oni::implementation::DriverHandler::streamSetProperty(void*, int, const void*, int) const': OniDriverHandler.h:189:32: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverStreamSetProperty' 189 | return (*funcs.oniDriverStreamSetProperty)(streamHandle, propertyId, data, dataSize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h: In member function 'OniStatus oni::implementation::DriverHandler::streamGetProperty(void*, int, void*, int*) const': OniDriverHandler.h:193:32: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverStreamGetProperty' 193 | return (*funcs.oniDriverStreamGetProperty)(streamHandle, propertyId, data, pDataSize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h: In member function 'OniBool oni::implementation::DriverHandler::streamIsPropertySupported(void*, int) const': OniDriverHandler.h:197:32: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverStreamIsPropertySupported' 197 | return (*funcs.oniDriverStreamIsPropertySupported)(streamHandle, propertyId); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h: In member function 'void oni::implementation::DriverHandler::streamSetPropertyChangedCallback(void*, int, void*) const': OniDriverHandler.h:201:25: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverStreamSetPropertyChangedCallback' 201 | (*funcs.oniDriverStreamSetPropertyChangedCallback)(streamHandle, handler, pCookie); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h: In member function 'void oni::implementation::DriverHandler::streamNotifyAllProperties(void*) const': OniDriverHandler.h:205:25: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverStreamNotifyAllProperties' 205 | (*funcs.oniDriverStreamNotifyAllProperties)(streamHandle); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h: In member function 'OniStatus oni::implementation::DriverHandler::streamInvoke(void*, int, const void*, int) const': OniDriverHandler.h:209:32: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverStreamInvoke' 209 | return (*funcs.oniDriverStreamInvoke)(streamHandle, commandId, data, dataSize); | ^~~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h: In member function 'OniBool oni::implementation::DriverHandler::streamIsCommandSupported(void*, int) const': OniDriverHandler.h:213:32: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverStreamIsCommandSupported' 213 | return (*funcs.oniDriverStreamIsCommandSupported)(streamHandle, commandId); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h: In member function 'OniStatus oni::implementation::DriverHandler::streamStart(void*) const': OniDriverHandler.h:218:32: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverStreamStart' 218 | return (*funcs.oniDriverStreamStart)(streamHandle); | ^~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h: In member function 'void oni::implementation::DriverHandler::streamStop(void*) const': OniDriverHandler.h:222:25: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverStreamStop' 222 | (*funcs.oniDriverStreamStop)(streamHandle); | ^~~~~~~~~~~~~~~~~~~ OniDriverHandler.h: In member function 'int oni::implementation::DriverHandler::streamGetRequiredFrameSize(void*) const': OniDriverHandler.h:227:32: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverStreamGetRequiredFrameSize' 227 | return (*funcs.oniDriverStreamGetRequiredFrameSize)(streamHandle); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h: In member function 'void oni::implementation::DriverHandler::streamSetNewFrameCallback(void*, int, void*) const': OniDriverHandler.h:232:25: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverStreamSetNewFrameCallback' 232 | (*funcs.oniDriverStreamSetNewFrameCallback)(streamHandle, handler, pCookie); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h: In member function 'OniStatus oni::implementation::DriverHandler::convertDepthPointToColor(void*, void*, int, int, int, int*, int*) const': OniDriverHandler.h:237:32: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverStreamConvertDepthToColorCoordinates' 237 | return (*funcs.oniDriverStreamConvertDepthToColorCoordinates)(depthStreamHandle, colorStreamHandle, depthX, depthY, DepthZ, pColorX, pColorY); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h: In member function 'void* oni::implementation::DriverHandler::enableFrameSync(void**, int) const': OniDriverHandler.h:242:32: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverEnableFrameSync' 242 | return (*funcs.oniDriverEnableFrameSync)(streamHandles, streamCount); | ^~~~~~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h: In member function 'void oni::implementation::DriverHandler::disableFrameSync(void*) const': OniDriverHandler.h:246:32: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverDisableFrameSync' 246 | return (*funcs.oniDriverDisableFrameSync)(frameSyncGroup); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:178:1: note: in expansion of macro 'ONI_C_API' 178 | ONI_C_API void oniRecorderStop(OniRecorderHandle recorder); | ^~~~~~~~~ In file included from OniDevice.h:25: OniFrameManager.h: At global scope: OniFrameManager.h:12:32: error: expected ')' before '*' token 12 | typedef void (ONI_CALLBACK_TYPE* BackToPoolFuncPtr)(struct OniFrameInternal* pBuffer, void* pCookie); | ~ ^ | ) OniFrameManager.h:13:32: error: expected ')' before '*' token 13 | typedef void (ONI_CALLBACK_TYPE* FreeBufferFuncPtr)(void* data, void* pCookie); | ~ ^ | ) ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:187:1: note: in expansion of macro 'ONI_C_API' 187 | ONI_C_API OniStatus oniRecorderDestroy(OniRecorderHandle* pRecorder); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:189:1: note: in expansion of macro 'ONI_C_API' 189 | ONI_C_API OniStatus oniCoordinateConverterDepthToWorld(OniStreamHandle depthStream, float depthX, float depthY, float depthZ, float* pWorldX, float* pWorldY, float* pWorldZ); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:191:1: note: in expansion of macro 'ONI_C_API' 191 | ONI_C_API OniStatus oniCoordinateConverterWorldToDepth(OniStreamHandle depthStream, float worldX, float worldY, float worldZ, float* pDepthX, float* pDepthY, float* pDepthZ); | ^~~~~~~~~ OniFrameManager.h:18:9: error: 'BackToPoolFuncPtr' does not name a type 18 | BackToPoolFuncPtr backToPoolFunc; // callback function to be called when frame reached zero refs and returned to pool | ^~~~~~~~~~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:193:1: note: in expansion of macro 'ONI_C_API' 193 | ONI_C_API OniStatus oniCoordinateConverterDepthToColor(OniStreamHandle depthStream, OniStreamHandle colorStream, int depthX, int depthY, OniDepthPixel depthZ, int* pColorX, int* pColorY); | ^~~~~~~~~ make[1]: *** Waiting for unfinished jobs.... OniFrameManager.h:18:9: error: 'BackToPoolFuncPtr' does not name a type 18 | BackToPoolFuncPtr backToPoolFunc; // callback function to be called when frame reached zero refs and returned to pool | ^~~~~~~~~~~~~~~~~ OniFrameManager.h:20:9: error: 'FreeBufferFuncPtr' does not name a type 20 | FreeBufferFuncPtr freeBufferFunc; // callback function for freeing the frame buffer | ^~~~~~~~~~~~~~~~~ OniFrameManager.h:20:9: error: 'FreeBufferFuncPtr' does not name a type 20 | FreeBufferFuncPtr freeBufferFunc; // callback function for freeing the frame buffer | ^~~~~~~~~~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:205:1: note: in expansion of macro 'ONI_C_API' 205 | ONI_C_API OniStatus oniSetLogOutputFolder(const char* strOutputFolder); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:216:1: note: in expansion of macro 'ONI_C_API' 216 | ONI_C_API OniStatus oniGetLogFileName(char* strFileName, int nBufferSize); | ^~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:226:1: note: in expansion of macro 'ONI_C_API' 226 | ONI_C_API OniStatus oniSetLogMinSeverity(int nMinSeverity); | ^~~~~~~~~ In file included from OniDevice.h:26: OniSensor.h:23:43: error: 'OniFrameAllocBufferCallback' has not been declared 23 | OniStatus setFrameBufferAllocator(OniFrameAllocBufferCallback alloc, OniFrameFreeBufferCallback free, void* pCookie); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ OniSensor.h:23:78: error: 'OniFrameFreeBufferCallback' has not been declared 23 | OniStatus setFrameBufferAllocator(OniFrameAllocBufferCallback alloc, OniFrameFreeBufferCallback free, void* pCookie); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:236:1: note: in expansion of macro 'ONI_C_API' 236 | ONI_C_API OniStatus oniSetLogConsoleOutput(OniBool bConsoleOutput); | ^~~~~~~~~ OniSensor.h:40:20: error: expected ';' at end of member declaration 40 | static int ONI_CALLBACK_TYPE getDefaultRequiredFrameSizeCallback(void* streamServices); | ^~~~~~~~~~~~~~~~~ | ; OniSensor.h:40:38: error: ISO C++ forbids declaration of 'getDefaultRequiredFrameSizeCallback' with no type [-fpermissive] 40 | static int ONI_CALLBACK_TYPE getDefaultRequiredFrameSizeCallback(void* streamServices); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OniSensor.h:41:26: error: expected ';' at end of member declaration 41 | static OniFrame* ONI_CALLBACK_TYPE acquireFrameCallback(void* streamServices); | ^~~~~~~~~~~~~~~~~ | ; OniSensor.h:41:26: error: redeclaration of 'OniFrame* oni::implementation::Sensor::ONI_CALLBACK_TYPE' OniSensor.h:40:20: note: previous declaration 'int oni::implementation::Sensor::ONI_CALLBACK_TYPE' 40 | static int ONI_CALLBACK_TYPE getDefaultRequiredFrameSizeCallback(void* streamServices); | ^~~~~~~~~~~~~~~~~ OniSensor.h:41:44: error: ISO C++ forbids declaration of 'acquireFrameCallback' with no type [-fpermissive] 41 | static OniFrame* ONI_CALLBACK_TYPE acquireFrameCallback(void* streamServices); | ^~~~~~~~~~~~~~~~~~~~ OniSensor.h:42:21: error: variable or field 'ONI_CALLBACK_TYPE' declared void 42 | static void ONI_CALLBACK_TYPE releaseFrameCallback(void* streamServices, OniFrame* pFrame); | ^~~~~~~~~~~~~~~~~ OniSensor.h:42:21: error: expected ';' at end of member declaration 42 | static void ONI_CALLBACK_TYPE releaseFrameCallback(void* streamServices, OniFrame* pFrame); | ^~~~~~~~~~~~~~~~~ | ; OniSensor.h:42:39: error: ISO C++ forbids declaration of 'releaseFrameCallback' with no type [-fpermissive] 42 | static void ONI_CALLBACK_TYPE releaseFrameCallback(void* streamServices, OniFrame* pFrame); | ^~~~~~~~~~~~~~~~~~~~ OniSensor.h:43:21: error: variable or field 'ONI_CALLBACK_TYPE' declared void 43 | static void ONI_CALLBACK_TYPE addFrameRefCallback(void* streamServices, OniFrame* pFrame); | ^~~~~~~~~~~~~~~~~ OniSensor.h:43:21: error: expected ';' at end of member declaration 43 | static void ONI_CALLBACK_TYPE addFrameRefCallback(void* streamServices, OniFrame* pFrame); | ^~~~~~~~~~~~~~~~~ | ; OniSensor.h:43:39: error: ISO C++ forbids declaration of 'addFrameRefCallback' with no type [-fpermissive] 43 | static void ONI_CALLBACK_TYPE addFrameRefCallback(void* streamServices, OniFrame* pFrame); | ^~~~~~~~~~~~~~~~~~~ OniSensor.h:52:22: error: expected ';' at end of member declaration 52 | static void* ONI_CALLBACK_TYPE allocFrameBufferFromPoolCallback(int size, void* pCookie); | ^~~~~~~~~~~~~~~~~ | ; OniSensor.h:52:22: error: redeclaration of 'void* oni::implementation::Sensor::ONI_CALLBACK_TYPE' OniSensor.h:40:20: note: previous declaration 'int oni::implementation::Sensor::ONI_CALLBACK_TYPE' 40 | static int ONI_CALLBACK_TYPE getDefaultRequiredFrameSizeCallback(void* streamServices); | ^~~~~~~~~~~~~~~~~ OniSensor.h:52:40: error: ISO C++ forbids declaration of 'allocFrameBufferFromPoolCallback' with no type [-fpermissive] 52 | static void* ONI_CALLBACK_TYPE allocFrameBufferFromPoolCallback(int size, void* pCookie); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OniSensor.h:53:21: error: variable or field 'ONI_CALLBACK_TYPE' declared void 53 | static void ONI_CALLBACK_TYPE releaseFrameBufferToPoolCallback(void* pBuffer, void* pCookie); | ^~~~~~~~~~~~~~~~~ OniSensor.h:53:21: error: expected ';' at end of member declaration 53 | static void ONI_CALLBACK_TYPE releaseFrameBufferToPoolCallback(void* pBuffer, void* pCookie); | ^~~~~~~~~~~~~~~~~ | ; OniSensor.h:53:39: error: ISO C++ forbids declaration of 'releaseFrameBufferToPoolCallback' with no type [-fpermissive] 53 | static void ONI_CALLBACK_TYPE releaseFrameBufferToPoolCallback(void* pBuffer, void* pCookie); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OniSensor.h:54:21: error: variable or field 'ONI_CALLBACK_TYPE' declared void 54 | static void ONI_CALLBACK_TYPE freeFrameBufferMemoryCallback(void* pBuffer, void* pCookie); | ^~~~~~~~~~~~~~~~~ OniSensor.h:54:21: error: expected ';' at end of member declaration 54 | static void ONI_CALLBACK_TYPE freeFrameBufferMemoryCallback(void* pBuffer, void* pCookie); | ^~~~~~~~~~~~~~~~~ | ; OniSensor.h:54:39: error: ISO C++ forbids declaration of 'freeFrameBufferMemoryCallback' with no type [-fpermissive] 54 | static void ONI_CALLBACK_TYPE freeFrameBufferMemoryCallback(void* pBuffer, void* pCookie); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OniSensor.h:55:21: error: variable or field 'ONI_CALLBACK_TYPE' declared void 55 | static void ONI_CALLBACK_TYPE frameBackToPoolCallback(OniFrameInternal* pFrame, void* pCookie); | ^~~~~~~~~~~~~~~~~ OniSensor.h:55:21: error: expected ';' at end of member declaration 55 | static void ONI_CALLBACK_TYPE frameBackToPoolCallback(OniFrameInternal* pFrame, void* pCookie); | ^~~~~~~~~~~~~~~~~ | ; OniSensor.h:55:39: error: ISO C++ forbids declaration of 'frameBackToPoolCallback' with no type [-fpermissive] 55 | static void ONI_CALLBACK_TYPE frameBackToPoolCallback(OniFrameInternal* pFrame, void* pCookie); | ^~~~~~~~~~~~~~~~~~~~~~~ OniSensor.h:57:21: error: variable or field 'ONI_CALLBACK_TYPE' declared void 57 | static void ONI_CALLBACK_TYPE newFrameCallback(void* streamHandle, OniFrame* pFrame, void* pCookie); | ^~~~~~~~~~~~~~~~~ ../../Include/OniPlatform.h:54:39: error: 'ONI_API_EXPORT' does not name a type; did you mean 'XN_API_EXPORT'? 54 | # define ONI_C_API_EXPORT ONI_C ONI_API_EXPORT | ^~~~~~~~~~~~~~ ../../Include/OniPlatform.h:64:26: note: in expansion of macro 'ONI_C_API_EXPORT' 64 | # define ONI_C_API ONI_C_API_EXPORT | ^~~~~~~~~~~~~~~~ ../../Include/OniCAPI.h:246:1: note: in expansion of macro 'ONI_C_API' 246 | ONI_C_API OniStatus oniSetLogFileOutput(OniBool bFileOutput); | ^~~~~~~~~ OniSensor.h:57:21: error: expected ';' at end of member declaration 57 | static void ONI_CALLBACK_TYPE newFrameCallback(void* streamHandle, OniFrame* pFrame, void* pCookie); | ^~~~~~~~~~~~~~~~~ | ; OniSensor.h:57:39: error: ISO C++ forbids declaration of 'newFrameCallback' with no type [-fpermissive] 57 | static void ONI_CALLBACK_TYPE newFrameCallback(void* streamHandle, OniFrame* pFrame, void* pCookie); | ^~~~~~~~~~~~~~~~ OniSensor.h:75:9: error: 'OniFrameAllocBufferCallback' does not name a type 75 | OniFrameAllocBufferCallback m_allocFrameBufferCallback; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OniDevice.h:26, from OniDeviceDriver.h:29: OniSensor.h:23:43: error: 'OniFrameAllocBufferCallback' has not been declared 23 | OniStatus setFrameBufferAllocator(OniFrameAllocBufferCallback alloc, OniFrameFreeBufferCallback free, void* pCookie); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ OniSensor.h:23:78: error: 'OniFrameFreeBufferCallback' has not been declared 23 | OniStatus setFrameBufferAllocator(OniFrameAllocBufferCallback alloc, OniFrameFreeBufferCallback free, void* pCookie); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ OniSensor.h:76:9: error: 'OniFrameFreeBufferCallback' does not name a type 76 | OniFrameFreeBufferCallback m_freeFrameBufferCallback; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ OniDevice.h:83:21: error: variable or field 'ONI_CALLBACK_TYPE' declared void 83 | static void ONI_CALLBACK_TYPE stream_PropertyChanged(void* deviceHandle, int propertyId, const void* data, int dataSize, void* pCookie); | ^~~~~~~~~~~~~~~~~ OniDevice.h:83:21: error: expected ';' at end of member declaration 83 | static void ONI_CALLBACK_TYPE stream_PropertyChanged(void* deviceHandle, int propertyId, const void* data, int dataSize, void* pCookie); | ^~~~~~~~~~~~~~~~~ | ; OniDevice.h:83:39: error: ISO C++ forbids declaration of 'stream_PropertyChanged' with no type [-fpermissive] 83 | static void ONI_CALLBACK_TYPE stream_PropertyChanged(void* deviceHandle, int propertyId, const void* data, int dataSize, void* pCookie); | ^~~~~~~~~~~~~~~~~~~~~~ OniSensor.h:40:20: error: expected ';' at end of member declaration 40 | static int ONI_CALLBACK_TYPE getDefaultRequiredFrameSizeCallback(void* streamServices); | ^~~~~~~~~~~~~~~~~ | ; OniSensor.h:40:38: error: ISO C++ forbids declaration of 'getDefaultRequiredFrameSizeCallback' with no type [-fpermissive] 40 | static int ONI_CALLBACK_TYPE getDefaultRequiredFrameSizeCallback(void* streamServices); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OniSensor.h:41:26: error: expected ';' at end of member declaration 41 | static OniFrame* ONI_CALLBACK_TYPE acquireFrameCallback(void* streamServices); | ^~~~~~~~~~~~~~~~~ | ; OniSensor.h:41:26: error: redeclaration of 'OniFrame* oni::implementation::Sensor::ONI_CALLBACK_TYPE' OniSensor.h:40:20: note: previous declaration 'int oni::implementation::Sensor::ONI_CALLBACK_TYPE' 40 | static int ONI_CALLBACK_TYPE getDefaultRequiredFrameSizeCallback(void* streamServices); | ^~~~~~~~~~~~~~~~~ OniSensor.h:41:44: error: ISO C++ forbids declaration of 'acquireFrameCallback' with no type [-fpermissive] 41 | static OniFrame* ONI_CALLBACK_TYPE acquireFrameCallback(void* streamServices); | ^~~~~~~~~~~~~~~~~~~~ OniSensor.h:42:21: error: variable or field 'ONI_CALLBACK_TYPE' declared void 42 | static void ONI_CALLBACK_TYPE releaseFrameCallback(void* streamServices, OniFrame* pFrame); | ^~~~~~~~~~~~~~~~~ OniSensor.h:42:21: error: expected ';' at end of member declaration 42 | static void ONI_CALLBACK_TYPE releaseFrameCallback(void* streamServices, OniFrame* pFrame); | ^~~~~~~~~~~~~~~~~ | ; OniSensor.h:42:39: error: ISO C++ forbids declaration of 'releaseFrameCallback' with no type [-fpermissive] 42 | static void ONI_CALLBACK_TYPE releaseFrameCallback(void* streamServices, OniFrame* pFrame); | ^~~~~~~~~~~~~~~~~~~~ OniSensor.h:43:21: error: variable or field 'ONI_CALLBACK_TYPE' declared void 43 | static void ONI_CALLBACK_TYPE addFrameRefCallback(void* streamServices, OniFrame* pFrame); | ^~~~~~~~~~~~~~~~~ OniSensor.h:43:21: error: expected ';' at end of member declaration 43 | static void ONI_CALLBACK_TYPE addFrameRefCallback(void* streamServices, OniFrame* pFrame); | ^~~~~~~~~~~~~~~~~ | ; OniSensor.h:43:39: error: ISO C++ forbids declaration of 'addFrameRefCallback' with no type [-fpermissive] 43 | static void ONI_CALLBACK_TYPE addFrameRefCallback(void* streamServices, OniFrame* pFrame); | ^~~~~~~~~~~~~~~~~~~ OniSensor.h:52:22: error: expected ';' at end of member declaration 52 | static void* ONI_CALLBACK_TYPE allocFrameBufferFromPoolCallback(int size, void* pCookie); | ^~~~~~~~~~~~~~~~~ | ; OniSensor.h:52:22: error: redeclaration of 'void* oni::implementation::Sensor::ONI_CALLBACK_TYPE' OniSensor.h:40:20: note: previous declaration 'int oni::implementation::Sensor::ONI_CALLBACK_TYPE' 40 | static int ONI_CALLBACK_TYPE getDefaultRequiredFrameSizeCallback(void* streamServices); | ^~~~~~~~~~~~~~~~~ OniSensor.h:52:40: error: ISO C++ forbids declaration of 'allocFrameBufferFromPoolCallback' with no type [-fpermissive] 52 | static void* ONI_CALLBACK_TYPE allocFrameBufferFromPoolCallback(int size, void* pCookie); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OniSensor.h:53:21: error: variable or field 'ONI_CALLBACK_TYPE' declared void 53 | static void ONI_CALLBACK_TYPE releaseFrameBufferToPoolCallback(void* pBuffer, void* pCookie); | ^~~~~~~~~~~~~~~~~ OniSensor.h:53:21: error: expected ';' at end of member declaration 53 | static void ONI_CALLBACK_TYPE releaseFrameBufferToPoolCallback(void* pBuffer, void* pCookie); | ^~~~~~~~~~~~~~~~~ | ; OniSensor.h:53:39: error: ISO C++ forbids declaration of 'releaseFrameBufferToPoolCallback' with no type [-fpermissive] 53 | static void ONI_CALLBACK_TYPE releaseFrameBufferToPoolCallback(void* pBuffer, void* pCookie); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OniSensor.h:54:21: error: variable or field 'ONI_CALLBACK_TYPE' declared void 54 | static void ONI_CALLBACK_TYPE freeFrameBufferMemoryCallback(void* pBuffer, void* pCookie); | ^~~~~~~~~~~~~~~~~ OniSensor.h:54:21: error: expected ';' at end of member declaration 54 | static void ONI_CALLBACK_TYPE freeFrameBufferMemoryCallback(void* pBuffer, void* pCookie); | ^~~~~~~~~~~~~~~~~ | ; OniSensor.h:54:39: error: ISO C++ forbids declaration of 'freeFrameBufferMemoryCallback' with no type [-fpermissive] 54 | static void ONI_CALLBACK_TYPE freeFrameBufferMemoryCallback(void* pBuffer, void* pCookie); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OniSensor.h:55:21: error: variable or field 'ONI_CALLBACK_TYPE' declared void 55 | static void ONI_CALLBACK_TYPE frameBackToPoolCallback(OniFrameInternal* pFrame, void* pCookie); | ^~~~~~~~~~~~~~~~~ OniSensor.h:55:21: error: expected ';' at end of member declaration 55 | static void ONI_CALLBACK_TYPE frameBackToPoolCallback(OniFrameInternal* pFrame, void* pCookie); | ^~~~~~~~~~~~~~~~~ | ; OniSensor.h:55:39: error: ISO C++ forbids declaration of 'frameBackToPoolCallback' with no type [-fpermissive] 55 | static void ONI_CALLBACK_TYPE frameBackToPoolCallback(OniFrameInternal* pFrame, void* pCookie); | ^~~~~~~~~~~~~~~~~~~~~~~ OniSensor.h:57:21: error: variable or field 'ONI_CALLBACK_TYPE' declared void 57 | static void ONI_CALLBACK_TYPE newFrameCallback(void* streamHandle, OniFrame* pFrame, void* pCookie); | ^~~~~~~~~~~~~~~~~ OniSensor.h:57:21: error: expected ';' at end of member declaration 57 | static void ONI_CALLBACK_TYPE newFrameCallback(void* streamHandle, OniFrame* pFrame, void* pCookie); | ^~~~~~~~~~~~~~~~~ | ; OniSensor.h:57:39: error: ISO C++ forbids declaration of 'newFrameCallback' with no type [-fpermissive] 57 | static void ONI_CALLBACK_TYPE newFrameCallback(void* streamHandle, OniFrame* pFrame, void* pCookie); | ^~~~~~~~~~~~~~~~ In file included from OniDevice.cpp:22: OniStream.h:67:44: error: 'OniGeneralCallback' has not been declared 67 | OniStatus registerNewFrameCallback(OniGeneralCallback handler, void* pCookie, XnCallbackHandle* pHandle); | ^~~~~~~~~~~~~~~~~~ OniStream.h:85:43: error: 'OniFrameAllocBufferCallback' has not been declared 85 | OniStatus setFrameBufferAllocator(OniFrameAllocBufferCallback alloc, OniFrameFreeBufferCallback free, void* pCookie); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ OniStream.h:85:78: error: 'OniFrameFreeBufferCallback' has not been declared 85 | OniStatus setFrameBufferAllocator(OniFrameAllocBufferCallback alloc, OniFrameFreeBufferCallback free, void* pCookie); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ OniStream.h:89:100: error: 'OniDepthPixel' has not been declared 89 | OniStatus convertDepthToColorCoordinates(VideoStream* colorStream, int depthX, int depthY, OniDepthPixel depthZ, int* pColorX, int* pColorY); | ^~~~~~~~~~~~~ OniStream.h:113:21: error: variable or field 'ONI_CALLBACK_TYPE' declared void 113 | static void ONI_CALLBACK_TYPE stream_NewFrame(OniFrame* pFrame, void* pCookie); | ^~~~~~~~~~~~~~~~~ OniStream.h:113:21: error: expected ';' at end of member declaration 113 | static void ONI_CALLBACK_TYPE stream_NewFrame(OniFrame* pFrame, void* pCookie); | ^~~~~~~~~~~~~~~~~ | ; OniStream.h:113:39: error: ISO C++ forbids declaration of 'stream_NewFrame' with no type [-fpermissive] 113 | static void ONI_CALLBACK_TYPE stream_NewFrame(OniFrame* pFrame, void* pCookie); | ^~~~~~~~~~~~~~~ OniStream.h:114:21: error: variable or field 'ONI_CALLBACK_TYPE' declared void 114 | static void ONI_CALLBACK_TYPE stream_PropertyChanged(void* streamHandle, int propertyId, const void* data, int dataSize, void* pCookie); | ^~~~~~~~~~~~~~~~~ OniStream.h:114:21: error: expected ';' at end of member declaration 114 | static void ONI_CALLBACK_TYPE stream_PropertyChanged(void* streamHandle, int propertyId, const void* data, int dataSize, void* pCookie); | ^~~~~~~~~~~~~~~~~ | ; OniStream.h:114:39: error: ISO C++ forbids declaration of 'stream_PropertyChanged' with no type [-fpermissive] 114 | static void ONI_CALLBACK_TYPE stream_PropertyChanged(void* streamHandle, int propertyId, const void* data, int dataSize, void* pCookie); | ^~~~~~~~~~~~~~~~~~~~~~ OniSensor.h:75:9: error: 'OniFrameAllocBufferCallback' does not name a type 75 | OniFrameAllocBufferCallback m_allocFrameBufferCallback; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OniContext.h:24, from OniDevice.cpp:23: OniDeviceDriver.h:35:32: error: expected initializer before 'DeviceCallback' 35 | typedef void ONI_CALLBACK_TYPE DeviceCallback(Device*, void*); | ^~~~~~~~~~~~~~ OniDeviceDriver.h:36:32: error: expected initializer before 'DeviceStateCallback' 36 | typedef void ONI_CALLBACK_TYPE DeviceStateCallback(Device*, OniDeviceState, void*); | ^~~~~~~~~~~~~~~~~~~ OniDeviceDriver.h:51:51: error: 'DeviceCallback' has not been declared 51 | OniStatus registerDeviceConnectedCallback(DeviceCallback handler, void* pCookie, OniCallbackHandle& handle); | ^~~~~~~~~~~~~~ OniDeviceDriver.h:53:54: error: 'DeviceCallback' has not been declared 53 | OniStatus registerDeviceDisconnectedCallback(DeviceCallback handler, void* pCookie, OniCallbackHandle& handle); | ^~~~~~~~~~~~~~ OniDeviceDriver.h:55:54: error: 'DeviceStateCallback' has not been declared 55 | OniStatus registerDeviceStateChangedCallback(DeviceStateCallback handler, void* pCookie, OniCallbackHandle& handle); | ^~~~~~~~~~~~~~~~~~~ OniDeviceDriver.h:62:21: error: variable or field 'ONI_CALLBACK_TYPE' declared void 62 | static void ONI_CALLBACK_TYPE driver_DeviceConnected(const OniDeviceInfo* pInfo, void* pCookie); | ^~~~~~~~~~~~~~~~~ OniDeviceDriver.h:62:21: error: expected ';' at end of member declaration 62 | static void ONI_CALLBACK_TYPE driver_DeviceConnected(const OniDeviceInfo* pInfo, void* pCookie); | ^~~~~~~~~~~~~~~~~ | ; OniDeviceDriver.h:62:39: error: ISO C++ forbids declaration of 'driver_DeviceConnected' with no type [-fpermissive] 62 | static void ONI_CALLBACK_TYPE driver_DeviceConnected(const OniDeviceInfo* pInfo, void* pCookie); | ^~~~~~~~~~~~~~~~~~~~~~ OniDeviceDriver.h:63:21: error: variable or field 'ONI_CALLBACK_TYPE' declared void 63 | static void ONI_CALLBACK_TYPE driver_DeviceDisconnected(const OniDeviceInfo* pInfo, void* pCookie); | ^~~~~~~~~~~~~~~~~ OniDeviceDriver.h:63:21: error: expected ';' at end of member declaration 63 | static void ONI_CALLBACK_TYPE driver_DeviceDisconnected(const OniDeviceInfo* pInfo, void* pCookie); | ^~~~~~~~~~~~~~~~~ | ; OniDeviceDriver.h:63:39: error: ISO C++ forbids declaration of 'driver_DeviceDisconnected' with no type [-fpermissive] 63 | static void ONI_CALLBACK_TYPE driver_DeviceDisconnected(const OniDeviceInfo* pInfo, void* pCookie); | ^~~~~~~~~~~~~~~~~~~~~~~~~ OniDeviceDriver.h:64:21: error: variable or field 'ONI_CALLBACK_TYPE' declared void 64 | static void ONI_CALLBACK_TYPE driver_DeviceStateChanged(const OniDeviceInfo* pInfo, OniDeviceState deviceState, void* pCookie); | ^~~~~~~~~~~~~~~~~ OniDeviceDriver.h:64:21: error: expected ';' at end of member declaration 64 | static void ONI_CALLBACK_TYPE driver_DeviceStateChanged(const OniDeviceInfo* pInfo, OniDeviceState deviceState, void* pCookie); | ^~~~~~~~~~~~~~~~~ | ; OniSensor.h:76:9: error: 'OniFrameFreeBufferCallback' does not name a type 76 | OniFrameFreeBufferCallback m_freeFrameBufferCallback; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ OniDeviceDriver.h:64:39: error: ISO C++ forbids declaration of 'driver_DeviceStateChanged' with no type [-fpermissive] 64 | static void ONI_CALLBACK_TYPE driver_DeviceStateChanged(const OniDeviceInfo* pInfo, OniDeviceState deviceState, void* pCookie); | ^~~~~~~~~~~~~~~~~~~~~~~~~ OniDevice.h:83:21: error: variable or field 'ONI_CALLBACK_TYPE' declared void 83 | static void ONI_CALLBACK_TYPE stream_PropertyChanged(void* deviceHandle, int propertyId, const void* data, int dataSize, void* pCookie); | ^~~~~~~~~~~~~~~~~ OniDevice.h:83:21: error: expected ';' at end of member declaration 83 | static void ONI_CALLBACK_TYPE stream_PropertyChanged(void* deviceHandle, int propertyId, const void* data, int dataSize, void* pCookie); | ^~~~~~~~~~~~~~~~~ | ; OniDevice.h:83:39: error: ISO C++ forbids declaration of 'stream_PropertyChanged' with no type [-fpermissive] 83 | static void ONI_CALLBACK_TYPE stream_PropertyChanged(void* deviceHandle, int propertyId, const void* data, int dataSize, void* pCookie); | ^~~~~~~~~~~~~~~~~~~~~~ OniDeviceDriver.h:35:32: error: expected initializer before 'DeviceCallback' 35 | typedef void ONI_CALLBACK_TYPE DeviceCallback(Device*, void*); | ^~~~~~~~~~~~~~ OniDeviceDriver.h:36:32: error: expected initializer before 'DeviceStateCallback' 36 | typedef void ONI_CALLBACK_TYPE DeviceStateCallback(Device*, OniDeviceState, void*); | ^~~~~~~~~~~~~~~~~~~ OniDeviceDriver.h:51:51: error: 'DeviceCallback' has not been declared 51 | OniStatus registerDeviceConnectedCallback(DeviceCallback handler, void* pCookie, OniCallbackHandle& handle); | ^~~~~~~~~~~~~~ OniDeviceDriver.h:53:54: error: 'DeviceCallback' has not been declared 53 | OniStatus registerDeviceDisconnectedCallback(DeviceCallback handler, void* pCookie, OniCallbackHandle& handle); | ^~~~~~~~~~~~~~ OniDeviceDriver.h:55:54: error: 'DeviceStateCallback' has not been declared 55 | OniStatus registerDeviceStateChangedCallback(DeviceStateCallback handler, void* pCookie, OniCallbackHandle& handle); | ^~~~~~~~~~~~~~~~~~~ OniDeviceDriver.h:62:21: error: variable or field 'ONI_CALLBACK_TYPE' declared void 62 | static void ONI_CALLBACK_TYPE driver_DeviceConnected(const OniDeviceInfo* pInfo, void* pCookie); | ^~~~~~~~~~~~~~~~~ OniDeviceDriver.h:62:21: error: expected ';' at end of member declaration 62 | static void ONI_CALLBACK_TYPE driver_DeviceConnected(const OniDeviceInfo* pInfo, void* pCookie); | ^~~~~~~~~~~~~~~~~ | ; OniDeviceDriver.h:62:39: error: ISO C++ forbids declaration of 'driver_DeviceConnected' with no type [-fpermissive] 62 | static void ONI_CALLBACK_TYPE driver_DeviceConnected(const OniDeviceInfo* pInfo, void* pCookie); | ^~~~~~~~~~~~~~~~~~~~~~ OniDeviceDriver.h:63:21: error: variable or field 'ONI_CALLBACK_TYPE' declared void 63 | static void ONI_CALLBACK_TYPE driver_DeviceDisconnected(const OniDeviceInfo* pInfo, void* pCookie); | ^~~~~~~~~~~~~~~~~ OniDeviceDriver.h:63:21: error: expected ';' at end of member declaration 63 | static void ONI_CALLBACK_TYPE driver_DeviceDisconnected(const OniDeviceInfo* pInfo, void* pCookie); | ^~~~~~~~~~~~~~~~~ | ; OniDeviceDriver.h:63:39: error: ISO C++ forbids declaration of 'driver_DeviceDisconnected' with no type [-fpermissive] 63 | static void ONI_CALLBACK_TYPE driver_DeviceDisconnected(const OniDeviceInfo* pInfo, void* pCookie); | ^~~~~~~~~~~~~~~~~~~~~~~~~ OniDeviceDriver.h:64:21: error: variable or field 'ONI_CALLBACK_TYPE' declared void 64 | static void ONI_CALLBACK_TYPE driver_DeviceStateChanged(const OniDeviceInfo* pInfo, OniDeviceState deviceState, void* pCookie); | ^~~~~~~~~~~~~~~~~ OniDeviceDriver.h:64:21: error: expected ';' at end of member declaration 64 | static void ONI_CALLBACK_TYPE driver_DeviceStateChanged(const OniDeviceInfo* pInfo, OniDeviceState deviceState, void* pCookie); | ^~~~~~~~~~~~~~~~~ | ; OniDeviceDriver.h:64:39: error: ISO C++ forbids declaration of 'driver_DeviceStateChanged' with no type [-fpermissive] 64 | static void ONI_CALLBACK_TYPE driver_DeviceStateChanged(const OniDeviceInfo* pInfo, OniDeviceState deviceState, void* pCookie); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OniDeviceDriver.cpp:23: OniStream.h:67:44: error: 'OniGeneralCallback' has not been declared 67 | OniStatus registerNewFrameCallback(OniGeneralCallback handler, void* pCookie, XnCallbackHandle* pHandle); | ^~~~~~~~~~~~~~~~~~ OniStream.h:85:43: error: 'OniFrameAllocBufferCallback' has not been declared 85 | OniStatus setFrameBufferAllocator(OniFrameAllocBufferCallback alloc, OniFrameFreeBufferCallback free, void* pCookie); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ OniStream.h:85:78: error: 'OniFrameFreeBufferCallback' has not been declared 85 | OniStatus setFrameBufferAllocator(OniFrameAllocBufferCallback alloc, OniFrameFreeBufferCallback free, void* pCookie); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ OniStream.h:89:100: error: 'OniDepthPixel' has not been declared 89 | OniStatus convertDepthToColorCoordinates(VideoStream* colorStream, int depthX, int depthY, OniDepthPixel depthZ, int* pColorX, int* pColorY); | ^~~~~~~~~~~~~ OniStream.h:113:21: error: variable or field 'ONI_CALLBACK_TYPE' declared void 113 | static void ONI_CALLBACK_TYPE stream_NewFrame(OniFrame* pFrame, void* pCookie); | ^~~~~~~~~~~~~~~~~ OniStream.h:113:21: error: expected ';' at end of member declaration 113 | static void ONI_CALLBACK_TYPE stream_NewFrame(OniFrame* pFrame, void* pCookie); | ^~~~~~~~~~~~~~~~~ | ; OniStream.h:113:39: error: ISO C++ forbids declaration of 'stream_NewFrame' with no type [-fpermissive] 113 | static void ONI_CALLBACK_TYPE stream_NewFrame(OniFrame* pFrame, void* pCookie); | ^~~~~~~~~~~~~~~ OniStream.h:114:21: error: variable or field 'ONI_CALLBACK_TYPE' declared void 114 | static void ONI_CALLBACK_TYPE stream_PropertyChanged(void* streamHandle, int propertyId, const void* data, int dataSize, void* pCookie); | ^~~~~~~~~~~~~~~~~ OniStream.h:114:21: error: expected ';' at end of member declaration 114 | static void ONI_CALLBACK_TYPE stream_PropertyChanged(void* streamHandle, int propertyId, const void* data, int dataSize, void* pCookie); | ^~~~~~~~~~~~~~~~~ | ; OniStream.h:114:39: error: ISO C++ forbids declaration of 'stream_PropertyChanged' with no type [-fpermissive] 114 | static void ONI_CALLBACK_TYPE stream_PropertyChanged(void* streamHandle, int propertyId, const void* data, int dataSize, void* pCookie); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from OniDriverHandler.h:30: ../../Include/Driver/OniDriverTypes.h:39:32: error: expected ')' before '*' token 39 | void (ONI_CALLBACK_TYPE* errorLoggerAppend)(void* driverServices, const char* format, va_list args); | ~ ^ | ) ../../Include/Driver/OniDriverTypes.h:40:32: error: expected ')' before '*' token 40 | void (ONI_CALLBACK_TYPE* errorLoggerClear)(void* driverServices); | ~ ^ | ) ../../Include/Driver/OniDriverTypes.h:41:32: error: expected ')' before '*' token 41 | void (ONI_CALLBACK_TYPE* log)(void* driverServices, int severity, const char* file, int line, const char* mask, const char* message); | ~ ^ | ) ../../Include/Driver/OniDriverTypes.h:47:31: error: expected ')' before '*' token 47 | int (ONI_CALLBACK_TYPE* getDefaultRequiredFrameSize)(void* streamServices); | ~ ^ | ) ../../Include/Driver/OniDriverTypes.h:48:37: error: expected ')' before '*' token 48 | OniFrame* (ONI_CALLBACK_TYPE* acquireFrame)(void* streamServices); // returns a frame with size corresponding to getRequiredFrameSize() | ~ ^ | ) ../../Include/Driver/OniDriverTypes.h:49:32: error: expected ')' before '*' token 49 | void (ONI_CALLBACK_TYPE* addFrameRef)(void* streamServices, OniFrame* pframe); | ~ ^ | ) ../../Include/Driver/OniDriverTypes.h:50:32: error: expected ')' before '*' token 50 | void (ONI_CALLBACK_TYPE* releaseFrame)(void* streamServices, OniFrame* pframe); | ~ ^ | ) OniDriverHandler.h:34:32: error: expected ')' before '*' token 34 | typedef void (ONI_CALLBACK_TYPE* OniDriverDeviceConnected)(const OniDeviceInfo*, void* pCookie); | ~ ^ | ) OniDriverHandler.h:35:32: error: expected ')' before '*' token 35 | typedef void (ONI_CALLBACK_TYPE* OniDriverDeviceDisconnected)(const OniDeviceInfo*, void* pCookie); | ~ ^ | ) OniDriverHandler.h:36:32: error: expected ')' before '*' token 36 | typedef void (ONI_CALLBACK_TYPE* OniDriverDeviceStateChanged)(const OniDeviceInfo*, OniDeviceState, void* pCookie); | ~ ^ | ) OniDriverHandler.h:38:32: error: expected ')' before '*' token 38 | typedef void (ONI_CALLBACK_TYPE* OniDriverNewFrame)(void* streamHandle, OniFrame*, void* pCookie); | ~ ^ | ) OniDriverHandler.h:39:32: error: expected ')' before '*' token 39 | typedef void (ONI_CALLBACK_TYPE* OniDriverPropertyChanged)(void* sender, int propertyId, const void* data, int dataSize, void* pCookie); | ~ ^ | ) OniDriverHandler.h:44:25: error: expected ')' before '*' token 44 | void (ONI_C_DECL* oniDriverCreate)(OniDriverServices* driverServices); | ~ ^ | ) OniDriverHandler.h:45:25: error: expected ')' before '*' token 45 | void (ONI_C_DECL* oniDriverDestroy)(); | ~ ^ | ) OniDriverHandler.h:46:30: error: expected ')' before '*' token 46 | OniStatus (ONI_C_DECL* oniDriverInitialize)(OniDriverDeviceConnected connectedCallback, OniDriverDeviceDisconnected disconnectedCallback, | ~ ^ | ) OniDriverHandler.h:48:25: error: expected ')' before '*' token 48 | void (ONI_C_DECL* oniDriverRun)(); | ~ ^ | ) OniDriverHandler.h:50:30: error: expected ')' before '*' token 50 | OniStatus (ONI_C_DECL* oniDriverTryDevice)(const char* uri); | ~ ^ | ) OniDriverHandler.h:53:26: error: expected ')' before '*' token 53 | void* (ONI_C_DECL* oniDriverDeviceOpen)(const char* uri, const char* mode); | ~ ^ | ) OniDriverHandler.h:54:25: error: expected ')' before '*' token 54 | void (ONI_C_DECL* oniDriverDeviceClose)(void* deviceHandle); | ~ ^ | ) OniDriverHandler.h:56:30: error: expected ')' before '*' token 56 | OniStatus (ONI_C_DECL* oniDriverDeviceGetSensorInfoList)(void* deviceHandle, OniSensorInfo** pSensors, int* numSensors); | ~ ^ | ) OniDriverHandler.h:58:26: error: expected ')' before '*' token 58 | void* (ONI_C_DECL* oniDriverDeviceCreateStream)(void* deviceHandle, OniSensorType sensorType); | ~ ^ | ) OniDriverHandler.h:59:25: error: expected ')' before '*' token 59 | void (ONI_C_DECL* oniDriverDeviceDestroyStream)(void* deviceHandle, void* streamHandle); | ~ ^ | ) OniDriverHandler.h:61:30: error: expected ')' before '*' token 61 | OniStatus (ONI_C_DECL* oniDriverDeviceSetProperty)(void* deviceHandle, int propertyId, const void* data, int dataSize); | ~ ^ | ) OniDriverHandler.h:62:30: error: expected ')' before '*' token 62 | OniStatus (ONI_C_DECL* oniDriverDeviceGetProperty)(void* deviceHandle, int propertyId, void* data, int* pDataSize); | ~ ^ | ) OniDriverHandler.h:63:28: error: expected ')' before '*' token 63 | OniBool (ONI_C_DECL* oniDriverDeviceIsPropertySupported)(void* deviceHandle, int propertyId); | ~ ^ | ) OniDriverHandler.h:64:25: error: expected ')' before '*' token 64 | void (ONI_C_DECL* oniDriverDeviceSetPropertyChangedCallback)(void* deviceHandle, OniDriverPropertyChanged handler, void* pCookie); | ~ ^ | ) OniDriverHandler.h:65:25: error: expected ')' before '*' token 65 | void (ONI_C_DECL* oniDriverDeviceNotifyAllProperties)(void* deviceHandle); | ~ ^ | ) OniDriverHandler.h:66:30: error: expected ')' before '*' token 66 | OniStatus (ONI_C_DECL* oniDriverDeviceInvoke)(void* deviceHandle, int commandId, const void* data, int dataSize); | ~ ^ | ) OniDriverHandler.h:67:28: error: expected ')' before '*' token 67 | OniBool (ONI_C_DECL* oniDriverDeviceIsCommandSupported)(void* deviceHandle, int commandId); | ~ ^ | ) OniDriverHandler.h:68:30: error: expected ')' before '*' token 68 | OniStatus (ONI_C_DECL* oniDriverDeviceTryManualTrigger)(void* deviceHandle); | ~ ^ | ) OniDriverHandler.h:69:28: error: expected ')' before '*' token 69 | OniBool (ONI_C_DECL* oniDriverDeviceIsImageRegistrationModeSupported)(void* deviceHandle, OniImageRegistrationMode mode); | ~ ^ | ) OniDriverHandler.h:72:25: error: expected ')' before '*' token 72 | void (ONI_C_DECL* oniDriverStreamSetServices)(void* streamHandle, OniStreamServices* pServices); | ~ ^ | ) OniDriverHandler.h:73:30: error: expected ')' before '*' token 73 | OniStatus (ONI_C_DECL* oniDriverStreamSetProperty)(void* streamHandle, int propertyId, const void* data, int dataSize); | ~ ^ | ) OniDriverHandler.h:74:30: error: expected ')' before '*' token 74 | OniStatus (ONI_C_DECL* oniDriverStreamGetProperty)(void* streamHandle, int propertyId, void* data, int* pDataSize); | ~ ^ | ) OniDriverHandler.h:75:28: error: expected ')' before '*' token 75 | OniBool (ONI_C_DECL* oniDriverStreamIsPropertySupported)(void* streamHandle, int propertyId); | ~ ^ | ) OniDriverHandler.h:76:25: error: expected ')' before '*' token 76 | void (ONI_C_DECL* oniDriverStreamSetPropertyChangedCallback)(void* streamHandle, OniDriverPropertyChanged handler, void* pCookie); | ~ ^ | ) OniDriverHandler.h:77:25: error: expected ')' before '*' token 77 | void (ONI_C_DECL* oniDriverStreamNotifyAllProperties)(void* streamHandle); | ~ ^ | ) OniDriverHandler.h:78:30: error: expected ')' before '*' token 78 | OniStatus (ONI_C_DECL* oniDriverStreamInvoke)(void* streamHandle, int commandId, const void* data, int dataSize); | ~ ^ | ) OniDriverHandler.h:79:28: error: expected ')' before '*' token 79 | OniBool (ONI_C_DECL* oniDriverStreamIsCommandSupported)(void* streamHandle, int commandId); | ~ ^ | ) OniDriverHandler.h:81:30: error: expected ')' before '*' token 81 | OniStatus (ONI_C_DECL* oniDriverStreamStart)(void* streamHandle); | ~ ^ | ) OniDriverHandler.h:82:25: error: expected ')' before '*' token 82 | void (ONI_C_DECL* oniDriverStreamStop)(void* streamHandle); | ~ ^ | ) OniDriverHandler.h:84:24: error: expected ')' before '*' token 84 | int (ONI_C_DECL* oniDriverStreamGetRequiredFrameSize)(void* streamHandle); | ~ ^ | ) OniDriverHandler.h:86:25: error: expected ')' before '*' token 86 | void (ONI_C_DECL* oniDriverStreamSetNewFrameCallback)(void* streamHandle, OniDriverNewFrame handler, void* pCookie); | ~ ^ | ) OniDriverHandler.h:87:30: error: expected ')' before '*' token 87 | OniStatus (ONI_C_DECL* oniDriverStreamConvertDepthToColorCoordinates)(void* depthStreamHandle, void* colorStreamHandle, int depthX, int depthY, OniDepthPixel depthZ, int* pColorX, int* pColorY); | ~ ^ | ) OniDriverHandler.h:89:26: error: expected ')' before '*' token 89 | void* (ONI_C_DECL* oniDriverEnableFrameSync)(void** pStreamHandles, int streamCount); | ~ ^ | ) OniDriverHandler.h:90:25: error: expected ')' before '*' token 90 | void (ONI_C_DECL* oniDriverDisableFrameSync)(void* frameSyncGroup); | ~ ^ | ) OniDriverHandler.h:110:30: error: 'OniDriverDeviceConnected' has not been declared 110 | OniStatus initialize(OniDriverDeviceConnected connectedCallback, OniDriverDeviceDisconnected disconnectedCallback, | ^~~~~~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h:110:74: error: 'OniDriverDeviceDisconnected' has not been declared 110 | OniStatus initialize(OniDriverDeviceConnected connectedCallback, OniDriverDeviceDisconnected disconnectedCallback, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h:111:41: error: 'OniDriverDeviceStateChanged' has not been declared 111 | OniDriverDeviceStateChanged deviceStateChangedCallback, void* pCookie) const | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h:157:67: error: 'OniDriverPropertyChanged' has not been declared 157 | void deviceSetPropertyChangedCallback(void* deviceHandle, OniDriverPropertyChanged handler, void* pCookie) const | ^~~~~~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h:199:67: error: 'OniDriverPropertyChanged' has not been declared 199 | void streamSetPropertyChangedCallback(void* streamHandle, OniDriverPropertyChanged handler, void* pCookie) const | ^~~~~~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h:230:60: error: 'OniDriverNewFrame' has not been declared 230 | void streamSetNewFrameCallback(void* streamHandle, OniDriverNewFrame handler, void* pCookie) const | ^~~~~~~~~~~~~~~~~ OniDriverHandler.h:235:118: error: 'OniDepthPixel' has not been declared 235 | OniStatus convertDepthPointToColor(void* depthStreamHandle, void* colorStreamHandle, int depthX, int depthY, OniDepthPixel DepthZ, int* pColorX, int* pColorY) const | ^~~~~~~~~~~~~ OniDriverHandler.h: In member function 'void oni::implementation::DriverHandler::create(OniDriverServices*) const': OniDriverHandler.h:104:25: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverCreate' 104 | (*funcs.oniDriverCreate)(driverServices); | ^~~~~~~~~~~~~~~ OniDriverHandler.h: In member function 'void oni::implementation::DriverHandler::destroy() const': OniDriverHandler.h:108:25: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverDestroy' 108 | (*funcs.oniDriverDestroy)(); | ^~~~~~~~~~~~~~~~ OniDriverHandler.h: In member function 'OniStatus oni::implementation::DriverHandler::initialize(int, int, int, void*) const': OniDriverHandler.h:113:32: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverInitialize' 113 | return (*funcs.oniDriverInitialize)(connectedCallback, disconnectedCallback, deviceStateChangedCallback, pCookie); | ^~~~~~~~~~~~~~~~~~~ OniDriverHandler.h: In member function 'OniStatus oni::implementation::DriverHandler::tryDevice(const char*) const': OniDriverHandler.h:118:32: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverTryDevice' 118 | return (*funcs.oniDriverTryDevice)(uri); | ^~~~~~~~~~~~~~~~~~ OniDriverHandler.h: In member function 'void* oni::implementation::DriverHandler::deviceOpen(const char*, const char*) const': OniDriverHandler.h:123:32: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverDeviceOpen' 123 | return (*funcs.oniDriverDeviceOpen)(uri, mode); | ^~~~~~~~~~~~~~~~~~~ OniDriverHandler.h: In member function 'void oni::implementation::DriverHandler::deviceClose(void*) const': OniDriverHandler.h:127:25: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverDeviceClose' 127 | (*funcs.oniDriverDeviceClose)(deviceHandle); | ^~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h: In member function 'OniStatus oni::implementation::DriverHandler::deviceGetSensorInfoList(void*, OniSensorInfo**, int*) const': OniDriverHandler.h:132:32: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverDeviceGetSensorInfoList' 132 | return (*funcs.oniDriverDeviceGetSensorInfoList)(deviceHandle, pSensors, numSensors); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h: In member function 'void* oni::implementation::DriverHandler::deviceCreateStream(void*, OniSensorType) const': OniDriverHandler.h:137:32: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverDeviceCreateStream' 137 | return (*funcs.oniDriverDeviceCreateStream)(deviceHandle, sensorType); // return stream | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h: In member function 'void oni::implementation::DriverHandler::deviceDestroyStream(void*, void*) const': OniDriverHandler.h:142:25: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverDeviceDestroyStream' 142 | (*funcs.oniDriverDeviceDestroyStream)(deviceHandle, streamHandle); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h: In member function 'OniStatus oni::implementation::DriverHandler::deviceSetProperty(void*, int, const void*, int) const': OniDriverHandler.h:147:32: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverDeviceSetProperty' 147 | return (*funcs.oniDriverDeviceSetProperty)(deviceHandle, propertyId, data, dataSize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h: In member function 'OniStatus oni::implementation::DriverHandler::deviceGetProperty(void*, int, void*, int*) const': OniDriverHandler.h:151:32: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverDeviceGetProperty' 151 | return (*funcs.oniDriverDeviceGetProperty)(deviceHandle, propertyId, data, pDataSize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h: In member function 'OniBool oni::implementation::DriverHandler::deviceIsPropertySupported(void*, int) const': OniDriverHandler.h:155:32: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverDeviceIsPropertySupported' 155 | return (*funcs.oniDriverDeviceIsPropertySupported)(deviceHandle, propertyId); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h: In member function 'void oni::implementation::DriverHandler::deviceSetPropertyChangedCallback(void*, int, void*) const': OniDriverHandler.h:159:25: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverDeviceSetPropertyChangedCallback' 159 | (*funcs.oniDriverDeviceSetPropertyChangedCallback)(deviceHandle, handler, pCookie); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h: In member function 'void oni::implementation::DriverHandler::deviceNotifyAllProperties(void*) const': OniDriverHandler.h:163:25: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverDeviceNotifyAllProperties' 163 | (*funcs.oniDriverDeviceNotifyAllProperties)(deviceHandle); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h: In member function 'OniStatus oni::implementation::DriverHandler::deviceInvoke(void*, int, const void*, int) const': OniDriverHandler.h:167:32: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverDeviceInvoke' 167 | return (*funcs.oniDriverDeviceInvoke)(deviceHandle, commandId, data, dataSize); | ^~~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h: In member function 'OniBool oni::implementation::DriverHandler::deviceIsCommandSupported(void*, int) const': OniDriverHandler.h:171:32: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverDeviceIsCommandSupported' 171 | return (*funcs.oniDriverDeviceIsCommandSupported)(deviceHandle, commandId); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h: In member function 'OniBool oni::implementation::DriverHandler::deviceIsImageRegistrationModeSupported(void*, OniImageRegistrationMode) const': OniDriverHandler.h:175:32: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverDeviceIsImageRegistrationModeSupported' 175 | return (*funcs.oniDriverDeviceIsImageRegistrationModeSupported)(deviceHandle, mode); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h: In member function 'OniStatus oni::implementation::DriverHandler::tryManualTrigger(void*) const': OniDriverHandler.h:179:32: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverDeviceTryManualTrigger' 179 | return (*funcs.oniDriverDeviceTryManualTrigger)(deviceHandle); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h: In member function 'void oni::implementation::DriverHandler::streamSetServices(void*, OniStreamServices*) const': OniDriverHandler.h:185:25: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverStreamSetServices' 185 | (*funcs.oniDriverStreamSetServices)(streamHandle, pServices); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h: In member function 'OniStatus oni::implementation::DriverHandler::streamSetProperty(void*, int, const void*, int) const': OniDriverHandler.h:189:32: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverStreamSetProperty' 189 | return (*funcs.oniDriverStreamSetProperty)(streamHandle, propertyId, data, dataSize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h: In member function 'OniStatus oni::implementation::DriverHandler::streamGetProperty(void*, int, void*, int*) const': OniDriverHandler.h:193:32: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverStreamGetProperty' 193 | return (*funcs.oniDriverStreamGetProperty)(streamHandle, propertyId, data, pDataSize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h: In member function 'OniBool oni::implementation::DriverHandler::streamIsPropertySupported(void*, int) const': OniDriverHandler.h:197:32: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverStreamIsPropertySupported' 197 | return (*funcs.oniDriverStreamIsPropertySupported)(streamHandle, propertyId); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h: In member function 'void oni::implementation::DriverHandler::streamSetPropertyChangedCallback(void*, int, void*) const': OniDriverHandler.h:201:25: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverStreamSetPropertyChangedCallback' 201 | (*funcs.oniDriverStreamSetPropertyChangedCallback)(streamHandle, handler, pCookie); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h: In member function 'void oni::implementation::DriverHandler::streamNotifyAllProperties(void*) const': OniDriverHandler.h:205:25: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverStreamNotifyAllProperties' 205 | (*funcs.oniDriverStreamNotifyAllProperties)(streamHandle); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h: In member function 'OniStatus oni::implementation::DriverHandler::streamInvoke(void*, int, const void*, int) const': OniDriverHandler.h:209:32: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverStreamInvoke' 209 | return (*funcs.oniDriverStreamInvoke)(streamHandle, commandId, data, dataSize); | ^~~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h: In member function 'OniBool oni::implementation::DriverHandler::streamIsCommandSupported(void*, int) const': OniDriverHandler.h:213:32: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverStreamIsCommandSupported' 213 | return (*funcs.oniDriverStreamIsCommandSupported)(streamHandle, commandId); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h: In member function 'OniStatus oni::implementation::DriverHandler::streamStart(void*) const': OniDriverHandler.h:218:32: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverStreamStart' 218 | return (*funcs.oniDriverStreamStart)(streamHandle); | ^~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h: In member function 'void oni::implementation::DriverHandler::streamStop(void*) const': OniDriverHandler.h:222:25: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverStreamStop' 222 | (*funcs.oniDriverStreamStop)(streamHandle); | ^~~~~~~~~~~~~~~~~~~ OniDriverHandler.h: In member function 'int oni::implementation::DriverHandler::streamGetRequiredFrameSize(void*) const': OniDriverHandler.h:227:32: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverStreamGetRequiredFrameSize' 227 | return (*funcs.oniDriverStreamGetRequiredFrameSize)(streamHandle); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h: In member function 'void oni::implementation::DriverHandler::streamSetNewFrameCallback(void*, int, void*) const': OniDriverHandler.h:232:25: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverStreamSetNewFrameCallback' 232 | (*funcs.oniDriverStreamSetNewFrameCallback)(streamHandle, handler, pCookie); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h: In member function 'OniStatus oni::implementation::DriverHandler::convertDepthPointToColor(void*, void*, int, int, int, int*, int*) const': OniDriverHandler.h:237:32: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverStreamConvertDepthToColorCoordinates' 237 | return (*funcs.oniDriverStreamConvertDepthToColorCoordinates)(depthStreamHandle, colorStreamHandle, depthX, depthY, DepthZ, pColorX, pColorY); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h: In member function 'void* oni::implementation::DriverHandler::enableFrameSync(void**, int) const': OniDriverHandler.h:242:32: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverEnableFrameSync' 242 | return (*funcs.oniDriverEnableFrameSync)(streamHandles, streamCount); | ^~~~~~~~~~~~~~~~~~~~~~~~ OniDriverHandler.h: In member function 'void oni::implementation::DriverHandler::disableFrameSync(void*) const': OniDriverHandler.h:246:32: error: 'const struct oni::implementation::Funcs' has no member named 'oniDriverDisableFrameSync' 246 | return (*funcs.oniDriverDisableFrameSync)(frameSyncGroup); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from OniFrameHolder.h:25, from OniStream.h:26: OniFrameManager.h: At global scope: OniFrameManager.h:12:32: error: expected ')' before '*' token 12 | typedef void (ONI_CALLBACK_TYPE* BackToPoolFuncPtr)(struct OniFrameInternal* pBuffer, void* pCookie); | ~ ^ | ) OniFrameManager.h:13:32: error: expected ')' before '*' token 13 | typedef void (ONI_CALLBACK_TYPE* FreeBufferFuncPtr)(void* data, void* pCookie); | ~ ^ | ) OniFrameManager.h:18:9: error: 'BackToPoolFuncPtr' does not name a type 18 | BackToPoolFuncPtr backToPoolFunc; // callback function to be called when frame reached zero refs and returned to pool | ^~~~~~~~~~~~~~~~~ OniFrameManager.h:20:9: error: 'FreeBufferFuncPtr' does not name a type 20 | FreeBufferFuncPtr freeBufferFunc; // callback function for freeing the frame buffer | ^~~~~~~~~~~~~~~~~ OniDeviceDriver.cpp: In function 'OniDriverServices* CreateDriverServicesForDriver(oni::implementation::DriverServices*)': OniDeviceDriver.cpp:51:26: error: 'struct OniDriverServices' has no member named 'errorLoggerAppend' 51 | pDriverServices->errorLoggerAppend = DriverServices_ErrorLog_Append; | ^~~~~~~~~~~~~~~~~ OniDeviceDriver.cpp:52:26: error: 'struct OniDriverServices' has no member named 'errorLoggerClear' 52 | pDriverServices->errorLoggerClear = DriverServices_ErrorLog_Clear; | ^~~~~~~~~~~~~~~~ OniDeviceDriver.cpp:53:26: error: 'struct OniDriverServices' has no member named 'log' 53 | pDriverServices->log = DriverServices_Log; | ^~~ OniDeviceDriver.cpp: In member function 'bool oni::implementation::DeviceDriver::initialize()': OniDeviceDriver.cpp:84:57: error: invalid use of non-static member function 'int oni::implementation::DeviceDriver::driver_DeviceConnected(const OniDeviceInfo*, void*)' 84 | if (ONI_STATUS_OK != m_driverHandler.initialize(driver_DeviceConnected, driver_DeviceDisconnected, driver_DeviceStateChanged, this)) | ^~~~~~~~~~~~~~~~~~~~~~ OniDeviceDriver.h:62:39: note: declared here 62 | static void ONI_CALLBACK_TYPE driver_DeviceConnected(const OniDeviceInfo* pInfo, void* pCookie); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from OniStream.h:28: OniSensor.h:23:43: error: 'OniFrameAllocBufferCallback' has not been declared 23 | OniStatus setFrameBufferAllocator(OniFrameAllocBufferCallback alloc, OniFrameFreeBufferCallback free, void* pCookie); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ OniSensor.h:23:78: error: 'OniFrameFreeBufferCallback' has not been declared 23 | OniStatus setFrameBufferAllocator(OniFrameAllocBufferCallback alloc, OniFrameFreeBufferCallback free, void* pCookie); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ OniSensor.h:40:20: error: expected ';' at end of member declaration 40 | static int ONI_CALLBACK_TYPE getDefaultRequiredFrameSizeCallback(void* streamServices); | ^~~~~~~~~~~~~~~~~ | ; OniSensor.h:40:38: error: ISO C++ forbids declaration of 'getDefaultRequiredFrameSizeCallback' with no type [-fpermissive] 40 | static int ONI_CALLBACK_TYPE getDefaultRequiredFrameSizeCallback(void* streamServices); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OniSensor.h:41:26: error: expected ';' at end of member declaration 41 | static OniFrame* ONI_CALLBACK_TYPE acquireFrameCallback(void* streamServices); | ^~~~~~~~~~~~~~~~~ | ; OniSensor.h:41:26: error: redeclaration of 'OniFrame* oni::implementation::Sensor::ONI_CALLBACK_TYPE' OniSensor.h:40:20: note: previous declaration 'int oni::implementation::Sensor::ONI_CALLBACK_TYPE' 40 | static int ONI_CALLBACK_TYPE getDefaultRequiredFrameSizeCallback(void* streamServices); | ^~~~~~~~~~~~~~~~~ OniSensor.h:41:44: error: ISO C++ forbids declaration of 'acquireFrameCallback' with no type [-fpermissive] 41 | static OniFrame* ONI_CALLBACK_TYPE acquireFrameCallback(void* streamServices); | ^~~~~~~~~~~~~~~~~~~~ OniSensor.h:42:21: error: variable or field 'ONI_CALLBACK_TYPE' declared void 42 | static void ONI_CALLBACK_TYPE releaseFrameCallback(void* streamServices, OniFrame* pFrame); | ^~~~~~~~~~~~~~~~~ OniSensor.h:42:21: error: expected ';' at end of member declaration 42 | static void ONI_CALLBACK_TYPE releaseFrameCallback(void* streamServices, OniFrame* pFrame); | ^~~~~~~~~~~~~~~~~ | ; OniSensor.h:42:39: error: ISO C++ forbids declaration of 'releaseFrameCallback' with no type [-fpermissive] 42 | static void ONI_CALLBACK_TYPE releaseFrameCallback(void* streamServices, OniFrame* pFrame); | ^~~~~~~~~~~~~~~~~~~~ OniSensor.h:43:21: error: variable or field 'ONI_CALLBACK_TYPE' declared void 43 | static void ONI_CALLBACK_TYPE addFrameRefCallback(void* streamServices, OniFrame* pFrame); | ^~~~~~~~~~~~~~~~~ OniSensor.h:43:21: error: expected ';' at end of member declaration 43 | static void ONI_CALLBACK_TYPE addFrameRefCallback(void* streamServices, OniFrame* pFrame); | ^~~~~~~~~~~~~~~~~ | ; OniSensor.h:43:39: error: ISO C++ forbids declaration of 'addFrameRefCallback' with no type [-fpermissive] 43 | static void ONI_CALLBACK_TYPE addFrameRefCallback(void* streamServices, OniFrame* pFrame); | ^~~~~~~~~~~~~~~~~~~ OniSensor.h:52:22: error: expected ';' at end of member declaration 52 | static void* ONI_CALLBACK_TYPE allocFrameBufferFromPoolCallback(int size, void* pCookie); | ^~~~~~~~~~~~~~~~~ | ; OniSensor.h:52:22: error: redeclaration of 'void* oni::implementation::Sensor::ONI_CALLBACK_TYPE' OniSensor.h:40:20: note: previous declaration 'int oni::implementation::Sensor::ONI_CALLBACK_TYPE' 40 | static int ONI_CALLBACK_TYPE getDefaultRequiredFrameSizeCallback(void* streamServices); | ^~~~~~~~~~~~~~~~~ OniSensor.h:52:40: error: ISO C++ forbids declaration of 'allocFrameBufferFromPoolCallback' with no type [-fpermissive] 52 | static void* ONI_CALLBACK_TYPE allocFrameBufferFromPoolCallback(int size, void* pCookie); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OniSensor.h:53:21: error: variable or field 'ONI_CALLBACK_TYPE' declared void 53 | static void ONI_CALLBACK_TYPE releaseFrameBufferToPoolCallback(void* pBuffer, void* pCookie); | ^~~~~~~~~~~~~~~~~ OniSensor.h:53:21: error: expected ';' at end of member declaration 53 | static void ONI_CALLBACK_TYPE releaseFrameBufferToPoolCallback(void* pBuffer, void* pCookie); | ^~~~~~~~~~~~~~~~~ | ; OniSensor.h:53:39: error: ISO C++ forbids declaration of 'releaseFrameBufferToPoolCallback' with no type [-fpermissive] 53 | static void ONI_CALLBACK_TYPE releaseFrameBufferToPoolCallback(void* pBuffer, void* pCookie); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OniSensor.h:54:21: error: variable or field 'ONI_CALLBACK_TYPE' declared void 54 | static void ONI_CALLBACK_TYPE freeFrameBufferMemoryCallback(void* pBuffer, void* pCookie); | ^~~~~~~~~~~~~~~~~ OniSensor.h:54:21: error: expected ';' at end of member declaration 54 | static void ONI_CALLBACK_TYPE freeFrameBufferMemoryCallback(void* pBuffer, void* pCookie); | ^~~~~~~~~~~~~~~~~ | ; OniSensor.h:54:39: error: ISO C++ forbids declaration of 'freeFrameBufferMemoryCallback' with no type [-fpermissive] 54 | static void ONI_CALLBACK_TYPE freeFrameBufferMemoryCallback(void* pBuffer, void* pCookie); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OniSensor.h:55:21: error: variable or field 'ONI_CALLBACK_TYPE' declared void 55 | static void ONI_CALLBACK_TYPE frameBackToPoolCallback(OniFrameInternal* pFrame, void* pCookie); | ^~~~~~~~~~~~~~~~~ OniSensor.h:55:21: error: expected ';' at end of member declaration 55 | static void ONI_CALLBACK_TYPE frameBackToPoolCallback(OniFrameInternal* pFrame, void* pCookie); | ^~~~~~~~~~~~~~~~~ | ; OniSensor.h:55:39: error: ISO C++ forbids declaration of 'frameBackToPoolCallback' with no type [-fpermissive] 55 | static void ONI_CALLBACK_TYPE frameBackToPoolCallback(OniFrameInternal* pFrame, void* pCookie); | ^~~~~~~~~~~~~~~~~~~~~~~ OniSensor.h:57:21: error: variable or field 'ONI_CALLBACK_TYPE' declared void 57 | static void ONI_CALLBACK_TYPE newFrameCallback(void* streamHandle, OniFrame* pFrame, void* pCookie); | ^~~~~~~~~~~~~~~~~ OniSensor.h:57:21: error: expected ';' at end of member declaration 57 | static void ONI_CALLBACK_TYPE newFrameCallback(void* streamHandle, OniFrame* pFrame, void* pCookie); | ^~~~~~~~~~~~~~~~~ | ; OniSensor.h:57:39: error: ISO C++ forbids declaration of 'newFrameCallback' with no type [-fpermissive] 57 | static void ONI_CALLBACK_TYPE newFrameCallback(void* streamHandle, OniFrame* pFrame, void* pCookie); | ^~~~~~~~~~~~~~~~ OniDeviceDriver.cpp: At global scope: OniDeviceDriver.cpp:110:11: error: 'OniStatus oni::implementation::DeviceDriver::registerDeviceConnectedCallback' is not a static data member of 'class oni::implementation::DeviceDriver' 110 | OniStatus DeviceDriver::registerDeviceConnectedCallback(DeviceCallback handler, void* pCookie, OniCallbackHandle& handle) | ^~~~~~~~~~~~ OniSensor.h:75:9: error: 'OniFrameAllocBufferCallback' does not name a type 75 | OniFrameAllocBufferCallback m_allocFrameBufferCallback; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ OniContext.h:64:51: error: 'OniDeviceInfoCallback' has not been declared 64 | OniStatus registerDeviceConnectedCallback(OniDeviceInfoCallback handler, void* pCookie, OniCallbackHandle& handle); | ^~~~~~~~~~~~~~~~~~~~~ OniContext.h:66:54: error: 'OniDeviceInfoCallback' has not been declared 66 | OniStatus registerDeviceDisconnectedCallback(OniDeviceInfoCallback handler, void* pCookie, OniCallbackHandle& handle); | ^~~~~~~~~~~~~~~~~~~~~ OniContext.h:68:54: error: 'OniDeviceStateCallback' has not been declared 68 | OniStatus registerDeviceStateChangedCallback(OniDeviceStateCallback handler, void* pCookie, OniCallbackHandle& handle); | ^~~~~~~~~~~~~~~~~~~~~~ OniSensor.h:76:9: error: 'OniFrameFreeBufferCallback' does not name a type 76 | OniFrameFreeBufferCallback m_freeFrameBufferCallback; | ^~~~~~~~~~~~~~~~~~~~~~~~~~ OniContext.h:107:21: error: variable or field 'ONI_CALLBACK_TYPE' declared void 107 | static void ONI_CALLBACK_TYPE deviceDriver_DeviceConnected(Device* pDevice, void* pCookie); | ^~~~~~~~~~~~~~~~~ OniContext.h:107:21: error: expected ';' at end of member declaration 107 | static void ONI_CALLBACK_TYPE deviceDriver_DeviceConnected(Device* pDevice, void* pCookie); | ^~~~~~~~~~~~~~~~~ | ; OniContext.h:107:39: error: ISO C++ forbids declaration of 'deviceDriver_DeviceConnected' with no type [-fpermissive] 107 | static void ONI_CALLBACK_TYPE deviceDriver_DeviceConnected(Device* pDevice, void* pCookie); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ OniContext.h:108:21: error: variable or field 'ONI_CALLBACK_TYPE' declared void 108 | static void ONI_CALLBACK_TYPE deviceDriver_DeviceDisconnected(Device* pDevice, void* pCookie); | ^~~~~~~~~~~~~~~~~ OniContext.h:108:21: error: expected ';' at end of member declaration 108 | static void ONI_CALLBACK_TYPE deviceDriver_DeviceDisconnected(Device* pDevice, void* pCookie); | ^~~~~~~~~~~~~~~~~ | ; OniContext.h:108:39: error: ISO C++ forbids declaration of 'deviceDriver_DeviceDisconnected' with no type [-fpermissive] 108 | static void ONI_CALLBACK_TYPE deviceDriver_DeviceDisconnected(Device* pDevice, void* pCookie); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OniContext.h:109:21: error: variable or field 'ONI_CALLBACK_TYPE' declared void 109 | static void ONI_CALLBACK_TYPE deviceDriver_DeviceStateChanged(Device* pDevice, OniDeviceState deviceState, void* pCookie); | ^~~~~~~~~~~~~~~~~ OniContext.h:109:21: error: expected ';' at end of member declaration 109 | static void ONI_CALLBACK_TYPE deviceDriver_DeviceStateChanged(Device* pDevice, OniDeviceState deviceState, void* pCookie); | ^~~~~~~~~~~~~~~~~ | ; OniContext.h:109:39: error: ISO C++ forbids declaration of 'deviceDriver_DeviceStateChanged' with no type [-fpermissive] 109 | static void ONI_CALLBACK_TYPE deviceDriver_DeviceStateChanged(Device* pDevice, OniDeviceState deviceState, void* pCookie); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OniStream.h:67:44: error: 'OniGeneralCallback' has not been declared 67 | OniStatus registerNewFrameCallback(OniGeneralCallback handler, void* pCookie, XnCallbackHandle* pHandle); | ^~~~~~~~~~~~~~~~~~ OniStream.h:85:43: error: 'OniFrameAllocBufferCallback' has not been declared 85 | OniStatus setFrameBufferAllocator(OniFrameAllocBufferCallback alloc, OniFrameFreeBufferCallback free, void* pCookie); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ OniStream.h:85:78: error: 'OniFrameFreeBufferCallback' has not been declared 85 | OniStatus setFrameBufferAllocator(OniFrameAllocBufferCallback alloc, OniFrameFreeBufferCallback free, void* pCookie); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ OniStream.h:89:100: error: 'OniDepthPixel' has not been declared 89 | OniStatus convertDepthToColorCoordinates(VideoStream* colorStream, int depthX, int depthY, OniDepthPixel depthZ, int* pColorX, int* pColorY); | ^~~~~~~~~~~~~ OniStream.h:113:21: error: variable or field 'ONI_CALLBACK_TYPE' declared void 113 | static void ONI_CALLBACK_TYPE stream_NewFrame(OniFrame* pFrame, void* pCookie); | ^~~~~~~~~~~~~~~~~ OniStream.h:113:21: error: expected ';' at end of member declaration 113 | static void ONI_CALLBACK_TYPE stream_NewFrame(OniFrame* pFrame, void* pCookie); | ^~~~~~~~~~~~~~~~~ | ; OniStream.h:113:39: error: ISO C++ forbids declaration of 'stream_NewFrame' with no type [-fpermissive] 113 | static void ONI_CALLBACK_TYPE stream_NewFrame(OniFrame* pFrame, void* pCookie); | ^~~~~~~~~~~~~~~ OniStream.h:114:21: error: variable or field 'ONI_CALLBACK_TYPE' declared void 114 | static void ONI_CALLBACK_TYPE stream_PropertyChanged(void* streamHandle, int propertyId, const void* data, int dataSize, void* pCookie); | ^~~~~~~~~~~~~~~~~ OniStream.h:114:21: error: expected ';' at end of member declaration 114 | static void ONI_CALLBACK_TYPE stream_PropertyChanged(void* streamHandle, int propertyId, const void* data, int dataSize, void* pCookie); | ^~~~~~~~~~~~~~~~~ | ; OniStream.h:114:39: error: ISO C++ forbids declaration of 'stream_PropertyChanged' with no type [-fpermissive] 114 | static void ONI_CALLBACK_TYPE stream_PropertyChanged(void* streamHandle, int propertyId, const void* data, int dataSize, void* pCookie); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from OniContext.h:22: OniDevice.h:83:21: error: variable or field 'ONI_CALLBACK_TYPE' declared void 83 | static void ONI_CALLBACK_TYPE stream_PropertyChanged(void* deviceHandle, int propertyId, const void* data, int dataSize, void* pCookie); | ^~~~~~~~~~~~~~~~~ OniDevice.h:83:21: error: expected ';' at end of member declaration 83 | static void ONI_CALLBACK_TYPE stream_PropertyChanged(void* deviceHandle, int propertyId, const void* data, int dataSize, void* pCookie); | ^~~~~~~~~~~~~~~~~ | ; OniDeviceDriver.cpp:110:57: error: 'DeviceCallback' was not declared in this scope; did you mean 'OniDeviceCallbacks'? 110 | OniStatus DeviceDriver::registerDeviceConnectedCallback(DeviceCallback handler, void* pCookie, OniCallbackHandle& handle) | ^~~~~~~~~~~~~~ | OniDeviceCallbacks OniDevice.h:83:39: error: ISO C++ forbids declaration of 'stream_PropertyChanged' with no type [-fpermissive] 83 | static void ONI_CALLBACK_TYPE stream_PropertyChanged(void* deviceHandle, int propertyId, const void* data, int dataSize, void* pCookie); | ^~~~~~~~~~~~~~~~~~~~~~ OniDeviceDriver.cpp:110:81: error: expected primary-expression before 'void' 110 | OniStatus DeviceDriver::registerDeviceConnectedCallback(DeviceCallback handler, void* pCookie, OniCallbackHandle& handle) | ^~~~ OniDeviceDriver.cpp:110:113: error: expected primary-expression before '&' token 110 | OniStatus DeviceDriver::registerDeviceConnectedCallback(DeviceCallback handler, void* pCookie, OniCallbackHandle& handle) | ^ In file included from OniContext.h:24: OniDeviceDriver.h:35:32: error: expected initializer before 'DeviceCallback' 35 | typedef void ONI_CALLBACK_TYPE DeviceCallback(Device*, void*); | ^~~~~~~~~~~~~~ OniDeviceDriver.h:36:32: error: expected initializer before 'DeviceStateCallback' 36 | typedef void ONI_CALLBACK_TYPE DeviceStateCallback(Device*, OniDeviceState, void*); | ^~~~~~~~~~~~~~~~~~~ OniDeviceDriver.h:51:51: error: 'DeviceCallback' has not been declared 51 | OniStatus registerDeviceConnectedCallback(DeviceCallback handler, void* pCookie, OniCallbackHandle& handle); | ^~~~~~~~~~~~~~ OniDeviceDriver.h:53:54: error: 'DeviceCallback' has not been declared 53 | OniStatus registerDeviceDisconnectedCallback(DeviceCallback handler, void* pCookie, OniCallbackHandle& handle); | ^~~~~~~~~~~~~~ OniDeviceDriver.h:55:54: error: 'DeviceStateCallback' has not been declared 55 | OniStatus registerDeviceStateChangedCallback(DeviceStateCallback handler, void* pCookie, OniCallbackHandle& handle); | ^~~~~~~~~~~~~~~~~~~ OniDeviceDriver.h:62:21: error: variable or field 'ONI_CALLBACK_TYPE' declared void 62 | static void ONI_CALLBACK_TYPE driver_DeviceConnected(const OniDeviceInfo* pInfo, void* pCookie); | ^~~~~~~~~~~~~~~~~ OniDeviceDriver.h:62:21: error: expected ';' at end of member declaration 62 | static void ONI_CALLBACK_TYPE driver_DeviceConnected(const OniDeviceInfo* pInfo, void* pCookie); | ^~~~~~~~~~~~~~~~~ | ; OniDeviceDriver.h:62:39: error: ISO C++ forbids declaration of 'driver_DeviceConnected' with no type [-fpermissive] 62 | static void ONI_CALLBACK_TYPE driver_DeviceConnected(const OniDeviceInfo* pInfo, void* pCookie); | ^~~~~~~~~~~~~~~~~~~~~~ OniDeviceDriver.h:63:21: error: variable or field 'ONI_CALLBACK_TYPE' declared void 63 | static void ONI_CALLBACK_TYPE driver_DeviceDisconnected(const OniDeviceInfo* pInfo, void* pCookie); | ^~~~~~~~~~~~~~~~~ OniDeviceDriver.h:63:21: error: expected ';' at end of member declaration 63 | static void ONI_CALLBACK_TYPE driver_DeviceDisconnected(const OniDeviceInfo* pInfo, void* pCookie); | ^~~~~~~~~~~~~~~~~ | ; OniDeviceDriver.h:63:39: error: ISO C++ forbids declaration of 'driver_DeviceDisconnected' with no type [-fpermissive] 63 | static void ONI_CALLBACK_TYPE driver_DeviceDisconnected(const OniDeviceInfo* pInfo, void* pCookie); | ^~~~~~~~~~~~~~~~~~~~~~~~~ OniDeviceDriver.h:64:21: error: variable or field 'ONI_CALLBACK_TYPE' declared void 64 | static void ONI_CALLBACK_TYPE driver_DeviceStateChanged(const OniDeviceInfo* pInfo, OniDeviceState deviceState, void* pCookie); | ^~~~~~~~~~~~~~~~~ OniDeviceDriver.h:64:21: error: expected ';' at end of member declaration 64 | static void ONI_CALLBACK_TYPE driver_DeviceStateChanged(const OniDeviceInfo* pInfo, OniDeviceState deviceState, void* pCookie); | ^~~~~~~~~~~~~~~~~ | ; OniDeviceDriver.h:64:39: error: ISO C++ forbids declaration of 'driver_DeviceStateChanged' with no type [-fpermissive] 64 | static void ONI_CALLBACK_TYPE driver_DeviceStateChanged(const OniDeviceInfo* pInfo, OniDeviceState deviceState, void* pCookie); | ^~~~~~~~~~~~~~~~~~~~~~~~~ OniDeviceDriver.cpp:110:115: error: 'handle' was not declared in this scope 110 | OniStatus DeviceDriver::registerDeviceConnectedCallback(DeviceCallback handler, void* pCookie, OniCallbackHandle& handle) | ^~~~~~ OniDeviceDriver.cpp:110:121: error: expression list treated as compound expression in initializer [-fpermissive] 110 | OniStatus DeviceDriver::registerDeviceConnectedCallback(DeviceCallback handler, void* pCookie, OniCallbackHandle& handle) | ^ OniDeviceDriver.cpp:118:11: error: 'OniStatus oni::implementation::DeviceDriver::registerDeviceDisconnectedCallback' is not a static data member of 'class oni::implementation::DeviceDriver' 118 | OniStatus DeviceDriver::registerDeviceDisconnectedCallback(DeviceCallback handler, void* pCookie, OniCallbackHandle& handle) | ^~~~~~~~~~~~ OniDevice.cpp:294:24: error: expected initializer before 'Device' 294 | void ONI_CALLBACK_TYPE Device::stream_PropertyChanged(void* /*deviceHandle*/, int /*propertyId*/, const void* /*data*/, int /*dataSize*/, void* pCookie) | ^~~~~~ OniDeviceDriver.cpp:118:60: error: 'DeviceCallback' was not declared in this scope; did you mean 'OniDeviceCallbacks'? 118 | OniStatus DeviceDriver::registerDeviceDisconnectedCallback(DeviceCallback handler, void* pCookie, OniCallbackHandle& handle) | ^~~~~~~~~~~~~~ | OniDeviceCallbacks OniDeviceDriver.cpp:118:84: error: expected primary-expression before 'void' 118 | OniStatus DeviceDriver::registerDeviceDisconnectedCallback(DeviceCallback handler, void* pCookie, OniCallbackHandle& handle) | ^~~~ OniDeviceDriver.cpp:118:116: error: expected primary-expression before '&' token 118 | OniStatus DeviceDriver::registerDeviceDisconnectedCallback(DeviceCallback handler, void* pCookie, OniCallbackHandle& handle) | ^ OniDeviceDriver.cpp:118:118: error: 'handle' was not declared in this scope 118 | OniStatus DeviceDriver::registerDeviceDisconnectedCallback(DeviceCallback handler, void* pCookie, OniCallbackHandle& handle) | ^~~~~~ OniDeviceDriver.cpp:118:124: error: expression list treated as compound expression in initializer [-fpermissive] 118 | OniStatus DeviceDriver::registerDeviceDisconnectedCallback(DeviceCallback handler, void* pCookie, OniCallbackHandle& handle) | ^ OniDeviceDriver.cpp:127:11: error: 'OniStatus oni::implementation::DeviceDriver::registerDeviceStateChangedCallback' is not a static data member of 'class oni::implementation::DeviceDriver' 127 | OniStatus DeviceDriver::registerDeviceStateChangedCallback(DeviceStateCallback handler, void* pCookie, OniCallbackHandle& handle) | ^~~~~~~~~~~~ OniContext.h:64:51: error: 'OniDeviceInfoCallback' has not been declared 64 | OniStatus registerDeviceConnectedCallback(OniDeviceInfoCallback handler, void* pCookie, OniCallbackHandle& handle); | ^~~~~~~~~~~~~~~~~~~~~ OniContext.h:66:54: error: 'OniDeviceInfoCallback' has not been declared 66 | OniStatus registerDeviceDisconnectedCallback(OniDeviceInfoCallback handler, void* pCookie, OniCallbackHandle& handle); | ^~~~~~~~~~~~~~~~~~~~~ OniContext.h:68:54: error: 'OniDeviceStateCallback' has not been declared 68 | OniStatus registerDeviceStateChangedCallback(OniDeviceStateCallback handler, void* pCookie, OniCallbackHandle& handle); | ^~~~~~~~~~~~~~~~~~~~~~ OniContext.h:107:21: error: variable or field 'ONI_CALLBACK_TYPE' declared void 107 | static void ONI_CALLBACK_TYPE deviceDriver_DeviceConnected(Device* pDevice, void* pCookie); | ^~~~~~~~~~~~~~~~~ OniContext.h:107:21: error: expected ';' at end of member declaration 107 | static void ONI_CALLBACK_TYPE deviceDriver_DeviceConnected(Device* pDevice, void* pCookie); | ^~~~~~~~~~~~~~~~~ | ; OniContext.h:107:39: error: ISO C++ forbids declaration of 'deviceDriver_DeviceConnected' with no type [-fpermissive] 107 | static void ONI_CALLBACK_TYPE deviceDriver_DeviceConnected(Device* pDevice, void* pCookie); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ OniContext.h:108:21: error: variable or field 'ONI_CALLBACK_TYPE' declared void 108 | static void ONI_CALLBACK_TYPE deviceDriver_DeviceDisconnected(Device* pDevice, void* pCookie); | ^~~~~~~~~~~~~~~~~ OniContext.h:108:21: error: expected ';' at end of member declaration 108 | static void ONI_CALLBACK_TYPE deviceDriver_DeviceDisconnected(Device* pDevice, void* pCookie); | ^~~~~~~~~~~~~~~~~ | ; OniContext.h:108:39: error: ISO C++ forbids declaration of 'deviceDriver_DeviceDisconnected' with no type [-fpermissive] 108 | static void ONI_CALLBACK_TYPE deviceDriver_DeviceDisconnected(Device* pDevice, void* pCookie); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OniContext.h:109:21: error: variable or field 'ONI_CALLBACK_TYPE' declared void 109 | static void ONI_CALLBACK_TYPE deviceDriver_DeviceStateChanged(Device* pDevice, OniDeviceState deviceState, void* pCookie); | ^~~~~~~~~~~~~~~~~ OniContext.h:109:21: error: expected ';' at end of member declaration 109 | static void ONI_CALLBACK_TYPE deviceDriver_DeviceStateChanged(Device* pDevice, OniDeviceState deviceState, void* pCookie); | ^~~~~~~~~~~~~~~~~ | ; OniContext.h:109:39: error: ISO C++ forbids declaration of 'deviceDriver_DeviceStateChanged' with no type [-fpermissive] 109 | static void ONI_CALLBACK_TYPE deviceDriver_DeviceStateChanged(Device* pDevice, OniDeviceState deviceState, void* pCookie); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OniDeviceDriver.cpp:127:60: error: 'DeviceStateCallback' was not declared in this scope 127 | OniStatus DeviceDriver::registerDeviceStateChangedCallback(DeviceStateCallback handler, void* pCookie, OniCallbackHandle& handle) | ^~~~~~~~~~~~~~~~~~~ OniDeviceDriver.cpp:127:89: error: expected primary-expression before 'void' 127 | OniStatus DeviceDriver::registerDeviceStateChangedCallback(DeviceStateCallback handler, void* pCookie, OniCallbackHandle& handle) | ^~~~ OniDeviceDriver.cpp:127:121: error: expected primary-expression before '&' token 127 | OniStatus DeviceDriver::registerDeviceStateChangedCallback(DeviceStateCallback handler, void* pCookie, OniCallbackHandle& handle) | ^ make[1]: *** [../../ThirdParty/PSCommon/BuildSystem/CommonCppMakefile:130: ../../Bin/Intermediate/Aarch64-Release/libOpenNI2.so/OniDevice.o] Error 1 OniDeviceDriver.cpp:127:123: error: 'handle' was not declared in this scope 127 | OniStatus DeviceDriver::registerDeviceStateChangedCallback(DeviceStateCallback handler, void* pCookie, OniCallbackHandle& handle) | ^~~~~~ OniDeviceDriver.cpp:127:129: error: expression list treated as compound expression in initializer [-fpermissive] 127 | OniStatus DeviceDriver::registerDeviceStateChangedCallback(DeviceStateCallback handler, void* pCookie, OniCallbackHandle& handle) | ^ OniDeviceDriver.cpp:136:24: error: expected initializer before 'DeviceDriver' 136 | void ONI_CALLBACK_TYPE DeviceDriver::driver_DeviceConnected(const OniDeviceInfo* pInfo, void* pCookie) | ^~~~~~~~~~~~ OniDeviceDriver.cpp:147:24: error: expected initializer before 'DeviceDriver' 147 | void ONI_CALLBACK_TYPE DeviceDriver::driver_DeviceDisconnected(const OniDeviceInfo* pInfo, void* pCookie) | ^~~~~~~~~~~~ OniDeviceDriver.cpp:153:24: error: expected initializer before 'DeviceDriver' 153 | void ONI_CALLBACK_TYPE DeviceDriver::driver_DeviceStateChanged(const OniDeviceInfo* pInfo, OniDeviceState deviceState, void* pCookie) | ^~~~~~~~~~~~ In file included from ../../Include/OniCAPI.h:27: OniContext.cpp: In member function 'OniStatus oni::implementation::Context::initialize()': ../../Include/OniVersion.h:30:9: error: 'ONI_STRINGIFY' was not declared in this scope; did you mean 'XN_STRINGIFY'? 30 | ONI_STRINGIFY(ONI_VERSION_MAJOR) "." \ | ^~~~~~~~~~~~~ ../../Include/OniVersion.h:42:9: note: in expansion of macro 'ONI_BRIEF_VERSION_STRING' 42 | ONI_BRIEF_VERSION_STRING "-" \ | ^~~~~~~~~~~~~~~~~~~~~~~~ ../../ThirdParty/PSCommon/XnLib/Include/XnLog.h:458:127: note: in expansion of macro 'ONI_VERSION_STRING' 458 | #define xnLogVerbose(csLogMask, csFormat, ...) xnLogWrite(csLogMask, XN_LOG_VERBOSE, __FILE__, __LINE__, csFormat, ##__VA_ARGS__) | ^~~~~~~~~~~ OniContext.cpp:162:9: note: in expansion of macro 'xnLogVerbose' 162 | xnLogVerbose(XN_MASK_ONI_CONTEXT, "OpenNI %s", ONI_VERSION_STRING); | ^~~~~~~~~~~~ OniContext.cpp: In member function 'XnStatus oni::implementation::Context::loadLibraries(const char*)': OniContext.cpp:252:64: error: invalid use of non-static member function 'int oni::implementation::Context::deviceDriver_DeviceConnected(oni::implementation::Device*, void*)' 252 | pDeviceDriver->registerDeviceConnectedCallback(deviceDriver_DeviceConnected, this, dummy); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ OniContext.h:107:39: note: declared here 107 | static void ONI_CALLBACK_TYPE deviceDriver_DeviceConnected(Device* pDevice, void* pCookie); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ OniContext.cpp:253:67: error: invalid use of non-static member function 'int oni::implementation::Context::deviceDriver_DeviceDisconnected(oni::implementation::Device*, void*)' 253 | pDeviceDriver->registerDeviceDisconnectedCallback(deviceDriver_DeviceDisconnected, this, dummy); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OniContext.h:108:39: note: declared here 108 | static void ONI_CALLBACK_TYPE deviceDriver_DeviceDisconnected(Device* pDevice, void* pCookie); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OniContext.cpp:254:67: error: invalid use of non-static member function 'int oni::implementation::Context::deviceDriver_DeviceStateChanged(oni::implementation::Device*, OniDeviceState, void*)' 254 | pDeviceDriver->registerDeviceStateChangedCallback(deviceDriver_DeviceStateChanged, this, dummy); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OniContext.h:109:39: note: declared here 109 | static void ONI_CALLBACK_TYPE deviceDriver_DeviceStateChanged(Device* pDevice, OniDeviceState deviceState, void* pCookie); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ OniContext.cpp: At global scope: OniContext.cpp:333:11: error: 'OniStatus oni::implementation::Context::registerDeviceConnectedCallback' is not a static data member of 'class oni::implementation::Context' 333 | OniStatus Context::registerDeviceConnectedCallback(OniDeviceInfoCallback handler, void* pCookie, OniCallbackHandle& handle) | ^~~~~~~ OniContext.cpp:333:52: error: 'OniDeviceInfoCallback' was not declared in this scope; did you mean 'OniDeviceCallbacks'? 333 | OniStatus Context::registerDeviceConnectedCallback(OniDeviceInfoCallback handler, void* pCookie, OniCallbackHandle& handle) | ^~~~~~~~~~~~~~~~~~~~~ | OniDeviceCallbacks OniContext.cpp:333:83: error: expected primary-expression before 'void' 333 | OniStatus Context::registerDeviceConnectedCallback(OniDeviceInfoCallback handler, void* pCookie, OniCallbackHandle& handle) | ^~~~ OniContext.cpp:333:115: error: expected primary-expression before '&' token 333 | OniStatus Context::registerDeviceConnectedCallback(OniDeviceInfoCallback handler, void* pCookie, OniCallbackHandle& handle) | ^ OniContext.cpp:333:117: error: 'handle' was not declared in this scope 333 | OniStatus Context::registerDeviceConnectedCallback(OniDeviceInfoCallback handler, void* pCookie, OniCallbackHandle& handle) | ^~~~~~ OniContext.cpp:333:123: error: expression list treated as compound expression in initializer [-fpermissive] 333 | OniStatus Context::registerDeviceConnectedCallback(OniDeviceInfoCallback handler, void* pCookie, OniCallbackHandle& handle) | ^ OniContext.cpp:341:11: error: 'OniStatus oni::implementation::Context::registerDeviceDisconnectedCallback' is not a static data member of 'class oni::implementation::Context' 341 | OniStatus Context::registerDeviceDisconnectedCallback(OniDeviceInfoCallback handler, void* pCookie, OniCallbackHandle& handle) | ^~~~~~~ make[1]: *** [../../ThirdParty/PSCommon/BuildSystem/CommonCppMakefile:130: ../../Bin/Intermediate/Aarch64-Release/libOpenNI2.so/OniDeviceDriver.o] Error 1 OniContext.cpp:341:55: error: 'OniDeviceInfoCallback' was not declared in this scope; did you mean 'OniDeviceCallbacks'? 341 | OniStatus Context::registerDeviceDisconnectedCallback(OniDeviceInfoCallback handler, void* pCookie, OniCallbackHandle& handle) | ^~~~~~~~~~~~~~~~~~~~~ | OniDeviceCallbacks OniContext.cpp:341:86: error: expected primary-expression before 'void' 341 | OniStatus Context::registerDeviceDisconnectedCallback(OniDeviceInfoCallback handler, void* pCookie, OniCallbackHandle& handle) | ^~~~ OniContext.cpp:341:118: error: expected primary-expression before '&' token 341 | OniStatus Context::registerDeviceDisconnectedCallback(OniDeviceInfoCallback handler, void* pCookie, OniCallbackHandle& handle) | ^ OniContext.cpp:341:120: error: 'handle' was not declared in this scope 341 | OniStatus Context::registerDeviceDisconnectedCallback(OniDeviceInfoCallback handler, void* pCookie, OniCallbackHandle& handle) | ^~~~~~ OniContext.cpp:341:126: error: expression list treated as compound expression in initializer [-fpermissive] 341 | OniStatus Context::registerDeviceDisconnectedCallback(OniDeviceInfoCallback handler, void* pCookie, OniCallbackHandle& handle) | ^ OniContext.cpp:349:11: error: 'OniStatus oni::implementation::Context::registerDeviceStateChangedCallback' is not a static data member of 'class oni::implementation::Context' 349 | OniStatus Context::registerDeviceStateChangedCallback(OniDeviceStateCallback handler, void* pCookie, OniCallbackHandle& handle) | ^~~~~~~ OniContext.cpp:349:55: error: 'OniDeviceStateCallback' was not declared in this scope; did you mean 'OniDeviceCallbacks'? 349 | OniStatus Context::registerDeviceStateChangedCallback(OniDeviceStateCallback handler, void* pCookie, OniCallbackHandle& handle) | ^~~~~~~~~~~~~~~~~~~~~~ | OniDeviceCallbacks OniContext.cpp:349:87: error: expected primary-expression before 'void' 349 | OniStatus Context::registerDeviceStateChangedCallback(OniDeviceStateCallback handler, void* pCookie, OniCallbackHandle& handle) | ^~~~ OniContext.cpp:349:119: error: expected primary-expression before '&' token 349 | OniStatus Context::registerDeviceStateChangedCallback(OniDeviceStateCallback handler, void* pCookie, OniCallbackHandle& handle) | ^ OniContext.cpp:349:121: error: 'handle' was not declared in this scope 349 | OniStatus Context::registerDeviceStateChangedCallback(OniDeviceStateCallback handler, void* pCookie, OniCallbackHandle& handle) | ^~~~~~ OniContext.cpp:349:127: error: expression list treated as compound expression in initializer [-fpermissive] 349 | OniStatus Context::registerDeviceStateChangedCallback(OniDeviceStateCallback handler, void* pCookie, OniCallbackHandle& handle) | ^ OniContext.cpp: In member function 'OniStatus oni::implementation::Context::waitForStreams(_OniStream**, int, int*, int)': OniContext.cpp:716:55: error: 'struct OniFrame' has no member named 'timestamp' 716 | if (pFrame != NULL && pFrame->timestamp < oldestTimestamp) | ^~~~~~~~~ OniContext.cpp:718:59: error: 'struct OniFrame' has no member named 'timestamp' 718 | oldestTimestamp = pFrame->timestamp; | ^~~~~~~~~ OniContext.cpp: At global scope: OniContext.cpp:897:24: error: expected initializer before 'Context' 897 | void ONI_CALLBACK_TYPE Context::deviceDriver_DeviceConnected(Device* pDevice, void* pCookie) | ^~~~~~~ OniContext.cpp:907:24: error: expected initializer before 'Context' 907 | void ONI_CALLBACK_TYPE Context::deviceDriver_DeviceDisconnected(Device* pDevice, void* pCookie) | ^~~~~~~ OniContext.cpp:917:24: error: expected initializer before 'Context' 917 | void ONI_CALLBACK_TYPE Context::deviceDriver_DeviceStateChanged(Device* pDevice, OniDeviceState deviceState, void* pCookie) | ^~~~~~~ make[1]: *** [../../ThirdParty/PSCommon/BuildSystem/CommonCppMakefile:130: ../../Bin/Intermediate/Aarch64-Release/libOpenNI2.so/OniContext.o] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/openni2-camera-2.0.3-1/OpenNI2-2.2.0.33/Source/Core' make: *** [Makefile:122: Source/Core] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.8MBRCZ (%build) Bad exit status from /var/tmp/rpm-tmp.8MBRCZ (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/openni2-camera.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/openni2-camera.spec