fork download
  1. TEMPLATE = lib
  2. CONFIG += qt kinect opencv debug_and_release
  3. TARGET = nuilib
  4. RESOURCES = resources.qrc
  5.  
  6. DEFINES += NUILIB_BUILD
  7.  
  8. INCLUDEPATH += .
  9.  
  10. HEADERS = KinectMaster.h Skeleton.h QVisionWidget.h QTiltConfig.h QMapExample.h miscIncludes.h nuiIncludes.h KinectInstance.h QKinectConfig.h QSoundRecognition.h QDepthAverager.h QKinectInstructionWidget.h QComparator.h QThresholdChanger.h QHistoryChanger.h
  11. SOURCES = KinectMaster.cpp Skeleton.cpp QVisionWidget.cpp QTiltConfig.cpp QMapExample.cpp KinectInstance.cpp QKinectConfig.cpp QSoundRecognition.cpp QDepthAverager.cpp QKinectInstructionWidget.cpp QComparator.cpp QThresholdChanger.cpp QHistoryChanger.cpp
  12.  
  13. opencv {
  14. LIBS += $(OPENCV_DIR)/lib/opencv_core220d.lib
  15. LIBS += $(OPENCV_DIR)/lib/opencv_highgui220d.lib
  16. LIBS += $(OPENCV_DIR)/lib/opencv_video220d.lib
  17. LIBS += $(OPENCV_DIR)/lib/opencv_ml220d.lib
  18. LIBS += $(OPENCV_DIR)/lib/opencv_legacy220d.lib
  19. LIBS += $(OPENCV_DIR)/lib/opencv_imgproc220d.lib
  20. INCLUDEPATH += $(OPENCV_DIR)/include
  21. INCLUDEPATH += $(OPENCV_DIR)/include/opencv
  22. }
  23.  
  24. kinect {
  25. LIBS += "C:\\Program Files\\Microsoft SDKs\\Kinect\\v1.5\\lib\\x86\\Kinect10.lib"
  26. INCLUDEPATH += "C:\\Program Files\\Microsoft SDKs\\Kinect\\v1.5\\inc"
  27. }
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.cpp:1: error: expected constructor, destructor, or type conversion before ‘=’ token
prog.cpp:24: error: function definition does not declare parameters
stdout
Standard output is empty