User forums > Using Code::Blocks
Settings for Installing Intel Compiler v11
cdemirkir:
--- Quote from: ollydbg on March 29, 2009, 09:51:36 am ---
--- Quote from: cdemirkir on March 29, 2009, 08:14:05 am ---The reason for preferring Intel Compiler to GCC, GCC produces compiling problems with OpenMP directives.
--- End quote ---
For testing, I just successfully built svn opencv libraries with TDM-Mingw 4.3.3 with OpenMP enabled :D.
No compiling problems happened if you follow the readme supplied my TDM package.
You can have a try.
Good luck.
--- End quote ---
Another reason for preferring Intel compiler, I need a compiler which can be run at two different operating systems,Windows and Linux, without OpenMP compilation problem. I like to develop and stay in Windows, but at the same time I need the application to run in Linux, Therefore I develop the code in Windows using Intel Compiler and building it with the same compiler in Linux.
Regards
Cem
ollydbg:
I believe you have miss something.
TDM-Mingw is a windows version of GCC.
Which compiler problem did you have when trying to use OpenCV in linux?
cdemirkir:
--- Quote from: ollydbg on March 29, 2009, 11:49:45 am ---I believe you have miss something.
TDM-Mingw is a windows version of GCC.
Which compiler problem did you have when trying to use OpenCV in linux?
--- End quote ---
I surely used GCC in the first try in Linux, but It gives compilation errors for OpenMP clauses separated with comma, therefore I moved to the Intel compiler ....
ollydbg:
Strange problem.
I haven't work under linux, but I think you have use an old version of GCC. Even the TDM-mingw( windows portion of GCC) can compile and build opencv successfully. So, I suggest you should try a newer version.
I do believe the newer GCC can do this, by the way, a lot of developer of OpenCV were working under linux, if you have problem with GCC, you can write a bug report to sourceforge. They will give you a kind response.
I have search the document of openmp. see here
http://gcc.gnu.org/projects/gomp/
--- Quote ---Status
June 6, 2008
The gomp-3_0-branch has been merged into SVN mainline, so GCC 4.4 and later will feature OpenMP v3.0 support
--- End quote ---
Good luck!
cdemirkir:
--- Quote from: ollydbg on March 29, 2009, 01:56:41 pm ---Strange problem.
I haven't work under linux, but I think you have use an old version of GCC. Even the TDM-mingw( windows portion of GCC) can compile and build opencv successfully. So, I suggest you should try a newer version.
I do believe the newer GCC can do this, by the way, a lot of developer of OpenCV were working under linux, if you have problem with GCC, you can write a bug report to sourceforge. They will give you a kind response.
I have search the document of openmp. see here
http://gcc.gnu.org/projects/gomp/
--- Quote ---
Status
June 6, 2008
The gomp-3_0-branch has been merged into SVN mainline, so GCC 4.4 and later will feature OpenMP v3.0 support
--- End quote ---
Good luck!
--- End quote ---
Thanks for your interest ... by the way ... Do you know how a static boost library, such as libboost_filesystem-mgw43-s.lib, can be linked ? Mingw ld.exe can not find, libboost_filesystem-mgw43-mt-s-1_38.lib, when I add it to the linker line at the C::B. It wants dynamic link library, boost_filesystem-mgw43-mt-1_38. How can I build my application with a static boost library ?
Regards
Cem
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version