Ask Your Question
0

The projects are out of date!! (Visual Studio 2010 Express+OpenCV 2.4.0)

asked 2013-03-26 07:57:32 -0600

NightLife gravatar image

updated 2013-03-26 07:59:56 -0600

When I want to debug the *.sln fine (generated by Cmake) in Visual Studio 2010, I come accross this problem:

The projects are out of date :

ZERO_CHECK - Debug Win32 zlib - Debug Win32 opencv_core - Debug Win32 libjasper - Debug Win32 opencv_imgproc - Debug Win32 libtiff - Debug Win32 libpng - Debug Win32 libjpeg - Debug Win32 opencv_flann - Debug Win32 opencv_highgui - Debug Win32

Would you like to build them?

After clicking "Yes".... the are the error with that:

'....\lib\Debug\opencv_gpu240d.lib' 6>LINK : fatal error LNK1104: cannot open file '....\lib\Debug\opencv_gpu240d.lib' 5>LINK : fatal error LNK1104: cannot open file '....\lib\Debug\opencv_gpu240d.lib' 4>LINK : fatal error LNK1104: cannot open file '....\lib\Debug\opencv_gpu240d.lib' 7>LINK : fatal error LNK1104: cannot open file '....\lib\Debug\opencv_gpu240d.lib' 8>LINK : fatal error LNK1104: cannot open file '....\lib\Debug\opencv_gpu240d.lib'

Would you plaese help me with that?!!

Thanks

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
1

answered 2013-03-26 11:28:18 -0600

Simply said, you are trying to rebuilt the samples, and forgot to add the specific linker settings to your project. Be sure to add the openCV libraries in your linker options and all will be fine.

Also do not depend on auto generated messages. Just create a own configured project, compile the code and run your exe's.

edit flag offensive delete link more

Comments

Thank you man for the solution !! The problem is that when I build it , it won´t finish building the project and it seems like a endless loop!!! Right now, I don´t receive again that problems via debugging!!!

it is the message for endless loop :

38>cl : Command line warning D9025: overriding '/EHa' with '/EHs' 38> column_filter.cu 38>cl : Command line warning D9025: overriding '/EHa' with '/EHs' 38> column_filter.cu

Dou have any idea?!!

NightLife gravatar imageNightLife ( 2013-03-27 02:39:28 -0600 )edit

No, since this are no C++ style errors. I do not have experience with cmake so don't know these errors. Wait for more suggestions.

StevenPuttemans gravatar imageStevenPuttemans ( 2013-03-27 03:00:37 -0600 )edit

Question Tools

Stats

Asked: 2013-03-26 07:57:32 -0600

Seen: 1,907 times

Last updated: Mar 26 '13