Bugs item #1417152, was opened at 2006-01-27 19:35
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1417152&group_id=31650

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Core
Group: 0.85
Status: Open
Resolution: None
Priority: 5
Submitted By: icnocop (icnocop)
Assigned to: Nobody/Anonymous (nobody)
Summary: solution task fails to compile Unicoded MFC projects

Initial Comment:
Hello.

I am running
NAnt 0.85 (Build 0.85.2173.0; nightly; 12/13/2005)

I am experiencing the problem initially reported here:
http://www.mail-archive.com/nant-
[EMAIL PROTECTED]/msg08202.html


START QUOTE

To reproduce the error:
Create a standard MFC dialog application [C++]

>From inside Visual Studio I change the 'Character 
set' property to 'Use
Unicode Character Set' (the default value is 'Use 
Multi-Byte Character
Set'). This causes '-D _UNICODE' and '-D UNICODE' to 
be added to the
compiler command line. But it also adds 
an '/ENTRY:"wWinMainCRTStartup"'
option to the linker command line.

When I compile the thing from Visual Studio it 
produces a working
application. Nant, however, seems to neglect the 
character set property,
when it comes to linking.

[link] msvcrtd.lib(crtexew.obj) : error LNK2019:
unresolved external symbol [EMAIL PROTECTED] 
referenced in function
_WinMainCRTStartup

END QUOTE

However, the error I am seeing is this:
                 [link] libcmt.lib(wincrt0.obj) : 
error LNK2019: unresolved exte
rnal symbol [EMAIL PROTECTED] referenced in function 
_WinMainCRTStartup
                 [link] 
C:\Work\Solution\Project\Release\Test.exe : fatal 
error LNK1120: 1 unr
esolved externals

Thank you.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1417152&group_id=31650


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to