Leap Motion under linux with OF

hey try to follow this example Leap but in get this error that i dont know how to fix if any one has a clue much appreciated !
Thanks


make[1]: Entering directory '/home/jacos/OF/apps/myApps/Leap'
HOST_OS=Linux
checking pkg-config libraries:   cairo zlib gstreamer-app-1.0 gstreamer-1.0 gstreamer-video-1.0 gstreamer-base-1.0 libudev freetype2 fontconfig sndfile openal libcurl glfw3 rtaudio libpulse-simple alsa gl glu glew gtk+-3.0 libmpg123 
with PKG_CONFIG_LIBDIR=
cat: obj/linux64/Release/.compiler_flags: No such file or directory
Compiling /home/jacos/OF/apps/myApps/Leap/src/ofApp.cpp
g++ -c -O3 -march=native -mtune=native -DNDEBUG -Wall -Werror=return-type -std=c++14 -DGCC_HAS_REGEX -DOF_USING_GTK -DOF_USING_GTK -DOF_USING_MPG123  -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/libffi-3.2.1/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/gstreamer-1.0 -I/usr/include/orc-0.4 -I/usr/include/AL -I/usr/include/rtaudio -D__LINUX_ALSA__ -D__LINUX_PULSE__ -D__UNIX_JACK__ -D_REENTRANT -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -pthread -I/home/jacos/OF/libs/fmodex/include -I/home/jacos/OF/libs/glm/include -I/home/jacos/OF/libs/glm/include/glm -I/home/jacos/OF/libs/glm/include/glm/detail -I/home/jacos/OF/libs/glm/include/glm/gtx -I/home/jacos/OF/libs/glm/include/glm/gtc -I/home/jacos/OF/libs/glm/include/glm/simd -I/home/jacos/OF/libs/json/include -I/home/jacos/OF/libs/kiss/include -I/home/jacos/OF/libs/pugixml/include -I/home/jacos/OF/libs/tess2/include -I/home/jacos/OF/libs/utf8/include -I/home/jacos/OF/libs/utf8/include/utf8 -I/home/jacos/OF/libs/openFrameworks -I/home/jacos/OF/libs/openFrameworks/graphics -I/home/jacos/OF/libs/openFrameworks/gl -I/home/jacos/OF/libs/openFrameworks/math -I/home/jacos/OF/libs/openFrameworks/sound -I/home/jacos/OF/libs/openFrameworks/utils -I/home/jacos/OF/libs/openFrameworks/events -I/home/jacos/OF/libs/openFrameworks/communication -I/home/jacos/OF/libs/openFrameworks/3d -I/home/jacos/OF/libs/openFrameworks/types -I/home/jacos/OF/libs/openFrameworks/video -I/home/jacos/OF/libs/openFrameworks/app -I/home/jacos/OF/apps/myApps/Leap/src -MMD -MP -MF obj/linux64/Release/src/ofApp.d -MT obj/linux64/Release/src/ofApp.o -o obj/linux64/Release/src/ofApp.o -c /home/jacos/OF/apps/myApps/Leap/src/ofApp.cpp
In file included from /home/jacos/OF/apps/myApps/Leap/src/ofApp.cpp:1:
/home/jacos/OF/apps/myApps/Leap/src/ofApp.h:5: warning: ignoring #pragma comment  [-Wunknown-pragmas]
    5 | #pragma comment(lib, "Leap.lib")
      | 
In file included from /home/jacos/OF/libs/glm/include/glm/./gtc/packing.hpp:579,
                 from /home/jacos/OF/libs/glm/include/glm/ext.hpp:48,
                 from /home/jacos/OF/libs/openFrameworks/math/ofVectorMath.h:21,
                 from /home/jacos/OF/libs/openFrameworks/ofMain.h:37,
                 from /home/jacos/OF/apps/myApps/Leap/src/ofApp.h:3,
                 from /home/jacos/OF/apps/myApps/Leap/src/ofApp.cpp:1:
/home/jacos/OF/libs/glm/include/glm/./gtc/packing.inl: In function ‘glm::vec2 glm::unpackUnorm2x8(glm::uint16)’:
/home/jacos/OF/libs/glm/include/glm/./gtc/packing.inl:377:37: warning: ‘void* memcpy(void*, const void*, size_t)’ copying an object of non-trivial type ‘glm::u8vec2’ {aka ‘struct glm::tvec2<unsigned char, glm::packed_highp>’} from an array of ‘glm::uint16’ {aka ‘short unsigned int’} [-Wclass-memaccess]
  377 |   memcpy(&Unpack, &p, sizeof(Unpack));
      |                                     ^
In file included from /home/jacos/OF/libs/glm/include/glm/vec2.hpp:6,
                 from /home/jacos/OF/libs/openFrameworks/events/ofEvents.h:8,
                 from /home/jacos/OF/libs/openFrameworks/utils/ofURLFileLoader.h:3,
                 from /home/jacos/OF/libs/openFrameworks/ofMain.h:11,
                 from /home/jacos/OF/apps/myApps/Leap/src/ofApp.h:3,
                 from /home/jacos/OF/apps/myApps/Leap/src/ofApp.cpp:1:
/home/jacos/OF/libs/glm/include/glm/detail/type_vec2.hpp:19:9: note: ‘glm::u8vec2’ {aka ‘struct glm::tvec2<unsigned char, glm::packed_highp>’} declared here
   19 |  struct tvec2
      |         ^~~~~
In file included from /home/jacos/OF/libs/glm/include/glm/./gtc/packing.hpp:579,
                 from /home/jacos/OF/libs/glm/include/glm/ext.hpp:48,
                 from /home/jacos/OF/libs/openFrameworks/math/ofVectorMath.h:21,
                 from /home/jacos/OF/libs/openFrameworks/ofMain.h:37,
                 from /home/jacos/OF/apps/myApps/Leap/src/ofApp.h:3,
                 from /home/jacos/OF/apps/myApps/Leap/src/ofApp.cpp:1:
/home/jacos/OF/libs/glm/include/glm/./gtc/packing.inl: In function ‘glm::vec2 glm::unpackSnorm2x8(glm::uint16)’:
/home/jacos/OF/libs/glm/include/glm/./gtc/packing.inl:409:37: warning: ‘void* memcpy(void*, const void*, size_t)’ copying an object of non-trivial type ‘glm::i8vec2’ {aka ‘struct glm::tvec2<signed char, glm::packed_highp>’} from an array of ‘glm::uint16’ {aka ‘short unsigned int’} [-Wclass-memaccess]
  409 |   memcpy(&Unpack, &p, sizeof(Unpack));
      |                                     ^
In file included from /home/jacos/OF/libs/glm/include/glm/vec2.hpp:6,
                 from /home/jacos/OF/libs/openFrameworks/events/ofEvents.h:8,
                 from /home/jacos/OF/libs/openFrameworks/utils/ofURLFileLoader.h:3,
                 from /home/jacos/OF/libs/openFrameworks/ofMain.h:11,
                 from /home/jacos/OF/apps/myApps/Leap/src/ofApp.h:3,
                 from /home/jacos/OF/apps/myApps/Leap/src/ofApp.cpp:1:
/home/jacos/OF/libs/glm/include/glm/detail/type_vec2.hpp:19:9: note: ‘glm::i8vec2’ {aka ‘struct glm::tvec2<signed char, glm::packed_highp>’} declared here
   19 |  struct tvec2
      |         ^~~~~
In file included from /home/jacos/OF/libs/glm/include/glm/./gtc/packing.hpp:579,
                 from /home/jacos/OF/libs/glm/include/glm/ext.hpp:48,
                 from /home/jacos/OF/libs/openFrameworks/math/ofVectorMath.h:21,
                 from /home/jacos/OF/libs/openFrameworks/ofMain.h:37,
                 from /home/jacos/OF/apps/myApps/Leap/src/ofApp.h:3,
                 from /home/jacos/OF/apps/myApps/Leap/src/ofApp.cpp:1:
/home/jacos/OF/libs/glm/include/glm/./gtc/packing.inl: In function ‘glm::vec4 glm::unpackUnorm4x16(glm::uint64)’:
/home/jacos/OF/libs/glm/include/glm/./gtc/packing.inl:437:37: warning: ‘void* memcpy(void*, const void*, size_t)’ copying an object of non-trivial type ‘glm::u16vec4’ {aka ‘struct glm::tvec4<short unsigned int, glm::packed_highp>’} from an array of ‘glm::uint64’ {aka ‘long unsigned int’} [-Wclass-memaccess]
  437 |   memcpy(&Unpack, &p, sizeof(Unpack));
      |                                     ^
In file included from /home/jacos/OF/libs/glm/include/glm/vec4.hpp:6,
                 from /home/jacos/OF/libs/openFrameworks/math/ofVec4f.h:8,
                 from /home/jacos/OF/libs/openFrameworks/math/ofVec3f.h:5,
                 from /home/jacos/OF/libs/openFrameworks/types/ofPoint.h:3,
                 from /home/jacos/OF/libs/openFrameworks/types/ofParameter.h:5,
                 from /home/jacos/OF/libs/openFrameworks/utils/ofJson.h:4,
                 from /home/jacos/OF/libs/openFrameworks/ofMain.h:21,
                 from /home/jacos/OF/apps/myApps/Leap/src/ofApp.h:3,
                 from /home/jacos/OF/apps/myApps/Leap/src/ofApp.cpp:1:
/home/jacos/OF/libs/glm/include/glm/detail/type_vec4.hpp:19:9: note: ‘glm::u16vec4’ {aka ‘struct glm::tvec4<short unsigned int, glm::packed_highp>’} declared here
   19 |  struct tvec4
      |         ^~~~~
In file included from /home/jacos/OF/libs/glm/include/glm/./gtc/packing.hpp:579,
                 from /home/jacos/OF/libs/glm/include/glm/ext.hpp:48,
                 from /home/jacos/OF/libs/openFrameworks/math/ofVectorMath.h:21,
                 from /home/jacos/OF/libs/openFrameworks/ofMain.h:37,
                 from /home/jacos/OF/apps/myApps/Leap/src/ofApp.h:3,
                 from /home/jacos/OF/apps/myApps/Leap/src/ofApp.cpp:1:
/home/jacos/OF/libs/glm/include/glm/./gtc/packing.inl: In function ‘glm::vec4 glm::unpackSnorm4x16(glm::uint64)’:
/home/jacos/OF/libs/glm/include/glm/./gtc/packing.inl:469:37: warning: ‘void* memcpy(void*, const void*, size_t)’ copying an object of non-trivial type ‘glm::i16vec4’ {aka ‘struct glm::tvec4<short int, glm::packed_highp>’} from an array of ‘glm::uint64’ {aka ‘long unsigned int’} [-Wclass-memaccess]
  469 |   memcpy(&Unpack, &p, sizeof(Unpack));
      |                                     ^
In file included from /home/jacos/OF/libs/glm/include/glm/vec4.hpp:6,
                 from /home/jacos/OF/libs/openFrameworks/math/ofVec4f.h:8,
                 from /home/jacos/OF/libs/openFrameworks/math/ofVec3f.h:5,
                 from /home/jacos/OF/libs/openFrameworks/types/ofPoint.h:3,
                 from /home/jacos/OF/libs/openFrameworks/types/ofParameter.h:5,
                 from /home/jacos/OF/libs/openFrameworks/utils/ofJson.h:4,
                 from /home/jacos/OF/libs/openFrameworks/ofMain.h:21,
                 from /home/jacos/OF/apps/myApps/Leap/src/ofApp.h:3,
                 from /home/jacos/OF/apps/myApps/Leap/src/ofApp.cpp:1:
/home/jacos/OF/libs/glm/include/glm/detail/type_vec4.hpp:19:9: note: ‘glm::i16vec4’ {aka ‘struct glm::tvec4<short int, glm::packed_highp>’} declared here
   19 |  struct tvec4
      |         ^~~~~
In file included from /home/jacos/OF/libs/glm/include/glm/./gtc/packing.hpp:579,
                 from /home/jacos/OF/libs/glm/include/glm/ext.hpp:48,
                 from /home/jacos/OF/libs/openFrameworks/math/ofVectorMath.h:21,
                 from /home/jacos/OF/libs/openFrameworks/ofMain.h:37,
                 from /home/jacos/OF/apps/myApps/Leap/src/ofApp.h:3,
                 from /home/jacos/OF/apps/myApps/Leap/src/ofApp.cpp:1:
/home/jacos/OF/libs/glm/include/glm/./gtc/packing.inl: In function ‘glm::vec4 glm::unpackHalf4x16(glm::uint64)’:
/home/jacos/OF/libs/glm/include/glm/./gtc/packing.inl:505:37: warning: ‘void* memcpy(void*, const void*, size_t)’ copying an object of non-trivial type ‘glm::i16vec4’ {aka ‘struct glm::tvec4<short int, glm::packed_highp>’} from an array of ‘glm::uint64’ {aka ‘long unsigned int’} [-Wclass-memaccess]
  505 |   memcpy(&Unpack, &v, sizeof(Unpack));
      |                                     ^
In file included from /home/jacos/OF/libs/glm/include/glm/vec4.hpp:6,
                 from /home/jacos/OF/libs/openFrameworks/math/ofVec4f.h:8,
                 from /home/jacos/OF/libs/openFrameworks/math/ofVec3f.h:5,
                 from /home/jacos/OF/libs/openFrameworks/types/ofPoint.h:3,
                 from /home/jacos/OF/libs/openFrameworks/types/ofParameter.h:5,
                 from /home/jacos/OF/libs/openFrameworks/utils/ofJson.h:4,
                 from /home/jacos/OF/libs/openFrameworks/ofMain.h:21,
                 from /home/jacos/OF/apps/myApps/Leap/src/ofApp.h:3,
                 from /home/jacos/OF/apps/myApps/Leap/src/ofApp.cpp:1:
/home/jacos/OF/libs/glm/include/glm/detail/type_vec4.hpp:19:9: note: ‘glm::i16vec4’ {aka ‘struct glm::tvec4<short int, glm::packed_highp>’} declared here
   19 |  struct tvec4
      |         ^~~~~
In file included from /home/jacos/OF/libs/openFrameworks/math/ofVec2f.h:7,
                 from /home/jacos/OF/libs/openFrameworks/math/ofVec3f.h:4,
                 from /home/jacos/OF/libs/openFrameworks/types/ofPoint.h:3,
                 from /home/jacos/OF/libs/openFrameworks/types/ofParameter.h:5,
                 from /home/jacos/OF/libs/openFrameworks/utils/ofJson.h:4,
                 from /home/jacos/OF/libs/openFrameworks/ofMain.h:21,
                 from /home/jacos/OF/apps/myApps/Leap/src/ofApp.h:3,
                 from /home/jacos/OF/apps/myApps/Leap/src/ofApp.cpp:1:
/usr/include/LeapMath.h: At global scope:
/home/jacos/OF/libs/openFrameworks/math/ofMathConstants.h:21:19: error: expected unqualified-id before numeric constant
   21 |  #define PI       3.14159265358979323846
      |                   ^~~~~~~~~~~~~~~~~~~~~~
/home/jacos/OF/libs/openFrameworks/math/ofMathConstants.h:21:19: error: expected unqualified-id before numeric constant
   21 |  #define PI       3.14159265358979323846
      |                   ^~~~~~~~~~~~~~~~~~~~~~
/home/jacos/OF/libs/openFrameworks/math/ofMathConstants.h:21:19: error: expected ‘)’ before numeric constant
/home/jacos/OF/libs/openFrameworks/math/ofMathConstants.h:41:21: note: to match this ‘(’
   41 |  #define DEG_TO_RAD (PI/180.0)
      |                     ^
/home/jacos/OF/libs/openFrameworks/math/ofMathConstants.h:45:22: error: expected unqualified-id before numeric constant
   45 |  #define RAD_TO_DEG (180.0/PI)
      |                      ^~~~~
/home/jacos/OF/libs/openFrameworks/math/ofMathConstants.h:45:22: error: expected ‘)’ before numeric constant
/home/jacos/OF/apps/myApps/Leap/src/ofApp.cpp: In member function ‘virtual void ofApp::draw()’:
/home/jacos/OF/apps/myApps/Leap/src/ofApp.cpp:74:15: warning: ‘void ofRotateX(float)’ is deprecated: Use ofRotateXDeg or ofRotateXRad [-Wdeprecated-declarations]
   74 |  ofRotateX(295);
      |               ^
In file included from /home/jacos/OF/libs/openFrameworks/ofMain.h:6,
                 from /home/jacos/OF/apps/myApps/Leap/src/ofApp.h:3,
                 from /home/jacos/OF/apps/myApps/Leap/src/ofApp.cpp:1:
/home/jacos/OF/libs/openFrameworks/graphics/ofGraphics.h:1022:60: note: declared here
 1022 | OF_DEPRECATED_MSG("Use ofRotateXDeg or ofRotateXRad", void ofRotateX(float degrees));
      |                                                            ^~~~~~~~~
/home/jacos/OF/libs/openFrameworks/utils/ofConstants.h:57:49: note: in definition of macro ‘OF_DEPRECATED_MSG’
   57 |         #define OF_DEPRECATED_MSG(message, ...) __VA_ARGS__ __attribute__ ((deprecated(message)))
      |                                                 ^~~~~~~~~~~
/home/jacos/OF/apps/myApps/Leap/src/ofApp.cpp:74:15: warning: ‘void ofRotateX(float)’ is deprecated: Use ofRotateXDeg or ofRotateXRad [-Wdeprecated-declarations]
   74 |  ofRotateX(295);
      |               ^
In file included from /home/jacos/OF/libs/openFrameworks/ofMain.h:6,
                 from /home/jacos/OF/apps/myApps/Leap/src/ofApp.h:3,
                 from /home/jacos/OF/apps/myApps/Leap/src/ofApp.cpp:1:
/home/jacos/OF/libs/openFrameworks/graphics/ofGraphics.h:1022:60: note: declared here
 1022 | OF_DEPRECATED_MSG("Use ofRotateXDeg or ofRotateXRad", void ofRotateX(float degrees));
      |                                                            ^~~~~~~~~
/home/jacos/OF/libs/openFrameworks/utils/ofConstants.h:57:49: note: in definition of macro ‘OF_DEPRECATED_MSG’
   57 |         #define OF_DEPRECATED_MSG(message, ...) __VA_ARGS__ __attribute__ ((deprecated(message)))
      |                                                 ^~~~~~~~~~~
make[1]: *** [/home/jacos/OF/libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:217: obj/linux64/Release/src/ofApp.o] Error 1
make[1]: Leaving directory '/home/jacos/OF/apps/myApps/Leap'
make: *** [/home/jacos/OF/libs/openFrameworksCompiled/project/makefileCommon/compile.project.mk:129: Release] Error 2