Ask Your Question
1

Compiling OpenCV 2.4.5 with VS 2013 RC

asked 2013-06-27 11:10:27 -0500

MRanz gravatar image

updated 2013-09-26 11:43:09 -0500

berak gravatar image

Has anyone had any luck compiling openCV with VS 2013 RC? I have tried and get a bunch of "min doesn't belong to namespace std" "max doesn't belong to namespace std" in the IlmImf module, and opencv_features2d doesn't compile with the following error:

opencv\modules\core\include\opencv2/core/core.hpp(4512): fatal error C1075: end of file found before the left brace '{' at '......\modules\features2d\src\features2d_init.cpp(187)' was matched

Since the latest CMake UI doesn't yet support building with 2013 (at least from the UI and I'm a noob), my process was configuring CMake for 2012, and then opening the generated solution with 2013 and upgrading the compiler to vc12.

I was able to get past the min/max errors by adding header includes for <algorithm> in the 'offending' files, but I am stumped by the full error I posted above.

Thanks

edit retag flag offensive close merge delete

Comments

Did you find a solution?

Vinicius de Melo Rocha gravatar imageVinicius de Melo Rocha ( 2013-07-27 18:37:14 -0500 )edit

I have the very same error C1075 with VS 2013 RC and opencv 2.4

Numero7 gravatar imageNumero7 ( 2013-09-26 11:09:54 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2013-09-26 11:11:38 -0500

Numero7 gravatar image
edit flag offensive delete link more
Login/Signup to Answer

Question Tools

Stats

Asked: 2013-06-27 11:10:27 -0500

Seen: 671 times

Last updated: Sep 26 '13