views:

393

answers:

4

I looked at many places but could not find anything telling me how to buld the lib files. I know how to link them, but openCV install folder only contains .a files. I cant find an sln file or dsp. How can I make the lib files? Right now all the samples get linker problems because the lib files dont exist.

Thanks

A: 

.a files are libraries. On a unix platform they're typically statically linked libraries.

If you're on windows however they should be .dll files. How did you compile OpenCV and does it support compiling on windows?

Glen
its supposed to work with it, but I only found this: http://opencv.willowgarage.com/wiki/VisualC++I did not compile it though, thats what im trying to do
Milo
A: 

In order to create the .sln files you need to run CMake on the OpenCV folder containing makefiles.

Jacob
A: 

The Windows installer (.exe) for OpenCV 2.0 does not come with the binaries pre-built for vc++, nor does it have the .vcproj files for using vc++ to build them. You need to have cmake, which is available for free on the web. I used the GUI. Use that to build .vcproj files with which you can compile everything in VC++ 2008 or whatever. There are some gotchas. The question has been asked and answered.

Jive Dadson
A: 

install opencv 2.0 to visual c++ 2010 Express, here: http://arie-fardiansyah.blogspot.com/2010/09/install-opencv-20-ke-visual-c-2010.html

good luck:)

Arie Fardiansyah