Many thanks to those who helped me with my previous questions. Your responses were a great help.
I have this really big project I want to compile (Source.sln). Within Source.sln are a lot of directories with smaller solution files that Source depends on in order to compile. Do I have to write build files for every single sln file I want within my project, or does a single Source.build file get them all compiled by knowing the dependencies? I know that's probably a stupid question, but I honestly don't know. Also, I'm under the impression that <solution> only compiles. However, I need to Rebuild my solutions so I need to get rid of all the intermediate and output files from the previous compilation. Is there a tidy way of doing a "clean" on all these files, or do I have to have tons of <delete> tags in my build file?
And finally, using the solution task, I've managed to get Source.sln at least to start compiling. However, it crashes shortly after it starts trying linking:
[link] /nologo
[link] "kernel32.lib"
...
[link] "kernel32.lib"
...
[link] "C:\...\file.obj"
[link] "C:\...\file.res"
...
[link] "C:\...\file.res"
...
[link] Starting 'link (@"C:\DOCUME~1\iser\LOCALS~1\Temp\tmp2
F6.tmp" /IMPLIB:"C:\...\source\bin\Lib.lib" /
F6.tmp" /IMPLIB:"C:\...\source\bin\Lib.lib" /
[link] Creating library C:\...\source\bin\Lib.lib and object C:\...\source\bin\Lib.exp
[link] scenario.obj : error LNK2019: unresolved external symbol
"public: char const * __thiscall Object::getData(void)"...referenced in function...etc.
[link] scenario.obj : error LNK2019: unresolved external symbol
"public: char const * __thiscall Object::getData(void)"...referenced in function...etc.
The output at the bottom is:
fatal error LNK1120: 116 unresolved externals
BUILD FAILED - 0 non-fatal error(s), 3 warning(s)
External Program Failed: link (return code was 1120):
NAnt.Core.BuildException: External Program Failed: link (return code was 1120)
NAnt.Core.BuildException: External Program Failed: link (return code was 1120)
Does anyone know what is causing the linking problem?
Thank you once more for your help!
Yahoo! Sports
Rekindle the Rivalries. Sign up for Fantasy Football