Hello
Hello
Is this normal? No. Errors are not normal.Or how can i prevent this? By telling the linker where your library files are. There is a option in your project settings to specify the directories to search for library files. Use that.Thanx in advance You are welcome.
WolfPack
Postaholic
2,051 posts since Jun 2005
Reputation Points: 572
Solved Threads: 115
You can turn off precompiled headers by selecting menu item Project --> Settings, select the c++ tab, in "Category" select "Precompiled Headers" then select the "Not using precompiled headers" radio button.
Ancient Dragon
Retired & Loving It
30,049 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,343
Since you have already started the project and added the *.cpp files you may have to turn off precompiled headers for each individual *.cpp file. In File View select a *.cpp file then turn off precompiled header as previously explained. Do that for each *.cpp file you sdee in File View. If there are lots of files it might be faster and easier to just start a new empty project, turn off precompiled headers, then add the *.cpp files to it.
Another way to resolve the problem is to add #include "stdafx.h" at the top of each *.cpp file (before any other include directives)
Ancient Dragon
Retired & Loving It
30,049 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,343
>>Do i have to install another release of OpenCV?
No, apparently the file contours.cpp already contains a main() function. You can remove the main() that you added to skeleton.cpp, or remove contours.cpp from the project.
Ancient Dragon
Retired & Loving It
30,049 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,343