Run "ccmake" instead of "cmake" to get the interactive configuration for the projects.<div><br> </div><div>This will get you farther... then you can ask more questions (if necessary) to get to the next step.
</div><div><br class="webkit-block-placeholder"></div><div><br class="webkit-block-placeholder"></div><div>HTH,</div><div>David</div><div><br class="webkit-block-placeholder"></div><div><br><div><span class="gmail_quote">
On 11/29/07, <b class="gmail_sendername">Rable24</b> <<a href="mailto:dmorofke@gmail.com">dmorofke@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>Just don't get it. I'm trying to install ITK on my Mac and there really<br>isn't any wiki / help available for this. I've got OS X 10.4.11, cmake<br>2.4-p7 and gcc 4.0.1 on my machine. The process I figured I should do is:
<br><br>Unarchive<br>Change to "InsightToolKit-3.4.0"<br>Run: 'cmake .'<br>Run: 'make .'<br>Run: 'sudo make install' or optionally 'sudo make install/fast'<br><br>1st issue: When I run cmake . it gives me no prompt or any options so I'm
<br>not entirely sure where it's going to install to. The Unix wiki's show some<br>sort of menu.<br>2nd issue: It installs! Hazah! ... But doesn't work?<br><br>To expand on this 2nd issue, the compile works like a charm, all the
<br>binaries are sitting in ~/InsightToolKit-3.4.0/bin and work great. Now,<br>when I change into the examples/IO directory and run cmake (works great<br>again ...) and then make I get:<br><br>[ 3%] Building CXX object<br>
CMakeFiles/ComplexImageReadWrite.dir/ComplexImageReadWrite.o<br>/Users/darren3m/Desktop/InsightToolkit-3.4.0/Examples/IO/ComplexImageReadWrite.cxx:49:22:<br>error: itkImage.h: No such file or directory<br>/Users/darren3m/Desktop/InsightToolkit-
3.4.0/Examples/IO/ComplexImageReadWrite.cxx:50:32:<br>error: itkImageFileReader.h: No such file or directory<br>/Users/darren3m/Desktop/InsightToolkit-3.4.0/Examples/IO/ComplexImageReadWrite.cxx:51:32:<br>error: itkImageFileWriter.h
: No such file or directory<br>/Users/darren3m/Desktop/InsightToolkit-3.4.0/Examples/IO/ComplexImageReadWrite.cxx:<br>In function 'int main(int, char**)':<br>/Users/darren3m/Desktop/InsightToolkit-3.4.0/Examples/IO/ComplexImageReadWrite.cxx:61:
<br>error: 'cerr' is not a member of 'std'<br>/Users/darren3m/Desktop/InsightToolkit-3.4.0/Examples/IO/ComplexImageReadWrite.cxx:62:<br>error: 'cerr' is not a member of 'std'<br>/Users/darren3m/Desktop/InsightToolkit-
3.4.0/Examples/IO/ComplexImageReadWrite.cxx:79:<br>error: 'itk' has not been declared<br>/Users/darren3m/Desktop/InsightToolkit-3.4.0/Examples/IO/ComplexImageReadWrite.cxx:79:<br>error: expected initializer before '<' token
<br>/Users/darren3m/Desktop/InsightToolkit-3.4.0/Examples/IO/ComplexImageReadWrite.cxx:93:<br>error: 'itk' has not been declared<br>/Users/darren3m/Desktop/InsightToolkit-3.4.0/Examples/IO/ComplexImageReadWrite.cxx:93:
<br>error: expected initializer before '<' token<br>/Users/darren3m/Desktop/InsightToolkit-3.4.0/Examples/IO/ComplexImageReadWrite.cxx:94:<br>error: 'itk' has not been declared<br>/Users/darren3m/Desktop/InsightToolkit-
3.4.0/Examples/IO/ComplexImageReadWrite.cxx:94:<br>error: expected initializer before '<' token<br>/Users/darren3m/Desktop/InsightToolkit-3.4.0/Examples/IO/ComplexImageReadWrite.cxx:96:<br>error: 'ReaderType' has not been declared
<br>/Users/darren3m/Desktop/InsightToolkit-3.4.0/Examples/IO/ComplexImageReadWrite.cxx:96:<br>error: 'Pointer' was not declared in this scope<br>/Users/darren3m/Desktop/InsightToolkit-3.4.0/Examples/IO/ComplexImageReadWrite.cxx:96:
<br>error: expected `;' before 'reader'<br>/Users/darren3m/Desktop/InsightToolkit-3.4.0/Examples/IO/ComplexImageReadWrite.cxx:97:<br>error: 'WriterType' has not been declared<br>/Users/darren3m/Desktop/InsightToolkit-
3.4.0/Examples/IO/ComplexImageReadWrite.cxx:97:<br>error: expected `;' before 'writer'<br>/Users/darren3m/Desktop/InsightToolkit-3.4.0/Examples/IO/ComplexImageReadWrite.cxx:111:<br>error: 'reader' was not declared in this scope
<br>/Users/darren3m/Desktop/InsightToolkit-3.4.0/Examples/IO/ComplexImageReadWrite.cxx:112:<br>error: 'writer' was not declared in this scope<br>/Users/darren3m/Desktop/InsightToolkit-3.4.0/Examples/IO/ComplexImageReadWrite.cxx:146:
<br>error: 'itk' has not been declared<br>/Users/darren3m/Desktop/InsightToolkit-3.4.0/Examples/IO/ComplexImageReadWrite.cxx:146:<br>error: expected type-specifier<br>/Users/darren3m/Desktop/InsightToolkit-3.4.0/Examples/IO/ComplexImageReadWrite.cxx:146:
<br>error: expected `)' before '&' token<br>/Users/darren3m/Desktop/InsightToolkit-3.4.0/Examples/IO/ComplexImageReadWrite.cxx:146:<br>error: expected `{' before '&' token<br>/Users/darren3m/Desktop/InsightToolkit-
3.4.0/Examples/IO/ComplexImageReadWrite.cxx:146:<br>error: 'err' was not declared in this scope<br>/Users/darren3m/Desktop/InsightToolkit-3.4.0/Examples/IO/ComplexImageReadWrite.cxx:146:<br>error: expected `;' before ')' token
<br>/Users/darren3m/Desktop/InsightToolkit-3.4.0/Examples/IO/ComplexImageReadWrite.cxx:167:<br>error: expected `}' at end of input<br>make[2]: *** [CMakeFiles/ComplexImageReadWrite.dir/ComplexImageReadWrite.o]<br>Error 1
<br>make[1]: *** [CMakeFiles/ComplexImageReadWrite.dir/all] Error 2<br>make: *** [all] Error 2<br><br>Which just leaves me scratching my head because A) It already has<br>successfully complied this files B) Since the install worked, it should have
<br>these files in the Include directory / even if not the CMakeList file should<br>reference them somehow, no ?<br><br>Confused ... Any help would be appreciated.<br><br>--<br>View this message in context: <a href="http://www.nabble.com/Mac-OS-X-and-ITK-...-just-don%27t-get-it-tf4900566.html#a14037210">
http://www.nabble.com/Mac-OS-X-and-ITK-...-just-don%27t-get-it-tf4900566.html#a14037210</a><br>Sent from the ITK - Users mailing list archive at <a href="http://Nabble.com">Nabble.com</a>.<br><br>_______________________________________________
<br>Insight-users mailing list<br><a href="mailto:Insight-users@itk.org">Insight-users@itk.org</a><br><a href="http://www.itk.org/mailman/listinfo/insight-users">http://www.itk.org/mailman/listinfo/insight-users</a><br></blockquote>
</div><br> </div>