I am rapidly getting to the end of my tether here. There hardly seems to be anyone who knows how to use NAnt to build (unmanaged) C++ in Visual Studio 7 (i.e. MSDEV 2003).
The information I have found so far is sketchy at best. I know NAnt can be a great tool - but is anyone out there actually using it for 'REAL' projects (other than maybe some school projects in C# etc?). I used the cl and link tasks and copied the settings from my project EXACTLY for these commands. However, when I look at the Buildlog from VC, and compare it to the screen output, there are some differences: <BuildLog> Creating temporary file "c:\timer\Debug\RSP000007.rsp" with contents [ /Od /D "WIN32" /D "BUILDING_DLL" /D "_WINDLL" /D "_MBCS" /Gm /EHsc /RTC1 /MTd /Fo"Debug/" /Fd"Debug/vc70.pdb" /W3 /c /Wp64 /ZI /TP .\timer.cpp ] Creating command line "cl.exe @c:\timer\Debug\RSP000007.rsp /nologo" Creating temporary file "c:\timer\Debug\RSP000008.rsp" with contents [ /OUT:"Debug/timer.dll" /INCREMENTAL /NOLOGO /DLL /DEBUG /PDB:"Debug/timer.pdb" /SUBSYSTEM:WINDOWS /IMPLIB:"Debug/timer.lib" /MACHINE:X86 Winmm.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 .\Debug\timer.obj ] Creating command line "link.exe @c:\timer\Debug\RSP000008.rsp" </BuildLog> build: [cl] Compiling 1 files to 'C:\timer'. [cl] timer.cpp [cl] c:\timer\timer.cpp(51) : warning C4311: 'type cast' : pointer truncation from 'Timer *const ' to 'DWORD' [cl] c:\timer\timer.cpp(68) : warning C4312: 'type cast' : conversion from 'DWORD' to 'Timer *' of greater size [link] Linking 0 files to 'C:\timer\timer.dll'. [link] LINK : warning LNK4001: no object files specified; libraries used [link] LINK : error LNK2001: unresolved external symbol [EMAIL PROTECTED] [link] timer.dll : fatal error LNK1120: 1 unresolved externals BUILD FAILED Does anyone actually KNOW whats going on? -- View this message in context: http://www.nabble.com/Has-anyone-used-Nant-to-SUCCESSFULLY-build-a-VC7.1-C%2B%2B-project--t1580354.html#a4289827 Sent from the NAnt - Users forum at Nabble.com. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users