471,075 Members | 916 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,075 software developers and data experts.

Behavior Difference/Bug in vs2003 for Building vc.net solution?

Has anyone come across this issue?

There seems to be a behavioral difference (and possible bug) in visual
strudio 2003 when building a vc.net solution through IDE and building the
same solution through command line using "devenv". The linker seems to be
failing when build is invoked through command line.
Here are the differences: (There are additional references to .lib files in
cmdline invoked version which are not there in IDE invoked version; even the
path to the last 2 .libs is not correct). As a result the build of the
solution fails with error:
Linking...
LINK : fatal error LNK1181: cannot open input file
'\Build\build\bin\Release\ErrorStr.lib'
Here are the response files that are generated by devenv:

linker response file when solution build is invoked from command-line:

[

/OUT:"..\..\..\..\bin\Release/BlueMinder.dll" /INCREMENTAL:NO /NOLOGO
/LIBPATH:"D:\Build\Work_Streams\Utility\Lib" /DLL /DEBUG
/PDB:"..\..\..\..\bin\Release/BlueMinder.pdb" /FIXED:No kernel32.lib
user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib
ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib
"\Build\bin\Release\ErrorStr.lib" "\Build\bin\Release\EventStr.lib"

".\Release\BlueMinder.obj"

]

linker response file when solution build is invoked from IDE:

[

/OUT:"..\..\..\..\bin\Release/BlueMinder.dll" /INCREMENTAL:NO /NOLOGO
/LIBPATH:"D:\Build\Utility\Lib" /DLL /DEBUG
/PDB:"..\..\..\..\bin\Release/BlueMinder.pdb" /FIXED:No kernel32.lib
user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib
ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib

".\Release\BlueMinder.obj"

]

Thanks for any comments or suggestions for alternatives in achieving the
build through commandline.

Thanks
Nov 17 '05 #1
0 1011

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by AinO | last post: by
3 posts views Thread by Rolf Molini | last post: by
5 posts views Thread by Konstantin Sokolovskiy | last post: by
10 posts views Thread by chris | last post: by
5 posts views Thread by nicknack | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.