first example code error
hi all i've installed opencv version 3 from github....but when i try to do the first example code using Eclipse ( the code line way works well) i obtain this error and i don't know what to do. Thank you for your help
18:42:03 * Incremental Build of configuration Debug for project DI * make all Building file: ../src/DI.cpp Invoking: GCC C++ Compiler g++ -I/usr/local/include/opencv -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"src/DI.d" -MT"src/DI.d" -o "src/DI.o" "../src/DI.cpp" Finished building: ../src/DI.cpp
Building target: DI Invoking: GCC C++ Linker g++ -L/usr/local/lib -o "DI" ./src/DI.o -lopencv_core -lopencv_imgproc -lopencv_highgui /usr/bin/ld: ./src/DI.o: undefined reference to symbol '_ZN2cv6imreadERKNS_6StringEi' //usr/local/lib/libopencv_imgcodecs.so.3.0: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status make: * [DI] Errore 1
18:42:03 Build Finished (took 763ms)
I don't know how to solve this in particular, but I think these problems can be avoided if you follow these tutorials:
This worked for a lot of people, I hope this help you.
i exactly followed tutorials on opencv doc for opencv 3.0 and i get this problem
just to say: those tutorials I recommended have the same recomendation @berak did
@Mohsen Shafaghi
please do not post answers here, if you have a question or a comment, thank you.
(and no, this is not how this site works, noone will send you anything per mail, please do not expect anything like this)