[ant-contrib - Help] RE: Problem: failed to create task or type c

"SourceForge.net" <[email protected]> Thu, 25 Oct 2007 14:37:00 -0700
Newsgroups gmane.comp.java.ant-contrib.devel
Message-ID <[email protected]>
Read and respond to this message at: 
https://sourceforge.net/forum/message.php?msg_id=4588562
By: sherpaguy

It looks like the linker needs to be told some additional information to pick
up some additional linker dependencies.  I don't see it as problem directly
related to cpptasks.  You will probably need to add some compilerarg, linkerarg,
defineset, includepath, or libset fields so that it picks up the resources your
application needs.

I don't use cpptasks with Visual Studio myself, but I'd start by creating a
similar VS project, turning on verbose compile/link output, and copying the
arguments into your cpptasks-based Ant target.  I'd start with adding a <libset
.../> and point it at the MSVCRT.lib library.  The cpptasks target does a lot
for you, but it still requires a little tweaking in the beginning.

______________________________________________________________________
You are receiving this email because you elected to monitor this forum.
To stop monitoring this forum, login to SourceForge.net and visit: 
https://sourceforge.net/forum/unmonitor.php?forum_id=113701

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/