Problems compiling Win32-project (while x64 works fine)

asked 2016-10-09 07:37:48 -0600

Hello, I built an opencv application with Visual Studio 2010 as an x64 application. Unfortunately I have to run the application now on a x86 machine. So I'm trying to change my application to win32. So far I changed in my property sheet the library path to: E:\opencv249\build\x86\vc10\lib (Instead of E:\opencv249\build\x64\vc10\lib)

I also added the path to the system variables: E:\opencv249\build\x86\vc10\bin

When compiling, I get lots of "LNK2028 unresolved token"-errors. So something with the linking is not correct, but I cant figure out what is missing.

I am using the additional dependencies: opencv_core249.lib opencv_highgui249.lib opencv_imgproc249.lib opencv_calib3d249.lib

Can you please help me? Thank you very much!

edit retag flag offensive close merge delete

Comments

Make sure that in visual studio all your configurations of your linker paths are still correct. If you switch configuration between x86 and x64, these entries tend to go lost.

StevenPuttemans gravatar imageStevenPuttemans ( 2016-10-10 04:36:59 -0600 )edit