[Insight-users] Library conflict when build QtImageViewer
Mathieu Malaterre
mathieu.malaterre at kitware.com
Tue Oct 4 13:13:05 EDT 2005
Junyi Xia wrote:
> Hi,
> When trying to build QtImageViewer in Insight Application, compiler
> returned the following warning:
> $ make
> Building dependencies. cmake.depends...
> Building QT Wrapped File
> /data/InsightApplicationBinary/Auxiliary/QtImageViewer/moc_QtGlSliceView.cxx...
>
> Building Custom command
> /data/InsightApplicationBinary/Auxiliary/QtImageViewer/QtSlicerGUI.h...
> Building Custom command
> /data/InsightApplicationBinary/Auxiliary/QtImageViewer/QtSlicerGUI.cxx...
> Building Custom command
> /data/InsightApplicationBinary/Auxiliary/QtImageViewer/moc_QtSlicerGUI.cxx...
>
> Building Custom command
> /data/InsightApplicationBinary/Auxiliary/QtImageViewer/QtSlicerHelpGUI.h...
> Building Custom command
> /data/InsightApplicationBinary/Auxiliary/QtImageViewer/QtSlicerHelpGUI.cxx...
>
> Building Custom command
> /data/InsightApplicationBinary/Auxiliary/QtImageViewer/moc_QtSlicerHelpGUI.cxx...
>
> Building dependencies cmake.check_depends...
> Building object file QtSlicerTest.o...
> Building object file QtGlSliceView.o...
> Building object file QtSlicer.o...
> Building object file QtSlicerGUI.o...
> Building object file moc_QtSlicerGUI.o...
> Building object file QtSlicerHelpGUI.o...
> Building object file moc_QtSlicerHelpGUI.o...
> Building object file moc_QtGlSliceView.o...
> Building executable
> /data/InsightApplicationBinary/Auxiliary/QtImageViewer/QtSlicer...
> /usr/bin/ld: warning: libstdc++.so.5, needed by
> /usr/local/lib/InsightToolkit/libITKAlgorithms.so, may conflict with
> libstdc++.so.6
If you do a system update (including a compiler) you *really* should
recompile your libraries. So please recompile ITK using your new gcc4
compiler (and reinstall).
> After choosen a file in the QtImageViewer, the program exit with
> $ ./QtSlicer
> Segmentation fault (core dumped).
> Is there anyone dealing with this before? Thanks.
Run it through gdb and send us the backtrace:
$ gdb ./QtSlicer
...
gdb> bt
HTH
Mathieu
More information about the Insight-users
mailing list