Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: djf232 on April 14, 2016, 08:32:08 pm

Title: OpenCV compiling problem
Post by: djf232 on April 14, 2016, 08:32:08 pm
I am trying to run a basic OpenCV program in codeblocks and I am trying to use the core.hpp library but it keeps saying it can't find it. I am including #include </opencv2/core/core.hpp> in the program but it isn't working. But when I type #include <core.hpp> it can find core.hpp, but since core.hpp itself calls other .hpp files in the same way I still get errors. The relative path to /opencv2/ is included in the build options, search directories, compiler. But for some reason it can't find it. How do I configure codeblocks to find core.hpp even if I write the include as #include </opencv2/core/core.hpp>?
Title: Re: OpenCV compiling problem
Post by: BlueHazzard on April 14, 2016, 10:34:02 pm
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28general%29#Q:_How_do_I_report_a_compilation_problem_on_the_forums.3F