medhurstt
03-22-2006, 07:08 PM
Hi,
I'm having a few problems with getting projects to build under certain configurations.
The one I'm struggling with at the moment is "Win32 Release MinDependency" where I've found I need to remove the preprocessor definition _ATL_MIN_CRT as per Microsoft's article
http://support.microsoft.com/?scid=kb;en-us;291952&spid=3042&sid=194
This works in the IDE, Visual Studio C++
Linking...
Creating library ReleaseMinDependency/SML_MVA_ErrorLog.lib and object ReleaseMinDependency/SML_MVA_ErrorLog.exp
...but VBP seems to be ignoring the change and still spitting out the message...
Linking...
Creating library ReleaseMinDependency/SML_MVA_ErrorLog.lib and object ReleaseMinDependency/SML_MVA_ErrorLog.exp
LIBCMT.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
ReleaseMinDependency/SML_MVA_ErrorLog.dll : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
Does anyone have any ideas on where its going wrong?
Edit :
And I'm having further problems where I've defined a library include path in the IDE and this is also ignored in VBP. The library include path is a setting "global to visual studio" rather than for the project.
Can VBP deal with these kinds of settings?
I'm having a few problems with getting projects to build under certain configurations.
The one I'm struggling with at the moment is "Win32 Release MinDependency" where I've found I need to remove the preprocessor definition _ATL_MIN_CRT as per Microsoft's article
http://support.microsoft.com/?scid=kb;en-us;291952&spid=3042&sid=194
This works in the IDE, Visual Studio C++
Linking...
Creating library ReleaseMinDependency/SML_MVA_ErrorLog.lib and object ReleaseMinDependency/SML_MVA_ErrorLog.exp
...but VBP seems to be ignoring the change and still spitting out the message...
Linking...
Creating library ReleaseMinDependency/SML_MVA_ErrorLog.lib and object ReleaseMinDependency/SML_MVA_ErrorLog.exp
LIBCMT.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
ReleaseMinDependency/SML_MVA_ErrorLog.dll : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
Does anyone have any ideas on where its going wrong?
Edit :
And I'm having further problems where I've defined a library include path in the IDE and this is also ignored in VBP. The library include path is a setting "global to visual studio" rather than for the project.
Can VBP deal with these kinds of settings?