[vtk-developers] Migration to VTK6

Goodwin Lawlor goodwin.lawlor.lists at gmail.com
Thu Dec 26 16:04:17 EST 2013


Hi Christian,

It's hard to tell without seeing the error message but I'd guess the
problem is you need to link against against libXft

See the topic here on gerrit for how to add the lib using CMake
http://review.source.kitware.com/#/t/2433/ (but change the location in the
source tree for your needs)

If you're going it alone on the command line add "-lXft"

If it's not this, post your build error message.

hth

Goodwin


On Wed, Dec 25, 2013 at 5:04 PM, z3r0x <christian.sandrini at me.com> wrote:

> Hi
>
> I am trying to migrate to VTK6 and am having linking problems when using
>
> c++ -o loch -Wall  lxTR.o lxOGLFT.o lxSetup.o lxRender.o lxWX.o lxImgIO.o
> lxLRUD.o lxFile.o lxSTree.o lxData.o lxMath.o lxSView.o lxSScene.o lxGUI.o
> lxGLC.o lxOptDlg.o lxAboutDlg.o img.o -lz -L/usr/X11R6/lib
> -lwx_osx_cocoau_gl-2.9 -L/usr/local/Cellar/wxmac/2.9.5.0/lib   -framework
> IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework
> System -framework OpenGL -framework QuickTime -lwx_osx_cocoau-2.9
> -L/usr/local/lib/vtk-6.0 -lvtkHybrid -lvtkImaging -lvtkIO -lvtkGraphics
> -lvtkFiltering -lvtkCommon -lvtkjpeg -lvtkpng -lvtkzlib -lvtksys -lfreetype
>
> how should I proceed with that?
>
>
>
>
>
> --
> View this message in context:
> http://vtk.1045678.n5.nabble.com/Migration-to-VTK6-tp5725138.html
> Sent from the VTK - Dev mailing list archive at Nabble.com.
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtk-developers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20131226/95702b28/attachment.html>


More information about the vtk-developers mailing list