G
Guest
I have a command line project that I am migrating from VS2003 to VS2005.
There is a combination of C, C++ and C#. When I build the project, I have
this in my call to cl.exe in my batch file:
/link /nodefaultlib:libc /nodefaultlib:libcmt /nodefaultlib:libcd
My compile gets three unresolved externals:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\LIB\kernel32.lib:
Searching c:\mbs7\sys\lib\expbin\minofuncs.lib:
Searching c:\mbs7\sys\lib\bin\mbs4.lib:
Searching c:\mbs7\sys\lib\bin\WBTRV32.LIB:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\LIB\uuid.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\LIB\OLDNAMES.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\LIB\MSVCRT.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\LIB\MSVCMRT.lib:
Finished searching libraries
Generating clr ijw/native image
Generating non-SAFESEH image.
Importing assembly module c:\mbs7\sys\lib\expbin\csclib.netmodule
racustse.obj : error LNK2001: unresolved external symbol __iob
mbs4.lib(pform.obj) : error LNK2019: unresolved external symbol __pctype
mbs4.lib(pform.obj) : error LNK2019: unresolved external symbol
___mb_cur_max c:\mbs7\cust\demo03\beta\mbs7sys.exe : fatal error LNK1120: 3
unresolved externals
Those three symbols are not contained in the programs listed, and I do not
know where they come from. I assume that I somehow have the wrong combination
of default libraries, but I can not figure it out. Any help would be
appreciated. Thanks.
There is a combination of C, C++ and C#. When I build the project, I have
this in my call to cl.exe in my batch file:
/link /nodefaultlib:libc /nodefaultlib:libcmt /nodefaultlib:libcd
My compile gets three unresolved externals:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\LIB\kernel32.lib:
Searching c:\mbs7\sys\lib\expbin\minofuncs.lib:
Searching c:\mbs7\sys\lib\bin\mbs4.lib:
Searching c:\mbs7\sys\lib\bin\WBTRV32.LIB:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\LIB\uuid.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\LIB\OLDNAMES.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\LIB\MSVCRT.lib:
Searching C:\Program Files\Microsoft Visual Studio 8\VC\LIB\MSVCMRT.lib:
Finished searching libraries
Generating clr ijw/native image
Generating non-SAFESEH image.
Importing assembly module c:\mbs7\sys\lib\expbin\csclib.netmodule
racustse.obj : error LNK2001: unresolved external symbol __iob
mbs4.lib(pform.obj) : error LNK2019: unresolved external symbol __pctype
mbs4.lib(pform.obj) : error LNK2019: unresolved external symbol
___mb_cur_max c:\mbs7\cust\demo03\beta\mbs7sys.exe : fatal error LNK1120: 3
unresolved externals
Those three symbols are not contained in the programs listed, and I do not
know where they come from. I assume that I somehow have the wrong combination
of default libraries, but I can not figure it out. Any help would be
appreciated. Thanks.