Ask Your Question

Revision history [back]

Eclipse Neon c++ openCV 3.0.0+ install and usage

I am trying to work on a project for myself this summer and at its core, I am planning to use the NVIDIA Jetson platform and need the benefits of the CUDA acceleration. I am primarily a Java / C# programmer but due to the support issues this is the first time I am really working on the c++ side of things. During the process of setting up my environment for use in eclipse neon.3 everything seems fine, I used the install package and then added the libraries with the setx command in the tutorial. When I attempt to build any c++ application using OpenCV I get an error on the namespace and any other OpenCV references. Any help would be appreciated.

here is the output form the compiler:

19:46:43 **** Incremental Build of configuration Debug for project testproj2 ****
Info: Internal Builder is used for build
g++ "-IC:\\Users\\cole\\Documents\\opencv\\build\\include\\opencv2" -O0 -g3 -Wall -c -fmessage-length=0 -o "src\\test.o" "..\\src\\test.cpp" 
g++ "-LC:\\Users\\cole\\Documents\\opencv\\build\\include\\opencv2" -o testproj2.exe "src\\test.o" -lopencv_core -lopencv_imgproc -lopencv_highgui 
c:/mingw/bin/../lib/gcc/mingw32/5.3.0/../../../../mingw32/bin/ld.exe: cannot find -lopencv_core
c:/mingw/bin/../lib/gcc/mingw32/5.3.0/../../../../mingw32/bin/ld.exe: cannot find -lopencv_imgproc
c:/mingw/bin/../lib/gcc/mingw32/5.3.0/../../../../mingw32/bin/ld.exe: cannot find -lopencv_highgui
collect2.exe: error: ld returned 1 exit status

19:46:43 Build Finished (took 255ms)