|
Re: GCC C++ Compiler can't find include directory [message #1774136 is a reply to message #1774117] |
Tue, 10 October 2017 22:21 |
Andrey Solovjev Messages: 8 Registered: December 2014 Location: Moscow |
Junior Member |
|
|
The phase of compilation finished without error:
Finished building: ../src/first.cpp
The error is in linked phase. The option -l/home/rick/opencv/include/opencv2 means that you try to link library file /home/rick/opencv/include/opencv2. If you need some library to be linked use GCC C++ Linker -> Libraries ->Library search path to add folder name and GCC C++ Linker -> Libraries ->Libraries to add library name without prefix "lib" and suffix ".a".
[edited]
If opencv2 is not a library delete it from linked options. If it is an include directory add it to the compilation options. May be reason that here is used option -l instead of -I. First case is smal l (link) and second one is capital I (Include)
[Updated on: Tue, 10 October 2017 22:29] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.03008 seconds