On Mon, Mar 1, 2010 at 7:49 PM, Michal Suchanek <[email protected]>
<[email protected]> wrote:
> Package: libinsighttoolkit3-dev
> Version: 3.16.0-1j
> Severity: normal
>
>
> Hello
>
> I tried building InsightApplications against the Debian packages
> libvtk5-dev and libinsighttoolkit3-dev but the build is failing to
> locate the tcl headers`.
>
> After adding CFLAGS I got error that /usr/lib/libtcl8.5.so cannot be
> built. It looks like tcl 8.5 is used by vtk but 8.4 by vtk which does
> not fit together well.

Could you please copy/paste the *exact* compilation error.
I believe this is due to the fact that CMake does transitive linking.
If a library Foo links against libtcl8.5.so.0, there are cases where
cmake will try to link to both -lFoo and -ltcl8.5 when -lFoo only is
sufficient.

As a simple work-around one need to install the -dev package for tcl8.5

HTH
-- 
Mathieu



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to