[vtkusers] VTK 5.6 compilation on Mac OS X 10.6.7
Josef Uher
josef.uher at gmail.com
Wed May 11 19:22:54 EDT 2011
Hi David,
Thanks a lot! The path was really the problem. VTK is compiled now.
Best regards,
Josef
On Thu, May 12, 2011 at 8:33 AM, David Gobbi <david.gobbi at gmail.com> wrote:
> Hi Josef,
>
> CMake is complaining because is looking for a framework directory and
> is finding a library instead. In your cmake cache, what is the IOKit
> variable set to? It should look like this:
>
> IOKit:FILEPATH=/System/Library/Frameworks/IOKit.framework
>
> Alternatively, the path could be prefixed with
> /Developer/SDKs/MacOSX10.6.sdk
>
> - David
>
>
> On Wed, May 11, 2011 at 4:19 PM, Josef Uher <josef.uher at gmail.com> wrote:
> > Hello All,
> >
> > I am new to VTK and I am trying to compile it with Java support on Mac OS
> X
> > 10.6.7. The compilation stops at about 36% with an error:
> >
> > [ 36%] Building CXX object
> > Rendering/CMakeFiles/vtkRendering.dir/vtkAbstractMapper3D.cxx.o
> > cc1objplus: error: /usr/lib/libIOKit.dylib: not a directory
> > make[2]: ***
> > [Rendering/CMakeFiles/vtkRendering.dir/vtkAbstractMapper3D.cxx.o] Error 1
> > make[1]: *** [Rendering/CMakeFiles/vtkRendering.dir/all] Error 2
> > make: *** [all] Error 2
> >
> >
> > The libIOKit library is where it is expected by the compiler. A note: I
> have
> > both XCode 3.2.5 and XCode 4.0 installed on the system. Could this be
> > related?
> >
> > The system is running with 64-bit kernel and I am trying to compile in
> > 64-bits.
> >
> > Thank you for any suggestions how to fix it.
> >
> > Josef
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20110512/07685be2/attachment.htm>
More information about the vtkusers
mailing list