debug to release VC++

fatal error C1083 no such file or directory for header files you will get this error even you had that files in your current folder…

first of all run your code in debug mode
then copy each library each include file to your release mode.
run each project after that try to run your whole project
care about the dependencies
when you copied everything from the debug mode be careful about the extension of the folders….
\debug\bbb.lib should be \release\bbb.lib in release mode…

in DEBUG MODE (if it is working) vc++ generates some dependencies copy them
for example
travel in the properties of the each project and solution
be careful about the “configuration type” “properties” “preprocessor ( in debug it should be DEBUG but in release it should be NDEBUG)”
check the command line under the Linker and look for the created libraries….

IF IT IS NOT WORKING YET DELETE FILES IN DEBUG FOLDER AND RELEASE FOLDER REPEAT THE STEPS….

I WILL WRITE MORE ABOUT IT BECAUSE I HAD TROUBLE FOR THEM

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s