Hi,

Probably this is not the right forum to ask this question but I am
stuck with writing the nant script which is throwing some linker
errors. The same project could able to build using VS2003. I gave the
following options to the linker in the script file:

===========================
<link output="../bin/testcases.dll" options="/OUT:../bin/testcases.dll
/INCREMENTAL:NO /NOLOGO /LIBPATH:../bin /DLL /DEBUG
/PDB:testcases/release/testcases.pdb /FIXED:No nlib.lib  kernel32.lib
user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib
shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib
/noentry">
===========================

Here are the linker errors:

===========================
                [link] testcases.obj : error LNK2001: unresolved
external symbol "void __cdecl __CxxUnregisterException
Object(void *,int)" (?__CxxUnregisterExceptionObject@@[EMAIL PROTECTED])
                [link] testcases.obj : error LNK2001: unresolved
external symbol "int __cdecl __CxxRegisterExceptionObj
ect(void *,void *)" (?__CxxRegisterExceptionObject@@[EMAIL PROTECTED])
                [link] testcases.obj : error LNK2001: unresolved
external symbol "int __cdecl __CxxQueryExceptionSize(v
oid)" (?__CxxQueryExceptionSize@@$$J0YAHXZ)
                [link] testcases.obj : error LNK2001: unresolved
external symbol "int __cdecl __CxxDetectRethrow(void *
)" (?__CxxDetectRethrow@@[EMAIL PROTECTED])
                [link] testcases.obj : error LNK2001: unresolved
external symbol "int __cdecl __CxxExceptionFilter(void
*,void *,int,void *)" (?__CxxExceptionFilter@@[EMAIL PROTECTED])
                [link] nlib.lib(N_fitknr.obj) : error LNK2019:
unresolved external symbol __ftol2 referenced in functio
n _L_dstrip
                [link] ../bin/testcases.dll : fatal error LNK1120: 6
unresolved externals

===========================

Can any one help me how to find the root cause for the linker errors ?

Thanks in advance,
Diwakar


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
Nant-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to