Skip to content

CreateRedist build failure on Ubuntu #16

Description

@sirramsalott

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions