Hi there,
When I click run, a new binary is not built, I have to manually rebuild or clean first. However, when I do this, everything does compile fine.
Note: I *have* Googled this problem, I found a couple of other threads here about it (one pointing to the other:
http://forums.codeblocks.org/index.php?topic=16540.0), but the issue there seemed to be incorrect build settings. However, my build settings seem OK, since the project does build perfectly fine (I just have to manually ask Code::Blocks to do it for me).
Also, does Code::Blocks have any sort of compile-as-you-type? I've searched everywhere for an option, and internet searched, but I must be using the wrong term/name for it, since I only find ten thousand people who don't know what compiler/linker arguments to use...
I would greatly appreciate any help anyone has to offer. Thanks!
Extra compiler options:
`pkg-config opencv --cflags`
-std=gnu++11
Extra linker options:
`pkg-config opencv --libs`
-lboost_thread
-lpthread
Build output:
-------------- Clean: Debug in RS (compiler: GNU GCC Compiler)---------------
Cleaned "RS - Debug"
-------------- Build: Debug in RS (compiler: GNU GCC Compiler)---------------
g++ -Wall -fexceptions -g -I/usr/local/include/opencv -I/usr/local/include -std=gnu++11 -c /home/will/code/RS/main.cpp -o obj/Debug/main.o
g++ -Wall -fexceptions -g -I/usr/local/include/opencv -I/usr/local/include -std=gnu++11 -c /home/will/code/RS/src/backgrounddetector.cpp -o obj/Debug/src/backgrounddetector.o
g++ -Wall -fexceptions -g -I/usr/local/include/opencv -I/usr/local/include -std=gnu++11 -c /home/will/code/RS/src/calibrator.cpp -o obj/Debug/src/calibrator.o
g++ -Wall -fexceptions -g -I/usr/local/include/opencv -I/usr/local/include -std=gnu++11 -c /home/will/code/RS/src/steerablefilter.cpp -o obj/Debug/src/steerablefilter.o
g++ -o bin/Debug/RS obj/Debug/main.o obj/Debug/src/backgrounddetector.o obj/Debug/src/calibrator.o obj/Debug/src/steerablefilter.o /usr/local/lib/libopencv_calib3d.so /usr/local/lib/libopencv_contrib.so /usr/local/lib/libopencv_core.so /usr/local/lib/libopencv_features2d.so /usr/local/lib/libopencv_flann.so /usr/local/lib/libopencv_gpu.so /usr/local/lib/libopencv_highgui.so /usr/local/lib/libopencv_imgproc.so /usr/local/lib/libopencv_legacy.so /usr/local/lib/libopencv_ml.so /usr/local/lib/libopencv_nonfree.so /usr/local/lib/libopencv_objdetect.so /usr/local/lib/libopencv_photo.so /usr/local/lib/libopencv_stitching.so /usr/local/lib/libopencv_superres.so /usr/local/lib/libopencv_ts.so /usr/local/lib/libopencv_video.so /usr/local/lib/libopencv_videostab.so -lboost_thread -lpthread
Output size is 777.14 KB
Process terminated with status 0 (0 minutes, 3 seconds)
0 errors, 0 warnings (0 minutes, 3 seconds)