You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running ./CreateRedist on Ubuntu 15, I get the following error:
In file included from ../../../../Include/XnDDK.h:27:0,
from ../../../../Include/XnDevice.h:29,
from ../../../../Source/XnDeviceSensorV2/XnDeviceSensor.h:33,
from ../../../../Source/XnDeviceSensorV2/XnDeviceSensorInit.h:27,
from ../../../../Source/XnDeviceSensorV2/XnSensorImageStream.cpp:24:
../../../../Source/XnDeviceSensorV2/XnSensorImageStream.cpp: In constructor ‘XnSensorImageStream::XnSensorImageStream(const XnChar*, XnSensorObjects*)’:
../../../../Include/XnStreamParams.h:261:44: error: ‘XN_CAPABILITY_AUTO_EXPOSURE’ was not declared in this scope
#define XN_STREAM_PROPERTY_AUTO_EXPOSURE XN_CAPABILITY_AUTO_EXPOSURE
^
../../../../Source/XnDeviceSensorV2/XnSensorImageStream.cpp:56:17: note: in expansion of macro ‘XN_STREAM_PROPERTY_AUTO_EXPOSURE’
m_AutoExposure(XN_STREAM_PROPERTY_AUTO_EXPOSURE, XN_IMAGE_STREAM_DEFAULT_AUTO_EXPOSURE),
^
../../../../Source/XnDeviceSensorV2/XnSensorImageStream.cpp: In member function ‘XnStatus XnSensorImageStream::SetColorTemperature(XnInt32)’:
../../../../Source/XnDeviceSensorV2/XnSensorImageStream.cpp:729:17: error: ‘XN_PAUSE_AUTO_CONTROL’ was not declared in this scope
if (nValue != XN_PAUSE_AUTO_CONTROL)
^
The Redist directory is not created. Any help with this would be really appreciated! Could it be something wrong with my OpenNI install?
The text was updated successfully, but these errors were encountered:
I just solved this problem. Change"XN_CAPABILITY_AUTO_EXPOSURE" to "XN_CAPABILITY_EXPOSURE" in "../Source/XnDeviceSensorV2/XnSensorImageGenerator.cpp" and ../Include/XnStreamParams.h. And change "XN_PAUSE_AUTO_CONTROL" to "XN_AUTO_CONTROL" in "../Source/XnDeviceSensorV2/XnSensorImageStream.cpp".
When running ./CreateRedist on Ubuntu 15, I get the following error:
The Redist directory is not created. Any help with this would be really appreciated! Could it be something wrong with my OpenNI install?
The text was updated successfully, but these errors were encountered: