Ask Your Question

Build Opencv with Intel C++ compiler

asked 2013-09-03 08:29:36 -0600

gitgat gravatar image

I try to compile opencv last version under github with Intel c++ compiler under Visual Studio 8.

I generate the .sln with Cmake when I compile with VS8 internal compiler, there is no error. However, when I compile using Intel Composer XE 2013 under VS8, I get many undefined errors in some .h files.

  1. Am I doing something wrong or it is just some opencv bug that should be reported?

  2. Is there any set of recommanded flags to choose in order to get the most optimized code with the Intel c++ compiler?


edit retag flag offensive close merge delete


I do not think that visual studio 2008 actually supports the latest C++ compiler. AFAIK it is running on visual compiler version 6.

StevenPuttemans gravatar imageStevenPuttemans ( 2013-09-03 09:26:09 -0600 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2013-09-03 13:17:23 -0600

xaffeine gravatar image

You probably should use Visual Studio 2010 to get good results with Composer XE 2013. Visual Studio versions before 2010 are not even officially supported by Microsoft on Windows 7 (or later). Even with a good combination of versions, though, I would expect problems compiling the gpu module, to say the least.

edit flag offensive delete link more


I got everything working including gpu. It seems that versions were compatible, the only problem was from openexr that I deactivated temporally.

gitgat gravatar imagegitgat ( 2013-09-05 03:25:26 -0600 )edit

That's encouraging! By VS8, do you mean Visual Studio 2008, which is actually version 9?

xaffeine gravatar imagexaffeine ( 2013-09-05 13:11:08 -0600 )edit

Question Tools


Asked: 2013-09-03 08:29:36 -0600

Seen: 1,037 times

Last updated: Sep 03 '13