First time here? Check out the FAQ!

Ask Your Question
1

Build Opencv with Intel C++ compiler

asked Sep 3 '13

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 2.8.11.2. 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?

Thanks

Preview: (hide)

Comments

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 (Sep 3 '13)edit

1 answer

Sort by » oldest newest most voted
0

answered Sep 3 '13

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.

Preview: (hide)

Comments

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 (Sep 5 '13)edit

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

xaffeine gravatar imagexaffeine (Sep 5 '13)edit

Question Tools

Stats

Asked: Sep 3 '13

Seen: 1,139 times

Last updated: Sep 03 '13