<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica"><span class="Apple-style-span" style="font-family: arial; font-size: small; "></span></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; ">
Hi David,</p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; min-height: 14px; "><br></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; ">
Thanks a lot! The path was really the problem. VTK is compiled now.</p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; min-height: 14px; ">
<br></p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; ">Best regards,</p><p style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 12px/normal Helvetica; ">
Josef</p><p></p><div><br></div><div><br></div><br><div class="gmail_quote">On Thu, May 12, 2011 at 8:33 AM, David Gobbi <span dir="ltr">&lt;<a href="mailto:david.gobbi@gmail.com">david.gobbi@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi Josef,<br>
<br>
CMake is complaining because is looking for a framework directory and<br>
is finding a library instead.  In your cmake cache, what is the IOKit<br>
variable set to?  It should look like this:<br>
<br>
IOKit:FILEPATH=/System/Library/Frameworks/IOKit.framework<br>
<br>
Alternatively, the path could be prefixed with /Developer/SDKs/MacOSX10.6.sdk<br>
<font color="#888888"><br>
 - David<br>
</font><div><div></div><div class="h5"><br>
<br>
On Wed, May 11, 2011 at 4:19 PM, Josef Uher &lt;<a href="mailto:josef.uher@gmail.com">josef.uher@gmail.com</a>&gt; wrote:<br>
&gt; Hello All,<br>
&gt;<br>
&gt; I am new to VTK and I am trying to compile it with Java support on Mac OS X<br>
&gt; 10.6.7. The compilation stops at about 36% with an error:<br>
&gt;<br>
&gt; [ 36%] Building CXX object<br>
&gt; Rendering/CMakeFiles/vtkRendering.dir/vtkAbstractMapper3D.cxx.o<br>
&gt; cc1objplus: error: /usr/lib/libIOKit.dylib: not a directory<br>
&gt; make[2]: ***<br>
&gt; [Rendering/CMakeFiles/vtkRendering.dir/vtkAbstractMapper3D.cxx.o] Error 1<br>
&gt; make[1]: *** [Rendering/CMakeFiles/vtkRendering.dir/all] Error 2<br>
&gt; make: *** [all] Error 2<br>
&gt;<br>
&gt;<br>
&gt; The libIOKit library is where it is expected by the compiler. A note: I have<br>
&gt; both XCode 3.2.5 and XCode 4.0 installed on the system. Could this be<br>
&gt; related?<br>
&gt;<br>
&gt; The system is running with 64-bit kernel and I am trying to compile in<br>
&gt; 64-bits.<br>
&gt;<br>
&gt; Thank you for any suggestions how to fix it.<br>
&gt;<br>
&gt; Josef<br>
</div></div></blockquote></div><br>