Reorder library order for building demos.
authorRobert Haines <rhaines@manchester.ac.uk>
Wed, 25 May 2016 05:30:40 +0000 (06:30 +0100)
committerRobert Haines <rhaines@manchester.ac.uk>
Wed, 25 May 2016 05:30:40 +0000 (06:30 +0100)
On Ubuntu 14.04 with g++ 4.8.4 this is the only way I can get the demos to build
and link without errors.

Makefile

index e4c8d52..e7861dd 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -19,5 +19,5 @@ all:
        $(LIBRARY_CLEAN)
        $(LIBRARY_BUILD_ARGS)
 
-       g++ -o bin/demo examples/demo.cpp -lopencv_core -lopencv_highgui -lopencv_imgproc -I./src $(LINKLIB) -O3
-       g++ -o bin/segmentation examples/segmentation.cpp -lopencv_core -lopencv_highgui -lopencv_imgproc -I./src $(LINKLIB) -O3
+       g++ -o bin/demo examples/demo.cpp -I./src $(LINKLIB) -lopencv_core -lopencv_highgui -lopencv_imgproc -O3
+       g++ -o bin/segmentation examples/segmentation.cpp -I./src $(LINKLIB) -lopencv_core -lopencv_highgui -lopencv_imgproc -O3
This page took 0.023063 seconds and 4 git commands to generate.