Ask Your Question
0

OpenCV3.0 support for VS 2008

asked 2015-07-15 15:30:01 -0600

DawidPi gravatar image

Hello.

As in the topic, i would like to ask, wheather you support opencv 3.0 for Visual Studio 2008, because I am unable to compile it using CMake's. Configuration of CMakes goes well, but compilation throws lots of errors like:

LINK : fatal error LNK1104: cannot open file '....\lib\Debug\opencv_highgui300d.lib'

what never happened in configurations for newer Visual Studios. Can you please give me some info about it?

edit retag flag offensive close merge delete

Comments

1

did you actually try to build the opencv libs ? (or is this just the cmake file foryour own project ?)

if it is the former, it means, there were errors building the highgui module before

if it is the latter - there are no prebuild libs for vs2008.

berak gravatar imageberak ( 2015-07-15 23:54:19 -0600 )edit
1

For x64 configuration failed for x86 compilation, but I solved it already. Unfortunatelly I am a new user so I can paste solution tomorrow

DawidPi gravatar imageDawidPi ( 2015-07-16 06:49:59 -0600 )edit

1 answer

Sort by » oldest newest most voted
1

answered 2015-07-16 09:09:38 -0600

DawidPi gravatar image

updated 2015-07-16 09:10:08 -0600

Ok so problem with x86 was compilation not linking. First was about stdint.h file, which could not be found by Visual Studio. I simply copied stdint.h from Visual Studio 2010. Second one was about using C++11 code there was one line of code where there was data method from std::vector used, so I had to change it into &(std::vector[0]) (I cant remeber object name for it.)

edit flag offensive delete link more

Comments

ah, yes, cap_mjpeg_encoder.cpp

berak gravatar imageberak ( 2015-07-16 09:14:25 -0600 )edit

I forgot. I also edited system.cpp and changed __cpuidex(cpuid_data,7,0) to __cpuid(cpuid_data,7)

DawidPi gravatar imageDawidPi ( 2015-07-16 11:27:55 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2015-07-15 15:30:01 -0600

Seen: 1,388 times

Last updated: Jul 15 '15