Novint falcon is integrated using the HDAL SDK on Visual Studio. I could not find any documentation online to install the SDK on QT. I tried to include the HDAl library and header files in my QT project. But, the code does not run. The error is

:-1: error: No rule to make target '../imagesegment/hdl.h', needed by 'debug/main.o'. Stop.

The .pro file looks like this.3

Qt Code:
  1. #-------------------------------------------------
  2. #
  3. # Project created by QtCreator 2014-11-04T14:24:33
  4. #
  5. #-------------------------------------------------
  6.  
  7. QT += core
  8.  
  9. QT -= gui
  10.  
  11. TARGET = imagesegment
  12. CONFIG += console
  13. CONFIG -= app_bundle
  14.  
  15. TEMPLATE = app
  16.  
  17.  
  18. SOURCES += main.cpp \
  19. haptics.cpp \
  20. gshaptics.cpp \
  21. main_dx9.cpp \
  22. main_opengl.cpp \
  23. StdAfx.cpp
  24.  
  25. HEADERS += \
  26. hdl.h \
  27. hdlConstants.h \
  28. hdlErrors.h \
  29. hdlExports.h \
  30. hdlu.h \
  31. hdluExports.h \
  32. adll.h \
  33. afuncs.h \
  34. atypes.h \
  35. avars.h \
  36. glut.h \
  37. haptics.h \
  38. StdAfx.h \
  39. Widget.h
  40.  
  41.  
  42. win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../../../../Program Files/Novint/HDAL_SDK_2.1.3/lib/ -lhdl
  43. else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/../../../../Program Files/Novint/HDAL_SDK_2.1.3/lib/ -lhdld
  44.  
  45. INCLUDEPATH += $$PWD/../../../../Program Files/Novint/HDAL_SDK_2.1.3/include
  46. DEPENDPATH += $$PWD/../../../../Program Files/Novint/HDAL_SDK_2.1.3/include
To copy to clipboard, switch view to plain text mode