Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Changes needed to build proxynect on Ubuntu 16.04. Confirmed working.…
… 2 instances of freenect-tiltdemo are able to concurrently access the Kinect.

Signed-off-by: Caleb Szalacinski <[email protected]>
  • Loading branch information
Szalacinski committed Jan 13, 2018
commit 569e8b1a286dcd2388ce72f67b5b68aa4e689cac
3 changes: 2 additions & 1 deletion proxynect/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,13 @@ set_target_properties (proxynect PROPERTIES
VERSION ${PROJECT_VER}
SOVERSION ${PROJECT_APIVER}
OUTPUT_NAME freenect)
target_link_libraries(proxynect rt)

install (TARGETS proxynect
DESTINATION "${PROJECT_LIBRARY_INSTALL_DIR}/proxynect")

add_executable(proxydaemon proxydaemon.c proxyutils.c)
target_link_libraries(proxydaemon freenect m)
target_link_libraries(proxydaemon freenect m rt)
install (TARGETS proxydaemon
DESTINATION bin)

Expand Down
1 change: 1 addition & 0 deletions proxynect/proxydaemon.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <signal.h>

#define log(level, ...) do { if(device->loglevel >= FREENECT_LOG_##level) { fprintf(stderr, __VA_ARGS__); } } while(0)

Expand Down