Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » OpenCV Eclipse cant find include files(Eclipse cant find the include files)
OpenCV Eclipse cant find include files [message #1781637] Fri, 09 February 2018 21:18
Robert Gray is currently offline Robert GrayFriend
Messages: 12
Registered: May 2017
Junior Member
Hi,

I want to ask a question about my recent attempt to configure OpenCV with Eclipse. After configuring, generating and installing a MinGW-based opencv project, launching it shows it can't find the opencv include files to build the new project in OpenCV. In fact Eclipse is using a MingW path I dont recall setting. I need some assistance to move on into the programming phase - stuck here. I've even tried hard coding an include and it still can't find the include.

Info: Internal Builder is used for build
g++ "-LC:\\opencv_src\\opencv-3.4.0\\Mingw_build\\install\\x64\\mingw\\lib" -static -o hello_Eclipse_opencv.exe "src\\helloopencv.o" "-lopencv_calib3d340 " "-lopencv_core340 " -lopencv_flann340 -lopencv_highgui340 -lopencv_imgcodecs340 -lopencv_imgproc340 "-lopencv_ml340 " "-lopencv_objdetect340 " "-lopencv_features2d340 " "-lopencv_photo340 " -lopencv_shape340 
C:/minGW/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lopencv_calib3d340 
C:/minGW/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lopencv_core340 
C:/minGW/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lopencv_flann340
C:/minGW/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lopencv_highgui340
C:/minGW/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lopencv_imgcodecs340
C:/minGW/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lopencv_imgproc340
C:/minGW/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lopencv_ml340 
C:/minGW/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lopencv_objdetect340 
C:/minGW/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lopencv_features2d340 
C:/minGW/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lopencv_photo340 
C:/minGW/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/7.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lopencv_shape340
collect2.exe: error: ld returned 1 exit status


Header example:

fatal error: C:\opencv_src\opencv-3.4.0\Mingw_build\install\include\opencv2\core.h: No such file or directory


Thanks in advance

[Updated on: Fri, 09 February 2018 21:28]

Report message to a moderator

Previous Topic:Code completion does not work properly?
Next Topic:C to MIPS Converter
Goto Forum:
  


Current Time: Thu May 24 14:13:33 GMT 2018

Powered by FUDForum. Page generated in 0.01857 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top