Hi, I am trying to compile a trivial source file with NAnt, but am having difficulty. I have one solution, which contains one project. The code is in C++. I am trying to use the solution task for the build. My code is as follows:
#include <iostream> int main(int argc, char * argv[]) { std::cout << "Hello, world!" << std::endl; return 0; } The relevant part of my build file looks like this: <solution configuration="${build.config}" outputdir="${out.dir}" solutionfile="${soln.name}" includevsfolders="true" /> I get the following error from NAnt: [cl] c:\src\main.cpp(1) : fatal error C1083: Cannot open include file: 'iostream': No such file or directory I found this link when searching for a solution: http://sourceforge.net/mailarchive/message.php?msg_id=8743226 This is from 3 months ago, so I'm hoping there's a better answer available. I feel like I must be missing something really basic, because it doesn't seem like any C++ code would compile without a lot of extra work otherwise. Thanks in advance for any insight. John ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php _______________________________________________ Nant-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-users