View Single Post
  #1  
Old 03-22-2006, 06:08 PM
medhurstt medhurstt is online now
Registered User
 
Join Date: 03-22-2006
Posts: 3
VBP seems to be ignoring preprocessor settings

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=k...d=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?

Last edited by medhurstt; 03-22-2006 at 11:48 PM.
Reply With Quote