Run &quot;ccmake&quot; instead of &quot;cmake&quot; to get the interactive configuration for the projects.<div><br>&nbsp;</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> &lt;<a href="mailto:dmorofke@gmail.com">dmorofke@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>Just don&#39;t get it.&nbsp;&nbsp;I&#39;m trying to install ITK on my Mac and there really<br>isn&#39;t any wiki / help available for this.&nbsp;&nbsp;I&#39;ve got OS X 10.4.11, cmake<br>2.4-p7 and gcc 4.0.1 on my machine.&nbsp;&nbsp;The process I figured I should do is:
<br><br>Unarchive<br>Change to &quot;InsightToolKit-3.4.0&quot;<br>Run: &#39;cmake .&#39;<br>Run: &#39;make .&#39;<br>Run: &#39;sudo make install&#39; or optionally &#39;sudo make install/fast&#39;<br><br>1st issue: When I run cmake . it gives me no prompt or any options so I&#39;m
<br>not entirely sure where it&#39;s going to install to.&nbsp;&nbsp;The Unix wiki&#39;s show some<br>sort of menu.<br>2nd issue: It installs!&nbsp;&nbsp;Hazah!&nbsp;&nbsp;... But doesn&#39;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.&nbsp;&nbsp;Now,<br>when I change into the examples/IO directory and run cmake (works great<br>again ...) and then make I get:<br><br>[&nbsp;&nbsp;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 &#39;int main(int, char**)&#39;:<br>/Users/darren3m/Desktop/InsightToolkit-3.4.0/Examples/IO/ComplexImageReadWrite.cxx:61:
<br>error: &#39;cerr&#39; is not a member of &#39;std&#39;<br>/Users/darren3m/Desktop/InsightToolkit-3.4.0/Examples/IO/ComplexImageReadWrite.cxx:62:<br>error: &#39;cerr&#39; is not a member of &#39;std&#39;<br>/Users/darren3m/Desktop/InsightToolkit-
3.4.0/Examples/IO/ComplexImageReadWrite.cxx:79:<br>error: &#39;itk&#39; has not been declared<br>/Users/darren3m/Desktop/InsightToolkit-3.4.0/Examples/IO/ComplexImageReadWrite.cxx:79:<br>error: expected initializer before &#39;&lt;&#39; token
<br>/Users/darren3m/Desktop/InsightToolkit-3.4.0/Examples/IO/ComplexImageReadWrite.cxx:93:<br>error: &#39;itk&#39; has not been declared<br>/Users/darren3m/Desktop/InsightToolkit-3.4.0/Examples/IO/ComplexImageReadWrite.cxx:93:
<br>error: expected initializer before &#39;&lt;&#39; token<br>/Users/darren3m/Desktop/InsightToolkit-3.4.0/Examples/IO/ComplexImageReadWrite.cxx:94:<br>error: &#39;itk&#39; has not been declared<br>/Users/darren3m/Desktop/InsightToolkit-
3.4.0/Examples/IO/ComplexImageReadWrite.cxx:94:<br>error: expected initializer before &#39;&lt;&#39; token<br>/Users/darren3m/Desktop/InsightToolkit-3.4.0/Examples/IO/ComplexImageReadWrite.cxx:96:<br>error: &#39;ReaderType&#39; has not been declared
<br>/Users/darren3m/Desktop/InsightToolkit-3.4.0/Examples/IO/ComplexImageReadWrite.cxx:96:<br>error: &#39;Pointer&#39; was not declared in this scope<br>/Users/darren3m/Desktop/InsightToolkit-3.4.0/Examples/IO/ComplexImageReadWrite.cxx:96:
<br>error: expected `;&#39; before &#39;reader&#39;<br>/Users/darren3m/Desktop/InsightToolkit-3.4.0/Examples/IO/ComplexImageReadWrite.cxx:97:<br>error: &#39;WriterType&#39; has not been declared<br>/Users/darren3m/Desktop/InsightToolkit-
3.4.0/Examples/IO/ComplexImageReadWrite.cxx:97:<br>error: expected `;&#39; before &#39;writer&#39;<br>/Users/darren3m/Desktop/InsightToolkit-3.4.0/Examples/IO/ComplexImageReadWrite.cxx:111:<br>error: &#39;reader&#39; was not declared in this scope
<br>/Users/darren3m/Desktop/InsightToolkit-3.4.0/Examples/IO/ComplexImageReadWrite.cxx:112:<br>error: &#39;writer&#39; was not declared in this scope<br>/Users/darren3m/Desktop/InsightToolkit-3.4.0/Examples/IO/ComplexImageReadWrite.cxx:146:
<br>error: &#39;itk&#39; 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 `)&#39; before &#39;&amp;&#39; token<br>/Users/darren3m/Desktop/InsightToolkit-3.4.0/Examples/IO/ComplexImageReadWrite.cxx:146:<br>error: expected `{&#39; before &#39;&amp;&#39; token<br>/Users/darren3m/Desktop/InsightToolkit-
3.4.0/Examples/IO/ComplexImageReadWrite.cxx:146:<br>error: &#39;err&#39; was not declared in this scope<br>/Users/darren3m/Desktop/InsightToolkit-3.4.0/Examples/IO/ComplexImageReadWrite.cxx:146:<br>error: expected `;&#39; before &#39;)&#39; token
<br>/Users/darren3m/Desktop/InsightToolkit-3.4.0/Examples/IO/ComplexImageReadWrite.cxx:167:<br>error: expected `}&#39; 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>&nbsp;</div>