<div>Hello. I have installed CMake and configured it. Furthermore i have unzipped the ITK package to a folder and given CMake the information of the folder.</div>
<div>I use visual studio 8(2005), and i have made the project of the hello world program situated in Examples/Installation/HelloWorld.cxx. i coped the cxx file and the txt file to a new folder, and wrote "cmake ." in my shell. This worked perfectly. A VS2005 project was generated for me. When i then try to build this solution consisting of 3 projects, namely
</div>
<div>ALL_BUILD</div>
<div>HelloWorld</div>
<div>INSTALL</div>
<div>ZERO_CHECK</div>
<div>I get an error:</div>
<div>
<div><font size="1">Linking...</font></div>
<div><font size="1">LINK : fatal error LNK1104: cannot open file 'ITKCommon.lib'</font></div></div>
<div>I cannot figure out what i am doing wrong. I think i need some path or something somewhere. </div>
<div>I was hoping someone could help me out on this one, since i am a bit stuck.</div>
<div>Best of regards to you.</div>
<div> </div>
<div>P.S. here is the build log:</div>
<div> </div>
<div>
<table width="100%" bgcolor="#dfdfe5">
<tbody>
<tr>
<td><font face="arial" size="+2">Command Lines </font></td></tr></tbody></table>
<table cellspacing="0" cellpadding="0" width="*">
<tbody>
<tr>
<td width="0" bgcolor="#ededf5"> </td>
<td width="0" bgcolor="#ffffff"> </td>
<td width="*"><pre>Creating temporary file "h:\thesis\itktest\HelloWorld.dir\Debug\RSP00001239003932.rsp" with contents
[
/OUT:"Debug\HelloWorld.exe" /INCREMENTAL /LIBPATH:"h:\thesis\itkbuild\bin\Debug" /LIBPATH:"h:\thesis\itkbuild\bin" /MANIFEST /MANIFESTFILE:"HelloWorld.dir\Debug\HelloWorld.exe.intermediate.manifest
" /DEBUG /PDB:"Debug\HelloWorld.pdb" /SUBSYSTEM:CONSOLE /STACK:10000000 /STACK:10000000 /machine:I386 /debug kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib
advapi32.lib ITKCommon.lib itkvnl_inst.lib itkvnl_algo.lib itkvnl.lib itknetlib.lib itkvcl.lib itksys.lib
".\helloworld.dir\debug\HelloWorld.obj"
".\HelloWorld.dir\Debug\HelloWorld.exe.embed.manifest.res"
]
Creating command line "link.exe @h:\thesis\itktest\HelloWorld.dir\Debug\RSP00001239003932.rsp /NOLOGO /ERRORREPORT:PROMPT"
</pre></td></tr></tbody></table>
<table width="100%" bgcolor="#dfdfe5">
<tbody>
<tr>
<td><font face="arial" size="+2">Output Window </font></td></tr></tbody></table>
<table cellspacing="0" cellpadding="0" width="*">
<tbody>
<tr>
<td width="0" bgcolor="#ededf5"> </td>
<td width="0" bgcolor="#ffffff"> </td>
<td width="*"><pre>Linking...
LINK : fatal error LNK1104: cannot open file 'ITKCommon.lib'
</pre></td></tr></tbody></table>
<table width="100%" bgcolor="#dfdfe5">
<tbody>
<tr>
<td><font face="arial" size="+2">Results </font></td></tr></tbody></table>
<table cellspacing="0" cellpadding="0" width="*">
<tbody>
<tr>
<td width="0" bgcolor="#ededf5"> </td>
<td width="0" bgcolor="#ffffff"> </td>
<td width="*"><pre>Build log was saved at "<a href="file://h:\thesis\itktest\HelloWorld.dir\Debug\BuildLog.htm">file://h:\thesis\itktest\HelloWorld.dir\Debug\BuildLog.htm</a>"
HelloWorld - 1 error(s), 0 warning(s)
</pre></td></tr></tbody></table><font size="1"></font></div>