Permalink
Browse files

added makefile advice for static vs dynamic linking error someone had.

  • Loading branch information...
1 parent 104dc40 commit 9b0d463ba3737a4c3f17ae76f6050de73123ed16 @ryanjay0 committed Nov 16, 2016
Showing with 3 additions and 0 deletions.
  1. +3 −0 Makefile
View
@@ -19,6 +19,9 @@ LDFLAGS := -lm -lglog -lopencv_core -lopencv_highgui -lopencv_imgproc \
CAFFE := -Wl,--whole-archive $(libcaffe) -Wl,--no-whole-archive
S := /usr/lib/x86_64-linux-gnu
+
+#if you have trouble making, try removing any problematic static lib
+#and replacing it with -lsomelib in the LDFLAGS instead
STATIC_LIBS := $S/libgflags.a $S/libboost_thread.a $S/libboost_system.a $S/libprotobuf.a
srcfiles := *.cpp

0 comments on commit 9b0d463

Please sign in to comment.