Help with Error
-
Can somebody help me eliminate the following error. I get this error when I compile for Release and not for debug. --------------------Configuration: esContaX - Win32 Release-------------------- Linking... LIBCMT.lib(crt0.obj) : error LNK2001: unresolved external symbol _main Release/esContaX.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe. esContaX.exe - 2 error(s), 0 warning(s) I Know this error is related to that the function _main is somehow unrichable. But why could this happen only in release mode. :confused:
-
Can somebody help me eliminate the following error. I get this error when I compile for Release and not for debug. --------------------Configuration: esContaX - Win32 Release-------------------- Linking... LIBCMT.lib(crt0.obj) : error LNK2001: unresolved external symbol _main Release/esContaX.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe. esContaX.exe - 2 error(s), 0 warning(s) I Know this error is related to that the function _main is somehow unrichable. But why could this happen only in release mode. :confused:
Try changing the C/C++ run-time you link with : VC++ / C++ / CodeGeneration / (single threaded(libc) | multithreadedstatic(libcmd) | multithreadeddll(msvcrt)).
She's so dirty, she threw a boomerang and it wouldn't even come back.
-
Try changing the C/C++ run-time you link with : VC++ / C++ / CodeGeneration / (single threaded(libc) | multithreadedstatic(libcmd) | multithreadeddll(msvcrt)).
She's so dirty, she threw a boomerang and it wouldn't even come back.
-
My post was detailing the actual tab and combobox in the Project settings.
She's so dirty, she threw a boomerang and it wouldn't even come back.
-
Can somebody help me eliminate the following error. I get this error when I compile for Release and not for debug. --------------------Configuration: esContaX - Win32 Release-------------------- Linking... LIBCMT.lib(crt0.obj) : error LNK2001: unresolved external symbol _main Release/esContaX.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe. esContaX.exe - 2 error(s), 0 warning(s) I Know this error is related to that the function _main is somehow unrichable. But why could this happen only in release mode. :confused:
See the VC forum FAQ (link at the top of this page) --Mike-- Just released - 1ClickPicGrabber - Grab & organize pictures from your favorite web pages, with 1 click! My really out-of-date homepage Sonork-100.19012 Acid_Helm
-
Can somebody help me eliminate the following error. I get this error when I compile for Release and not for debug. --------------------Configuration: esContaX - Win32 Release-------------------- Linking... LIBCMT.lib(crt0.obj) : error LNK2001: unresolved external symbol _main Release/esContaX.exe : fatal error LNK1120: 1 unresolved externals Error executing link.exe. esContaX.exe - 2 error(s), 0 warning(s) I Know this error is related to that the function _main is somehow unrichable. But why could this happen only in release mode. :confused:
remove the
_ATL_MIN_CRT
preprocessor directive from your project settings (in Release build). Michel It is a lovely language, but it takes a very long time to say anything in it, because we do not say anything in it, unless it is worth taking a very long time to say, and to listen to.
- TreeBeard