Commit b44a012b authored by alexandre burton's avatar alexandre burton
Browse files

example_client: config.make avec pkgconfig

parent ba81277b
......@@ -56,8 +56,10 @@
# add a runtime path to search for those shared libraries, since they aren't
# incorporated directly into the final executable application binary.
################################################################################
PROJECT_LDFLAGS=-Wl,-rpath=./libs
USER_LIBS= -lm -lpcl_kdtree -lpcl_filters -lpcl_search -lflann_cpp -lpcl_common -lpcl_octree -lpcl_segmentation -lpcl_surface
PROJECT_LDFLAGS = -Wl,-rpath=${OF_ROOT}/addons/ofxSquash/libs/squash/lib/linux/x64/
PROJECT_LDFLAGS += $(shell pkg-config --libs pcl_common-1.8 pcl_octree-1.8 pcl_io-1.8)
# squash-0.7)
USER_LIBS = -lm -lpcl_kdtree -lpcl_filters -lpcl_search -lflann_cpp $(shell pkg-config --libs pcl_common-1.8) -lpcl_octree -lpcl_segmentation -lpcl_surface
################################################################################
# PROJECT DEFINES
......@@ -85,9 +87,8 @@ USER_LIBS= -lm -lpcl_kdtree -lpcl_filters -lpcl_search -lflann_cpp -lpcl_common
#
# Note: Leave a leading space when adding list items with the += operator
################################################################################
# PROJECT_CFLAGS =
PROJECT_CFLAGS = "-I/usr/include/pcl-1.8/"
PROJECT_CFLAGS += "-I/usr/include/eigen3"
PROJECT_CFLAGS = $(shell pkg-config --cflags pcl_common-1.8 eigen3)
# squash-0.7)
PROJECT_CFLAGS += "-Wno-unused-local-typedefs"
################################################################################
# PROJECT OPTIMIZATION CFLAGS
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment