InsightApplications won't compile

View: New views
8 Messages — Rating Filter:   Alert me  

InsightApplications won't compile

by Michael Mentink :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


I can't get InsightApllications 3.16 to build/link

I have succesfully built/compiled ITK, VTK, DCMTK, FLTK, all in g++4.3.3 in
Ubuntu 9.04, using the following files:
- vtk-5.4.2.tar.gz
- fltk-1.3.x-r6916.tar.bz2
- dcmtk-3.5.4.tar.gz
- InsightToolkit-3.16.0.tar.gz
- InsightApplications-3.16.0.tar.gz
- Cmake 2.6 patch 2

below is the cmake output (copied from ubuntu terminal)

What to do? Thanks, Michael

[ 36%] Building CXX object
CellularSegmentation/CMakeFiles/CellularSegmentation.dir/CellularSegmentationApplicationBase.o
/MMprogs/InsightApplications-3.16.0_src/DeformableRegistration3DTimeSeries/DicomImageReaderGUI.cxx:83:
error: ‘DeformableRegistration3DTimeSeriesGUI’ has not been declared
make[2]: ***
[DeformableRegistration3DTimeSeries/CMakeFiles/DeformableRegistration3DTimeSeries.dir/DicomImageReaderGUI.o]
Error 1
make[1]: ***
[DeformableRegistration3DTimeSeries/CMakeFiles/DeformableRegistration3DTimeSeries.dir/all]
Error 2
make[1]: *** Waiting for unfinished jobs....
[ 36%] Building CXX object
CellularSegmentation/CMakeFiles/CellularSegmentation.dir/CellularSegmentationApplication.o
CMakeFiles/DeformableModelSimplexMesh.dir/DeformableModelApplication.o: In
function `DeformableModelApplication::~DeformableModelApplication()':
DeformableModelApplication.cxx:(.text+0x2525): undefined reference to
`DeformableModelApplicationGUI::~DeformableModelApplicationGUI()'
DeformableModelApplication.cxx:(.text+0x254d): undefined reference to
`DeformableModelApplicationGUI::~DeformableModelApplicationGUI()'
CMakeFiles/DeformableModelSimplexMesh.dir/DeformableModelApplication.o: In
function `DeformableModelApplication::~DeformableModelApplication()':
DeformableModelApplication.cxx:(.text+0x2893): undefined reference to
`DeformableModelApplicationGUI::~DeformableModelApplicationGUI()'
DeformableModelApplication.cxx:(.text+0x28bb): undefined reference to
`DeformableModelApplicationGUI::~DeformableModelApplicationGUI()'
CMakeFiles/DeformableModelSimplexMesh.dir/DeformableModelApplication.o: In
function `DeformableModelApplication::~DeformableModelApplication()':
DeformableModelApplication.cxx:(.text+0x2c01): undefined reference to
`DeformableModelApplicationGUI::~DeformableModelApplicationGUI()'
CMakeFiles/DeformableModelSimplexMesh.dir/DeformableModelApplication.o:DeformableModelApplication.cxx:(.text+0x2c29):
more undefined references to
`DeformableModelApplicationGUI::~DeformableModelApplicationGUI()' follow
CMakeFiles/DeformableModelSimplexMesh.dir/DeformableModelApplication.o:(.rodata._ZTV26DeformableModelApplication[vtable
for DeformableModelApplication]+0x1c): undefined reference to
`DeformableModelApplicationGUI::Help()'
CMakeFiles/DeformableModelSimplexMesh.dir/DeformableModelApplication.o:(.rodata._ZTI26DeformableModelApplication[typeinfo
for DeformableModelApplication]+0x8): undefined reference to `typeinfo for
DeformableModelApplicationGUI'
CMakeFiles/DeformableModelSimplexMesh.dir/DeformableModelApplicationGUI.o: In
function `DeformableModelApplicationGUI::DeformableModelApplicationGUI()':
DeformableModelApplicationGUI.cxx:(.text+0x63d): undefined reference to `vtable
for DeformableModelApplicationGUI'
CMakeFiles/DeformableModelSimplexMesh.dir/DeformableModelApplicationGUI.o: In
function `DeformableModelApplicationGUI::DeformableModelApplicationGUI()':
DeformableModelApplicationGUI.cxx:(.text+0x19ef): undefined reference to `vtable
for DeformableModelApplicationGUI'
/MMprogs/FLTK_bin/lib/libfltk.a(screen_xywh.o): In function `screen_init()':
screen_xywh.cxx:(.text+0x1e): undefined reference to `XineramaIsActive'
screen_xywh.cxx:(.text+0x37): undefined reference to `XineramaQueryScreens'
collect2: ld returned 1 exit status
make[2]: *** [DeformableModelSimplexMesh/DeformableModelSimplexMesh] Error 1
make[1]: ***
[DeformableModelSimplexMesh/CMakeFiles/DeformableModelSimplexMesh.dir/all] Error 2
[ 36%] Building CXX object
CellularSegmentation/CMakeFiles/CellularSegmentation.dir/CellularAggregateViewer.o
[ 36%] Building CXX object
ImageRegistration2D/CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsoleBase.o
[ 36%] Building CXX object
CellularSegmentation/CMakeFiles/CellularSegmentation.dir/ImageSliceViewer.o
[ 36%] Building CXX object
CellularSegmentation/CMakeFiles/CellularSegmentation.dir/InteractorObserver.o
[ 37%] Building CXX object
ImageRegistration2D/CMakeFiles/ImageRegistration2D.dir/ImageRegistration2D.o
[ 37%] Building CXX object
CellularSegmentation/CMakeFiles/CellularSegmentation.dir/main.o
[ 38%] Building CXX object
CellularSegmentation/CMakeFiles/CellularSegmentation.dir/CellularSegmentationApplicationGUI.o
[ 38%] Building CXX object
ImageRegistration2D/CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsoleGUI.o
Linking CXX executable CellularSegmentation
CMakeFiles/CellularSegmentation.dir/CellularSegmentationApplication.o: In
function `CellularSegmentationApplication::~CellularSegmentationApplication()':
CellularSegmentationApplication.cxx:(.text+0x8dc): undefined reference to
`CellularSegmentationApplicationGUI::~CellularSegmentationApplicationGUI()'
CellularSegmentationApplication.cxx:(.text+0x904): undefined reference to
`CellularSegmentationApplicationGUI::~CellularSegmentationApplicationGUI()'
CMakeFiles/CellularSegmentation.dir/CellularSegmentationApplication.o: In
function `CellularSegmentationApplication::~CellularSegmentationApplication()':
CellularSegmentationApplication.cxx:(.text+0xa1c): undefined reference to
`CellularSegmentationApplicationGUI::~CellularSegmentationApplicationGUI()'
CellularSegmentationApplication.cxx:(.text+0xa44): undefined reference to
`CellularSegmentationApplicationGUI::~CellularSegmentationApplicationGUI()'
CMakeFiles/CellularSegmentation.dir/CellularSegmentationApplication.o: In
function `CellularSegmentationApplication::~CellularSegmentationApplication()':
CellularSegmentationApplication.cxx:(.text+0xb5c): undefined reference to
`CellularSegmentationApplicationGUI::~CellularSegmentationApplicationGUI()'
CMakeFiles/CellularSegmentation.dir/CellularSegmentationApplication.o:CellularSegmentationApplication.cxx:(.text+0xb84):
more undefined references to
`CellularSegmentationApplicationGUI::~CellularSegmentationApplicationGUI()' follow
CMakeFiles/CellularSegmentation.dir/CellularSegmentationApplication.o:(.rodata._ZTI31CellularSegmentationApplication[typeinfo
for CellularSegmentationApplication]+0x8): undefined reference to `typeinfo for
CellularSegmentationApplicationGUI'
CMakeFiles/CellularSegmentation.dir/CellularSegmentationApplicationGUI.o: In
function `CellularSegmentationApplicationGUI::CellularSegmentationApplicationGUI()':
CellularSegmentationApplicationGUI.cxx:(.text+0x270): undefined reference to
`vtable for CellularSegmentationApplicationGUI'
CMakeFiles/CellularSegmentation.dir/CellularSegmentationApplicationGUI.o: In
function `CellularSegmentationApplicationGUI::CellularSegmentationApplicationGUI()':
CellularSegmentationApplicationGUI.cxx:(.text+0x980): undefined reference to
`vtable for CellularSegmentationApplicationGUI'
/MMprogs/FLTK_bin/lib/libfltk.a(screen_xywh.o): In function `screen_init()':
screen_xywh.cxx:(.text+0x1e): undefined reference to `XineramaIsActive'
screen_xywh.cxx:(.text+0x37): undefined reference to `XineramaQueryScreens'
collect2: ld returned 1 exit status
make[2]: *** [CellularSegmentation/CellularSegmentation] Error 1
make[1]: *** [CellularSegmentation/CMakeFiles/CellularSegmentation.dir/all] Error 2
Linking CXX executable ImageRegistration2D
CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o: In function
`ImageRegistrationConsole::~ImageRegistrationConsole()':
ImageRegistrationConsole.cxx:(.text+0x16fa): undefined reference to
`ImageRegistrationConsoleGUI::~ImageRegistrationConsoleGUI()'
ImageRegistrationConsole.cxx:(.text+0x1722): undefined reference to
`ImageRegistrationConsoleGUI::~ImageRegistrationConsoleGUI()'
CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o: In function
`ImageRegistrationConsole::~ImageRegistrationConsole()':
ImageRegistrationConsole.cxx:(.text+0x1988): undefined reference to
`ImageRegistrationConsoleGUI::~ImageRegistrationConsoleGUI()'
ImageRegistrationConsole.cxx:(.text+0x19b0): undefined reference to
`ImageRegistrationConsoleGUI::~ImageRegistrationConsoleGUI()'
CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o: In function
`ImageRegistrationConsole::~ImageRegistrationConsole()':
ImageRegistrationConsole.cxx:(.text+0x1c16): undefined reference to
`ImageRegistrationConsoleGUI::~ImageRegistrationConsoleGUI()'
CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o:ImageRegistrationConsole.cxx:(.text+0x1c3e):
more undefined references to
`ImageRegistrationConsoleGUI::~ImageRegistrationConsoleGUI()' follow
CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o: In function
`fltk::RegularStepGradientDescent::~RegularStepGradientDescent()':
ImageRegistrationConsole.cxx:(.text._ZN4fltk26RegularStepGradientDescentD1Ev[fltk::RegularStepGradientDescent::~RegularStepGradientDescent()]+0x2c):
undefined reference to
`RegularStepGradientDescentGUI::~RegularStepGradientDescentGUI()'
ImageRegistrationConsole.cxx:(.text._ZN4fltk26RegularStepGradientDescentD1Ev[fltk::RegularStepGradientDescent::~RegularStepGradientDescent()]+0x50):
undefined reference to
`RegularStepGradientDescentGUI::~RegularStepGradientDescentGUI()'
CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o: In function
`fltk::RegularStepGradientDescent::~RegularStepGradientDescent()':
ImageRegistrationConsole.cxx:(.text._ZN4fltk26RegularStepGradientDescentD0Ev[fltk::RegularStepGradientDescent::~RegularStepGradientDescent()]+0x2c):
undefined reference to
`RegularStepGradientDescentGUI::~RegularStepGradientDescentGUI()'
ImageRegistrationConsole.cxx:(.text._ZN4fltk26RegularStepGradientDescentD0Ev[fltk::RegularStepGradientDescent::~RegularStepGradientDescent()]+0x50):
undefined reference to
`RegularStepGradientDescentGUI::~RegularStepGradientDescentGUI()'
CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o: In function
`fltk::RegularStepGradientDescent::RegularStepGradientDescent()':
ImageRegistrationConsole.cxx:(.text._ZN4fltk26RegularStepGradientDescentC1Ev[fltk::RegularStepGradientDescent::RegularStepGradientDescent()]+0xa6):
undefined reference to
`RegularStepGradientDescentGUI::~RegularStepGradientDescentGUI()'
CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o: In function
`fltk::Image2DViewer<float>::~Image2DViewer()':
ImageRegistrationConsole.cxx:(.text._ZN4fltk13Image2DViewerIfED0Ev[fltk::Image2DViewer<float>::~Image2DViewer()]+0x7f):
undefined reference to `fltkImage2DViewerGUI::~fltkImage2DViewerGUI()'
ImageRegistrationConsole.cxx:(.text._ZN4fltk13Image2DViewerIfED0Ev[fltk::Image2DViewer<float>::~Image2DViewer()]+0xa1):
undefined reference to `fltkImage2DViewerGUI::~fltkImage2DViewerGUI()'
CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o: In function
`fltk::Image2DViewer<float>::~Image2DViewer()':
ImageRegistrationConsole.cxx:(.text._ZN4fltk13Image2DViewerIfED1Ev[fltk::Image2DViewer<float>::~Image2DViewer()]+0x7f):
undefined reference to `fltkImage2DViewerGUI::~fltkImage2DViewerGUI()'
ImageRegistrationConsole.cxx:(.text._ZN4fltk13Image2DViewerIfED1Ev[fltk::Image2DViewer<float>::~Image2DViewer()]+0xa1):
undefined reference to `fltkImage2DViewerGUI::~fltkImage2DViewerGUI()'
CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o: In function
`fltk::Image2DViewer<unsigned short>::~Image2DViewer()':
ImageRegistrationConsole.cxx:(.text._ZN4fltk13Image2DViewerItED0Ev[fltk::Image2DViewer<unsigned
short>::~Image2DViewer()]+0x7f): undefined reference to
`fltkImage2DViewerGUI::~fltkImage2DViewerGUI()'
CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o:ImageRegistrationConsole.cxx:(.text._ZN4fltk13Image2DViewerItED0Ev[fltk::Image2DViewer<unsigned
short>::~Image2DViewer()]+0xa1): more undefined references to
`fltkImage2DViewerGUI::~fltkImage2DViewerGUI()' follow
CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o: In function
`fltk::RGBImage2DViewer<unsigned short>::RGBImage2DViewer()':
ImageRegistrationConsole.cxx:(.text._ZN4fltk16RGBImage2DViewerItEC1Ev[fltk::RGBImage2DViewer<unsigned
short>::RGBImage2DViewer()]+0x26e): undefined reference to
`fltkRGBImage2DViewerGUI::~fltkRGBImage2DViewerGUI()'
CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o: In function
`fltk::RGBImage2DViewer<unsigned short>::~RGBImage2DViewer()':
ImageRegistrationConsole.cxx:(.text._ZN4fltk16RGBImage2DViewerItED0Ev[fltk::RGBImage2DViewer<unsigned
short>::~RGBImage2DViewer()]+0x1e9): undefined reference to
`fltkRGBImage2DViewerGUI::~fltkRGBImage2DViewerGUI()'
ImageRegistrationConsole.cxx:(.text._ZN4fltk16RGBImage2DViewerItED0Ev[fltk::RGBImage2DViewer<unsigned
short>::~RGBImage2DViewer()]+0x20b): undefined reference to
`fltkRGBImage2DViewerGUI::~fltkRGBImage2DViewerGUI()'
CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o: In function
`fltk::RGBImage2DViewer<unsigned short>::~RGBImage2DViewer()':
ImageRegistrationConsole.cxx:(.text._ZN4fltk16RGBImage2DViewerItED1Ev[fltk::RGBImage2DViewer<unsigned
short>::~RGBImage2DViewer()]+0x1e9): undefined reference to
`fltkRGBImage2DViewerGUI::~fltkRGBImage2DViewerGUI()'
ImageRegistrationConsole.cxx:(.text._ZN4fltk16RGBImage2DViewerItED1Ev[fltk::RGBImage2DViewer<unsigned
short>::~RGBImage2DViewer()]+0x20b): undefined reference to
`fltkRGBImage2DViewerGUI::~fltkRGBImage2DViewerGUI()'
CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o:(.rodata._ZTV24ImageRegistrationConsole[vtable
for ImageRegistrationConsole]+0x54): undefined reference to
`ImageRegistrationConsoleGUI::Load()'
CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o:(.rodata._ZTV24ImageRegistrationConsole[vtable
for ImageRegistrationConsole]+0x58): undefined reference to
`ImageRegistrationConsoleGUI::ShowAbout()'
CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o:(.rodata._ZTI24ImageRegistrationConsole[typeinfo
for ImageRegistrationConsole]+0x8): undefined reference to `typeinfo for
ImageRegistrationConsoleGUI'
CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o:(.rodata._ZTVN4fltk26RegularStepGradientDescentE[vtable
for fltk::RegularStepGradientDescent]+0x1c): undefined reference to
`RegularStepGradientDescentGUI::SetMaximumNumberOfIterations(double)'
CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o:(.rodata._ZTIN4fltk26RegularStepGradientDescentE[typeinfo
for fltk::RegularStepGradientDescent]+0x8): undefined reference to `typeinfo for
RegularStepGradientDescentGUI'
CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o:(.rodata._ZTIN4fltk13Image2DViewerIfEE[typeinfo
for fltk::Image2DViewer<float>]+0x18): undefined reference to `typeinfo for
fltkImage2DViewerGUI'
CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o:(.rodata._ZTIN4fltk13Image2DViewerItEE[typeinfo
for fltk::Image2DViewer<unsigned short>]+0x18): undefined reference to `typeinfo
for fltkImage2DViewerGUI'
CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o:(.rodata._ZTIN4fltk16RGBImage2DViewerItEE[typeinfo
for fltk::RGBImage2DViewer<unsigned short>]+0x18): undefined reference to
`typeinfo for fltkRGBImage2DViewerGUI'
CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o:(.rodata._ZTVN4fltk16RGBImage2DViewerItEE[vtable
for fltk::RGBImage2DViewer<unsigned short>]+0x80): undefined reference to
`fltkRGBImage2DViewerGUI::SetMin(double)'
CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o:(.rodata._ZTVN4fltk16RGBImage2DViewerItEE[vtable
for fltk::RGBImage2DViewer<unsigned short>]+0x84): undefined reference to
`fltkRGBImage2DViewerGUI::SetMax(double)'
CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsoleGUI.o: In function
`ImageRegistrationConsoleGUI::ImageRegistrationConsoleGUI()':
ImageRegistrationConsoleGUI.cxx:(.text+0x7a5): undefined reference to `vtable
for ImageRegistrationConsoleGUI'
CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsoleGUI.o: In function
`ImageRegistrationConsoleGUI::ImageRegistrationConsoleGUI()':
ImageRegistrationConsoleGUI.cxx:(.text+0x4cd3): undefined reference to `vtable
for ImageRegistrationConsoleGUI'
../VolviewPlugIns/bin/libITKFltkImageViewer.a(fltkImage2DViewerGUI.o): In
function `fltkImage2DViewerGUI::fltkImage2DViewerGUI()':
fltkImage2DViewerGUI.cxx:(.text+0x211): undefined reference to `vtable for
fltkImage2DViewerGUI'
../VolviewPlugIns/bin/libITKFltkImageViewer.a(fltkImage2DViewerGUI.o): In
function `fltkImage2DViewerGUI::fltkImage2DViewerGUI()':
fltkImage2DViewerGUI.cxx:(.text+0x65d): undefined reference to `vtable for
fltkImage2DViewerGUI'
../VolviewPlugIns/bin/libITKFltkImageViewer.a(fltkRGBImage2DViewerGUI.o): In
function `fltkRGBImage2DViewerGUI::fltkRGBImage2DViewerGUI()':
fltkRGBImage2DViewerGUI.cxx:(.text+0x1c1): undefined reference to `vtable for
fltkRGBImage2DViewerGUI'
../VolviewPlugIns/bin/libITKFltkImageViewer.a(fltkRGBImage2DViewerGUI.o): In
function `fltkRGBImage2DViewerGUI::fltkRGBImage2DViewerGUI()':
fltkRGBImage2DViewerGUI.cxx:(.text+0x5c3): undefined reference to `vtable for
fltkRGBImage2DViewerGUI'
../VolviewPlugIns/bin/libITKFltkImageViewer.a(fltkRegularStepGradientDescentGUI.o):
In function `RegularStepGradientDescentGUI::RegularStepGradientDescentGUI()':
fltkRegularStepGradientDescentGUI.cxx:(.text+0x33d): undefined reference to
`vtable for RegularStepGradientDescentGUI'
../VolviewPlugIns/bin/libITKFltkImageViewer.a(fltkRegularStepGradientDescentGUI.o):
In function `RegularStepGradientDescentGUI::RegularStepGradientDescentGUI()':
fltkRegularStepGradientDescentGUI.cxx:(.text+0x8f1): undefined reference to
`vtable for RegularStepGradientDescentGUI'
/MMprogs/FLTK_bin/lib/libfltk.a(screen_xywh.o): In function `screen_init()':
screen_xywh.cxx:(.text+0x1e): undefined reference to `XineramaIsActive'
screen_xywh.cxx:(.text+0x37): undefined reference to `XineramaQueryScreens'
collect2: ld returned 1 exit status
make[2]: *** [ImageRegistration2D/ImageRegistration2D] Error 1
make[1]: *** [ImageRegistration2D/CMakeFiles/ImageRegistration2D.dir/all] Error 2
make: *** [all] Error 2

_____________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Kitware offers ITK Training Courses, for more information visit:
http://www.kitware.com/products/protraining.html

Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ

Follow this link to subscribe/unsubscribe:
http://www.itk.org/mailman/listinfo/insight-users

Re: InsightApplications won't compile

by Luis Ibanez :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Michael,

Thanks for posting the errors.

From the messages it seems that your configuration is not finding
the FLTK "fluid" tool, or that "fluid" is failing to run.

Fluid is used to read ".fl" files that contain a description of the GUI
geometry, and from them it generates .h and .cxx files that are then
integrated into the project of an application.


Please do the following:

A) type "fluid" in a terminal and see if the application opens

B) Go to the binary directory where you are building
     InsightApplications and type:

             grep -i   fluie   CMakeCache.txt

     in my installation I get:

         FLTK_FLUID_EXECUTABLE:FILEPATH=/usr/bin/fluid


Please let us know what you find.


      Thanks


             Luis


------------------------------------------------------------------------------------------
On Tue, Oct 27, 2009 at 10:17 AM, Michael Mentink
<michael.mentink@...> wrote:

>
> I can't get InsightApllications 3.16 to build/link
>
> I have succesfully built/compiled ITK, VTK, DCMTK, FLTK, all in g++4.3.3 in
> Ubuntu 9.04, using the following files:
> - vtk-5.4.2.tar.gz
> - fltk-1.3.x-r6916.tar.bz2
> - dcmtk-3.5.4.tar.gz
> - InsightToolkit-3.16.0.tar.gz
> - InsightApplications-3.16.0.tar.gz
> - Cmake 2.6 patch 2
>
> below is the cmake output (copied from ubuntu terminal)
>
> What to do? Thanks, Michael
>
> [ 36%] Building CXX object
> CellularSegmentation/CMakeFiles/CellularSegmentation.dir/CellularSegmentationApplicationBase.o
> /MMprogs/InsightApplications-3.16.0_src/DeformableRegistration3DTimeSeries/DicomImageReaderGUI.cxx:83:
> error: ‘DeformableRegistration3DTimeSeriesGUI’ has not been declared
> make[2]: ***
> [DeformableRegistration3DTimeSeries/CMakeFiles/DeformableRegistration3DTimeSeries.dir/DicomImageReaderGUI.o]
> Error 1
> make[1]: ***
> [DeformableRegistration3DTimeSeries/CMakeFiles/DeformableRegistration3DTimeSeries.dir/all]
> Error 2
> make[1]: *** Waiting for unfinished jobs....
> [ 36%] Building CXX object
> CellularSegmentation/CMakeFiles/CellularSegmentation.dir/CellularSegmentationApplication.o
> CMakeFiles/DeformableModelSimplexMesh.dir/DeformableModelApplication.o: In
> function `DeformableModelApplication::~DeformableModelApplication()':
> DeformableModelApplication.cxx:(.text+0x2525): undefined reference to
> `DeformableModelApplicationGUI::~DeformableModelApplicationGUI()'
> DeformableModelApplication.cxx:(.text+0x254d): undefined reference to
> `DeformableModelApplicationGUI::~DeformableModelApplicationGUI()'
> CMakeFiles/DeformableModelSimplexMesh.dir/DeformableModelApplication.o: In
> function `DeformableModelApplication::~DeformableModelApplication()':
> DeformableModelApplication.cxx:(.text+0x2893): undefined reference to
> `DeformableModelApplicationGUI::~DeformableModelApplicationGUI()'
> DeformableModelApplication.cxx:(.text+0x28bb): undefined reference to
> `DeformableModelApplicationGUI::~DeformableModelApplicationGUI()'
> CMakeFiles/DeformableModelSimplexMesh.dir/DeformableModelApplication.o: In
> function `DeformableModelApplication::~DeformableModelApplication()':
> DeformableModelApplication.cxx:(.text+0x2c01): undefined reference to
> `DeformableModelApplicationGUI::~DeformableModelApplicationGUI()'
> CMakeFiles/DeformableModelSimplexMesh.dir/DeformableModelApplication.o:DeformableModelApplication.cxx:(.text+0x2c29):
> more undefined references to
> `DeformableModelApplicationGUI::~DeformableModelApplicationGUI()' follow
> CMakeFiles/DeformableModelSimplexMesh.dir/DeformableModelApplication.o:(.rodata._ZTV26DeformableModelApplication[vtable
> for DeformableModelApplication]+0x1c): undefined reference to
> `DeformableModelApplicationGUI::Help()'
> CMakeFiles/DeformableModelSimplexMesh.dir/DeformableModelApplication.o:(.rodata._ZTI26DeformableModelApplication[typeinfo
> for DeformableModelApplication]+0x8): undefined reference to `typeinfo for
> DeformableModelApplicationGUI'
> CMakeFiles/DeformableModelSimplexMesh.dir/DeformableModelApplicationGUI.o: In
> function `DeformableModelApplicationGUI::DeformableModelApplicationGUI()':
> DeformableModelApplicationGUI.cxx:(.text+0x63d): undefined reference to `vtable
> for DeformableModelApplicationGUI'
> CMakeFiles/DeformableModelSimplexMesh.dir/DeformableModelApplicationGUI.o: In
> function `DeformableModelApplicationGUI::DeformableModelApplicationGUI()':
> DeformableModelApplicationGUI.cxx:(.text+0x19ef): undefined reference to `vtable
> for DeformableModelApplicationGUI'
> /MMprogs/FLTK_bin/lib/libfltk.a(screen_xywh.o): In function `screen_init()':
> screen_xywh.cxx:(.text+0x1e): undefined reference to `XineramaIsActive'
> screen_xywh.cxx:(.text+0x37): undefined reference to `XineramaQueryScreens'
> collect2: ld returned 1 exit status
> make[2]: *** [DeformableModelSimplexMesh/DeformableModelSimplexMesh] Error 1
> make[1]: ***
> [DeformableModelSimplexMesh/CMakeFiles/DeformableModelSimplexMesh.dir/all] Error 2
> [ 36%] Building CXX object
> CellularSegmentation/CMakeFiles/CellularSegmentation.dir/CellularAggregateViewer.o
> [ 36%] Building CXX object
> ImageRegistration2D/CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsoleBase.o
> [ 36%] Building CXX object
> CellularSegmentation/CMakeFiles/CellularSegmentation.dir/ImageSliceViewer.o
> [ 36%] Building CXX object
> CellularSegmentation/CMakeFiles/CellularSegmentation.dir/InteractorObserver.o
> [ 37%] Building CXX object
> ImageRegistration2D/CMakeFiles/ImageRegistration2D.dir/ImageRegistration2D.o
> [ 37%] Building CXX object
> CellularSegmentation/CMakeFiles/CellularSegmentation.dir/main.o
> [ 38%] Building CXX object
> CellularSegmentation/CMakeFiles/CellularSegmentation.dir/CellularSegmentationApplicationGUI.o
> [ 38%] Building CXX object
> ImageRegistration2D/CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsoleGUI.o
> Linking CXX executable CellularSegmentation
> CMakeFiles/CellularSegmentation.dir/CellularSegmentationApplication.o: In
> function `CellularSegmentationApplication::~CellularSegmentationApplication()':
> CellularSegmentationApplication.cxx:(.text+0x8dc): undefined reference to
> `CellularSegmentationApplicationGUI::~CellularSegmentationApplicationGUI()'
> CellularSegmentationApplication.cxx:(.text+0x904): undefined reference to
> `CellularSegmentationApplicationGUI::~CellularSegmentationApplicationGUI()'
> CMakeFiles/CellularSegmentation.dir/CellularSegmentationApplication.o: In
> function `CellularSegmentationApplication::~CellularSegmentationApplication()':
> CellularSegmentationApplication.cxx:(.text+0xa1c): undefined reference to
> `CellularSegmentationApplicationGUI::~CellularSegmentationApplicationGUI()'
> CellularSegmentationApplication.cxx:(.text+0xa44): undefined reference to
> `CellularSegmentationApplicationGUI::~CellularSegmentationApplicationGUI()'
> CMakeFiles/CellularSegmentation.dir/CellularSegmentationApplication.o: In
> function `CellularSegmentationApplication::~CellularSegmentationApplication()':
> CellularSegmentationApplication.cxx:(.text+0xb5c): undefined reference to
> `CellularSegmentationApplicationGUI::~CellularSegmentationApplicationGUI()'
> CMakeFiles/CellularSegmentation.dir/CellularSegmentationApplication.o:CellularSegmentationApplication.cxx:(.text+0xb84):
> more undefined references to
> `CellularSegmentationApplicationGUI::~CellularSegmentationApplicationGUI()' follow
> CMakeFiles/CellularSegmentation.dir/CellularSegmentationApplication.o:(.rodata._ZTI31CellularSegmentationApplication[typeinfo
> for CellularSegmentationApplication]+0x8): undefined reference to `typeinfo for
> CellularSegmentationApplicationGUI'
> CMakeFiles/CellularSegmentation.dir/CellularSegmentationApplicationGUI.o: In
> function `CellularSegmentationApplicationGUI::CellularSegmentationApplicationGUI()':
> CellularSegmentationApplicationGUI.cxx:(.text+0x270): undefined reference to
> `vtable for CellularSegmentationApplicationGUI'
> CMakeFiles/CellularSegmentation.dir/CellularSegmentationApplicationGUI.o: In
> function `CellularSegmentationApplicationGUI::CellularSegmentationApplicationGUI()':
> CellularSegmentationApplicationGUI.cxx:(.text+0x980): undefined reference to
> `vtable for CellularSegmentationApplicationGUI'
> /MMprogs/FLTK_bin/lib/libfltk.a(screen_xywh.o): In function `screen_init()':
> screen_xywh.cxx:(.text+0x1e): undefined reference to `XineramaIsActive'
> screen_xywh.cxx:(.text+0x37): undefined reference to `XineramaQueryScreens'
> collect2: ld returned 1 exit status
> make[2]: *** [CellularSegmentation/CellularSegmentation] Error 1
> make[1]: *** [CellularSegmentation/CMakeFiles/CellularSegmentation.dir/all] Error 2
> Linking CXX executable ImageRegistration2D
> CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o: In function
> `ImageRegistrationConsole::~ImageRegistrationConsole()':
> ImageRegistrationConsole.cxx:(.text+0x16fa): undefined reference to
> `ImageRegistrationConsoleGUI::~ImageRegistrationConsoleGUI()'
> ImageRegistrationConsole.cxx:(.text+0x1722): undefined reference to
> `ImageRegistrationConsoleGUI::~ImageRegistrationConsoleGUI()'
> CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o: In function
> `ImageRegistrationConsole::~ImageRegistrationConsole()':
> ImageRegistrationConsole.cxx:(.text+0x1988): undefined reference to
> `ImageRegistrationConsoleGUI::~ImageRegistrationConsoleGUI()'
> ImageRegistrationConsole.cxx:(.text+0x19b0): undefined reference to
> `ImageRegistrationConsoleGUI::~ImageRegistrationConsoleGUI()'
> CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o: In function
> `ImageRegistrationConsole::~ImageRegistrationConsole()':
> ImageRegistrationConsole.cxx:(.text+0x1c16): undefined reference to
> `ImageRegistrationConsoleGUI::~ImageRegistrationConsoleGUI()'
> CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o:ImageRegistrationConsole.cxx:(.text+0x1c3e):
> more undefined references to
> `ImageRegistrationConsoleGUI::~ImageRegistrationConsoleGUI()' follow
> CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o: In function
> `fltk::RegularStepGradientDescent::~RegularStepGradientDescent()':
> ImageRegistrationConsole.cxx:(.text._ZN4fltk26RegularStepGradientDescentD1Ev[fltk::RegularStepGradientDescent::~RegularStepGradientDescent()]+0x2c):
> undefined reference to
> `RegularStepGradientDescentGUI::~RegularStepGradientDescentGUI()'
> ImageRegistrationConsole.cxx:(.text._ZN4fltk26RegularStepGradientDescentD1Ev[fltk::RegularStepGradientDescent::~RegularStepGradientDescent()]+0x50):
> undefined reference to
> `RegularStepGradientDescentGUI::~RegularStepGradientDescentGUI()'
> CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o: In function
> `fltk::RegularStepGradientDescent::~RegularStepGradientDescent()':
> ImageRegistrationConsole.cxx:(.text._ZN4fltk26RegularStepGradientDescentD0Ev[fltk::RegularStepGradientDescent::~RegularStepGradientDescent()]+0x2c):
> undefined reference to
> `RegularStepGradientDescentGUI::~RegularStepGradientDescentGUI()'
> ImageRegistrationConsole.cxx:(.text._ZN4fltk26RegularStepGradientDescentD0Ev[fltk::RegularStepGradientDescent::~RegularStepGradientDescent()]+0x50):
> undefined reference to
> `RegularStepGradientDescentGUI::~RegularStepGradientDescentGUI()'
> CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o: In function
> `fltk::RegularStepGradientDescent::RegularStepGradientDescent()':
> ImageRegistrationConsole.cxx:(.text._ZN4fltk26RegularStepGradientDescentC1Ev[fltk::RegularStepGradientDescent::RegularStepGradientDescent()]+0xa6):
> undefined reference to
> `RegularStepGradientDescentGUI::~RegularStepGradientDescentGUI()'
> CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o: In function
> `fltk::Image2DViewer<float>::~Image2DViewer()':
> ImageRegistrationConsole.cxx:(.text._ZN4fltk13Image2DViewerIfED0Ev[fltk::Image2DViewer<float>::~Image2DViewer()]+0x7f):
> undefined reference to `fltkImage2DViewerGUI::~fltkImage2DViewerGUI()'
> ImageRegistrationConsole.cxx:(.text._ZN4fltk13Image2DViewerIfED0Ev[fltk::Image2DViewer<float>::~Image2DViewer()]+0xa1):
> undefined reference to `fltkImage2DViewerGUI::~fltkImage2DViewerGUI()'
> CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o: In function
> `fltk::Image2DViewer<float>::~Image2DViewer()':
> ImageRegistrationConsole.cxx:(.text._ZN4fltk13Image2DViewerIfED1Ev[fltk::Image2DViewer<float>::~Image2DViewer()]+0x7f):
> undefined reference to `fltkImage2DViewerGUI::~fltkImage2DViewerGUI()'
> ImageRegistrationConsole.cxx:(.text._ZN4fltk13Image2DViewerIfED1Ev[fltk::Image2DViewer<float>::~Image2DViewer()]+0xa1):
> undefined reference to `fltkImage2DViewerGUI::~fltkImage2DViewerGUI()'
> CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o: In function
> `fltk::Image2DViewer<unsigned short>::~Image2DViewer()':
> ImageRegistrationConsole.cxx:(.text._ZN4fltk13Image2DViewerItED0Ev[fltk::Image2DViewer<unsigned
> short>::~Image2DViewer()]+0x7f): undefined reference to
> `fltkImage2DViewerGUI::~fltkImage2DViewerGUI()'
> CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o:ImageRegistrationConsole.cxx:(.text._ZN4fltk13Image2DViewerItED0Ev[fltk::Image2DViewer<unsigned
> short>::~Image2DViewer()]+0xa1): more undefined references to
> `fltkImage2DViewerGUI::~fltkImage2DViewerGUI()' follow
> CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o: In function
> `fltk::RGBImage2DViewer<unsigned short>::RGBImage2DViewer()':
> ImageRegistrationConsole.cxx:(.text._ZN4fltk16RGBImage2DViewerItEC1Ev[fltk::RGBImage2DViewer<unsigned
> short>::RGBImage2DViewer()]+0x26e): undefined reference to
> `fltkRGBImage2DViewerGUI::~fltkRGBImage2DViewerGUI()'
> CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o: In function
> `fltk::RGBImage2DViewer<unsigned short>::~RGBImage2DViewer()':
> ImageRegistrationConsole.cxx:(.text._ZN4fltk16RGBImage2DViewerItED0Ev[fltk::RGBImage2DViewer<unsigned
> short>::~RGBImage2DViewer()]+0x1e9): undefined reference to
> `fltkRGBImage2DViewerGUI::~fltkRGBImage2DViewerGUI()'
> ImageRegistrationConsole.cxx:(.text._ZN4fltk16RGBImage2DViewerItED0Ev[fltk::RGBImage2DViewer<unsigned
> short>::~RGBImage2DViewer()]+0x20b): undefined reference to
> `fltkRGBImage2DViewerGUI::~fltkRGBImage2DViewerGUI()'
> CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o: In function
> `fltk::RGBImage2DViewer<unsigned short>::~RGBImage2DViewer()':
> ImageRegistrationConsole.cxx:(.text._ZN4fltk16RGBImage2DViewerItED1Ev[fltk::RGBImage2DViewer<unsigned
> short>::~RGBImage2DViewer()]+0x1e9): undefined reference to
> `fltkRGBImage2DViewerGUI::~fltkRGBImage2DViewerGUI()'
> ImageRegistrationConsole.cxx:(.text._ZN4fltk16RGBImage2DViewerItED1Ev[fltk::RGBImage2DViewer<unsigned
> short>::~RGBImage2DViewer()]+0x20b): undefined reference to
> `fltkRGBImage2DViewerGUI::~fltkRGBImage2DViewerGUI()'
> CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o:(.rodata._ZTV24ImageRegistrationConsole[vtable
> for ImageRegistrationConsole]+0x54): undefined reference to
> `ImageRegistrationConsoleGUI::Load()'
> CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o:(.rodata._ZTV24ImageRegistrationConsole[vtable
> for ImageRegistrationConsole]+0x58): undefined reference to
> `ImageRegistrationConsoleGUI::ShowAbout()'
> CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o:(.rodata._ZTI24ImageRegistrationConsole[typeinfo
> for ImageRegistrationConsole]+0x8): undefined reference to `typeinfo for
> ImageRegistrationConsoleGUI'
> CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o:(.rodata._ZTVN4fltk26RegularStepGradientDescentE[vtable
> for fltk::RegularStepGradientDescent]+0x1c): undefined reference to
> `RegularStepGradientDescentGUI::SetMaximumNumberOfIterations(double)'
> CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o:(.rodata._ZTIN4fltk26RegularStepGradientDescentE[typeinfo
> for fltk::RegularStepGradientDescent]+0x8): undefined reference to `typeinfo for
> RegularStepGradientDescentGUI'
> CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o:(.rodata._ZTIN4fltk13Image2DViewerIfEE[typeinfo
> for fltk::Image2DViewer<float>]+0x18): undefined reference to `typeinfo for
> fltkImage2DViewerGUI'
> CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o:(.rodata._ZTIN4fltk13Image2DViewerItEE[typeinfo
> for fltk::Image2DViewer<unsigned short>]+0x18): undefined reference to `typeinfo
> for fltkImage2DViewerGUI'
> CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o:(.rodata._ZTIN4fltk16RGBImage2DViewerItEE[typeinfo
> for fltk::RGBImage2DViewer<unsigned short>]+0x18): undefined reference to
> `typeinfo for fltkRGBImage2DViewerGUI'
> CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o:(.rodata._ZTVN4fltk16RGBImage2DViewerItEE[vtable
> for fltk::RGBImage2DViewer<unsigned short>]+0x80): undefined reference to
> `fltkRGBImage2DViewerGUI::SetMin(double)'
> CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o:(.rodata._ZTVN4fltk16RGBImage2DViewerItEE[vtable
> for fltk::RGBImage2DViewer<unsigned short>]+0x84): undefined reference to
> `fltkRGBImage2DViewerGUI::SetMax(double)'
> CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsoleGUI.o: In function
> `ImageRegistrationConsoleGUI::ImageRegistrationConsoleGUI()':
> ImageRegistrationConsoleGUI.cxx:(.text+0x7a5): undefined reference to `vtable
> for ImageRegistrationConsoleGUI'
> CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsoleGUI.o: In function
> `ImageRegistrationConsoleGUI::ImageRegistrationConsoleGUI()':
> ImageRegistrationConsoleGUI.cxx:(.text+0x4cd3): undefined reference to `vtable
> for ImageRegistrationConsoleGUI'
> ../VolviewPlugIns/bin/libITKFltkImageViewer.a(fltkImage2DViewerGUI.o): In
> function `fltkImage2DViewerGUI::fltkImage2DViewerGUI()':
> fltkImage2DViewerGUI.cxx:(.text+0x211): undefined reference to `vtable for
> fltkImage2DViewerGUI'
> ../VolviewPlugIns/bin/libITKFltkImageViewer.a(fltkImage2DViewerGUI.o): In
> function `fltkImage2DViewerGUI::fltkImage2DViewerGUI()':
> fltkImage2DViewerGUI.cxx:(.text+0x65d): undefined reference to `vtable for
> fltkImage2DViewerGUI'
> ../VolviewPlugIns/bin/libITKFltkImageViewer.a(fltkRGBImage2DViewerGUI.o): In
> function `fltkRGBImage2DViewerGUI::fltkRGBImage2DViewerGUI()':
> fltkRGBImage2DViewerGUI.cxx:(.text+0x1c1): undefined reference to `vtable for
> fltkRGBImage2DViewerGUI'
> ../VolviewPlugIns/bin/libITKFltkImageViewer.a(fltkRGBImage2DViewerGUI.o): In
> function `fltkRGBImage2DViewerGUI::fltkRGBImage2DViewerGUI()':
> fltkRGBImage2DViewerGUI.cxx:(.text+0x5c3): undefined reference to `vtable for
> fltkRGBImage2DViewerGUI'
> ../VolviewPlugIns/bin/libITKFltkImageViewer.a(fltkRegularStepGradientDescentGUI.o):
> In function `RegularStepGradientDescentGUI::RegularStepGradientDescentGUI()':
> fltkRegularStepGradientDescentGUI.cxx:(.text+0x33d): undefined reference to
> `vtable for RegularStepGradientDescentGUI'
> ../VolviewPlugIns/bin/libITKFltkImageViewer.a(fltkRegularStepGradientDescentGUI.o):
> In function `RegularStepGradientDescentGUI::RegularStepGradientDescentGUI()':
> fltkRegularStepGradientDescentGUI.cxx:(.text+0x8f1): undefined reference to
> `vtable for RegularStepGradientDescentGUI'
> /MMprogs/FLTK_bin/lib/libfltk.a(screen_xywh.o): In function `screen_init()':
> screen_xywh.cxx:(.text+0x1e): undefined reference to `XineramaIsActive'
> screen_xywh.cxx:(.text+0x37): undefined reference to `XineramaQueryScreens'
> collect2: ld returned 1 exit status
> make[2]: *** [ImageRegistration2D/ImageRegistration2D] Error 1
> make[1]: *** [ImageRegistration2D/CMakeFiles/ImageRegistration2D.dir/all] Error 2
> make: *** [all] Error 2
>
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.html
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>
>
_____________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Kitware offers ITK Training Courses, for more information visit:
http://www.kitware.com/products/protraining.html

Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ

Follow this link to subscribe/unsubscribe:
http://www.itk.org/mailman/listinfo/insight-users

Re: InsightApplications won't compile

by Michael Mentink :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dear Luis,

thanks for your help.

I indeed have got fluid working, I'm currently working on it's example programs.

When I paste in the grep (with "fluid" instead of "fluie", I'm sure that was a
typo, cause "fluie" didn't give anything back):

adminmuthlav@muthlav:/MMprogs/InsightApplications-3.16.0_src$ grep -i fluid
CMakeCache.txt
FLTK_FLUID_EXECUTABLE:FILEPATH=/MMprogs/FLTK_bin/bin/fluid
//Modified flag for variable: FLTK_FLUID_EXECUTABLE
FLTK_FLUID_EXECUTABLE-MODIFIED:INTERNAL=1

I forgot to mention in my former post that I installed everything (ITK, VTK,
FLTK, DCMTK, ...) in the directory /MMprogs instead of the standard path
(/usr/include/.. ).

One anomaly I found: even though I gave everybody every right there is (chmod
777 MMprogs) on /MMprogs, I still get the following error in ccmake for
InsightApplications:

 CMake Error: Unable to open check cache file for write.
 /MMprogs/InsightApplications-3.16.0_src/CMakeFiles/cmake.check_cache

Could that have to do anything with it?
(solved that error before by putting su in front of making and building)

Kind regards,

Michael


In message <f7abd23c0911010638l2bf0a42evf5e0dc89c9c005e3@...> Luis
Ibanez <luis.ibanez@...> writes:

> Hi Michael,
>
> Thanks for posting the errors.
>
> From the messages it seems that your configuration is not finding
> the FLTK "fluid" tool, or that "fluid" is failing to run.
>
> Fluid is used to read ".fl" files that contain a description of the GUI
> geometry, and from them it generates .h and .cxx files that are then
> integrated into the project of an application.
>
>
> Please do the following:
>
> A) type "fluid" in a terminal and see if the application opens
>
> B) Go to the binary directory where you are building
>      InsightApplications and type:
>
>              grep -i   fluie   CMakeCache.txt
>
>      in my installation I get:
>
>          FLTK_FLUID_EXECUTABLE:FILEPATH=/usr/bin/fluid
>
>
> Please let us know what you find.
>
>
>       Thanks
>
>
>              Luis
>
>
>
------------------------------------------------------------------------------------------

> On Tue, Oct 27, 2009 at 10:17 AM, Michael Mentink
> <michael.mentink@...> wrote:
> >
> > I can't get InsightApllications 3.16 to build/link
> >
> > I have succesfully built/compiled ITK, VTK, DCMTK, FLTK, all in g++4.3.3 in
> > Ubuntu 9.04, using the following files:
> > - vtk-5.4.2.tar.gz
> > - fltk-1.3.x-r6916.tar.bz2
> > - dcmtk-3.5.4.tar.gz
> > - InsightToolkit-3.16.0.tar.gz
> > - InsightApplications-3.16.0.tar.gz
> > - Cmake 2.6 patch 2
> >
> > below is the cmake output (copied from ubuntu terminal)
> >
> > What to do? Thanks, Michael
> >
> > [ 36%] Building CXX object
> >
CellularSegmentation/CMakeFiles/CellularSegmentation.dir/CellularSegmentationApplicationBase.o
> >
/MMprogs/InsightApplications-3.16.0_src/DeformableRegistration3DTimeSeries/DicomImageReaderGUI.cxx:83:
> > error: ‘DeformableRegistration3DTimeSeriesGUI’ has not been declared
> > make[2]: ***
> >
[DeformableRegistration3DTimeSeries/CMakeFiles/DeformableRegistration3DTimeSeries.dir/DicomImageReaderGUI.o]
> > Error 1
> > make[1]: ***
> >
[DeformableRegistration3DTimeSeries/CMakeFiles/DeformableRegistration3DTimeSeries.dir/all]
> > Error 2
> > make[1]: *** Waiting for unfinished jobs....
> > [ 36%] Building CXX object
> >
CellularSegmentation/CMakeFiles/CellularSegmentation.dir/CellularSegmentationApplication.o

> > CMakeFiles/DeformableModelSimplexMesh.dir/DeformableModelApplication.o: In
> > function `DeformableModelApplication::~DeformableModelApplication()':
> > DeformableModelApplication.cxx:(.text+0x2525): undefined reference to
> > `DeformableModelApplicationGUI::~DeformableModelApplicationGUI()'
> > DeformableModelApplication.cxx:(.text+0x254d): undefined reference to
> > `DeformableModelApplicationGUI::~DeformableModelApplicationGUI()'
> > CMakeFiles/DeformableModelSimplexMesh.dir/DeformableModelApplication.o: In
> > function `DeformableModelApplication::~DeformableModelApplication()':
> > DeformableModelApplication.cxx:(.text+0x2893): undefined reference to
> > `DeformableModelApplicationGUI::~DeformableModelApplicationGUI()'
> > DeformableModelApplication.cxx:(.text+0x28bb): undefined reference to
> > `DeformableModelApplicationGUI::~DeformableModelApplicationGUI()'
> > CMakeFiles/DeformableModelSimplexMesh.dir/DeformableModelApplication.o: In
> > function `DeformableModelApplication::~DeformableModelApplication()':
> > DeformableModelApplication.cxx:(.text+0x2c01): undefined reference to
> > `DeformableModelApplicationGUI::~DeformableModelApplicationGUI()'
> >
CMakeFiles/DeformableModelSimplexMesh.dir/DeformableModelApplication.o:DeformableModelApplication.cxx:(.text+0x2c29):
> > more undefined references to
> > `DeformableModelApplicationGUI::~DeformableModelApplicationGUI()' follow
> >
CMakeFiles/DeformableModelSimplexMesh.dir/DeformableModelApplication.o:(.rodata._ZTV26DeformableModelApplication[vtable
> > for DeformableModelApplication]+0x1c): undefined reference to
> > `DeformableModelApplicationGUI::Help()'
> >
CMakeFiles/DeformableModelSimplexMesh.dir/DeformableModelApplication.o:(.rodata._ZTI26DeformableModelApplication[typeinfo

> > for DeformableModelApplication]+0x8): undefined reference to `typeinfo for
> > DeformableModelApplicationGUI'
> > CMakeFiles/DeformableModelSimplexMesh.dir/DeformableModelApplicationGUI.o: In
> > function `DeformableModelApplicationGUI::DeformableModelApplicationGUI()':
> > DeformableModelApplicationGUI.cxx:(.text+0x63d): undefined reference to `vtable
> > for DeformableModelApplicationGUI'
> > CMakeFiles/DeformableModelSimplexMesh.dir/DeformableModelApplicationGUI.o: In
> > function `DeformableModelApplicationGUI::DeformableModelApplicationGUI()':
> > DeformableModelApplicationGUI.cxx:(.text+0x19ef): undefined reference to `vtable
> > for DeformableModelApplicationGUI'
> > /MMprogs/FLTK_bin/lib/libfltk.a(screen_xywh.o): In function `screen_init()':
> > screen_xywh.cxx:(.text+0x1e): undefined reference to `XineramaIsActive'
> > screen_xywh.cxx:(.text+0x37): undefined reference to `XineramaQueryScreens'
> > collect2: ld returned 1 exit status
> > make[2]: *** [DeformableModelSimplexMesh/DeformableModelSimplexMesh] Error 1
> > make[1]: ***
> > [DeformableModelSimplexMesh/CMakeFiles/DeformableModelSimplexMesh.dir/all]
Error 2
> > [ 36%] Building CXX object
> >
CellularSegmentation/CMakeFiles/CellularSegmentation.dir/CellularAggregateViewer.o
> > [ 36%] Building CXX object
> >
ImageRegistration2D/CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsoleBase.o

> > [ 36%] Building CXX object
> > CellularSegmentation/CMakeFiles/CellularSegmentation.dir/ImageSliceViewer.o
> > [ 36%] Building CXX object
> > CellularSegmentation/CMakeFiles/CellularSegmentation.dir/InteractorObserver.o
> > [ 37%] Building CXX object
> > ImageRegistration2D/CMakeFiles/ImageRegistration2D.dir/ImageRegistration2D.o
> > [ 37%] Building CXX object
> > CellularSegmentation/CMakeFiles/CellularSegmentation.dir/main.o
> > [ 38%] Building CXX object
> >
CellularSegmentation/CMakeFiles/CellularSegmentation.dir/CellularSegmentationApplicationGUI.o
> > [ 38%] Building CXX object
> >
ImageRegistration2D/CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsoleGUI.o

> > Linking CXX executable CellularSegmentation
> > CMakeFiles/CellularSegmentation.dir/CellularSegmentationApplication.o: In
> > function `CellularSegmentationApplication::~CellularSegmentationApplication()':
> > CellularSegmentationApplication.cxx:(.text+0x8dc): undefined reference to
> > `CellularSegmentationApplicationGUI::~CellularSegmentationApplicationGUI()'
> > CellularSegmentationApplication.cxx:(.text+0x904): undefined reference to
> > `CellularSegmentationApplicationGUI::~CellularSegmentationApplicationGUI()'
> > CMakeFiles/CellularSegmentation.dir/CellularSegmentationApplication.o: In
> > function `CellularSegmentationApplication::~CellularSegmentationApplication()':
> > CellularSegmentationApplication.cxx:(.text+0xa1c): undefined reference to
> > `CellularSegmentationApplicationGUI::~CellularSegmentationApplicationGUI()'
> > CellularSegmentationApplication.cxx:(.text+0xa44): undefined reference to
> > `CellularSegmentationApplicationGUI::~CellularSegmentationApplicationGUI()'
> > CMakeFiles/CellularSegmentation.dir/CellularSegmentationApplication.o: In
> > function `CellularSegmentationApplication::~CellularSegmentationApplication()':
> > CellularSegmentationApplication.cxx:(.text+0xb5c): undefined reference to
> > `CellularSegmentationApplicationGUI::~CellularSegmentationApplicationGUI()'
> >
CMakeFiles/CellularSegmentation.dir/CellularSegmentationApplication.o:CellularSegmentationApplication.cxx:(.text+0xb84):
> > more undefined references to
> > `CellularSegmentationApplicationGUI::~CellularSegmentationApplicationGUI()'
follow
> >
CMakeFiles/CellularSegmentation.dir/CellularSegmentationApplication.o:(.rodata._ZTI31CellularSegmentationApplication[typeinfo
> > for CellularSegmentationApplication]+0x8): undefined reference to `typeinfo for
> > CellularSegmentationApplicationGUI'
> > CMakeFiles/CellularSegmentation.dir/CellularSegmentationApplicationGUI.o: In
> > function
`CellularSegmentationApplicationGUI::CellularSegmentationApplicationGUI()':
> > CellularSegmentationApplicationGUI.cxx:(.text+0x270): undefined reference to
> > `vtable for CellularSegmentationApplicationGUI'
> > CMakeFiles/CellularSegmentation.dir/CellularSegmentationApplicationGUI.o: In
> > function
`CellularSegmentationApplicationGUI::CellularSegmentationApplicationGUI()':
> > CellularSegmentationApplicationGUI.cxx:(.text+0x980): undefined reference to
> > `vtable for CellularSegmentationApplicationGUI'
> > /MMprogs/FLTK_bin/lib/libfltk.a(screen_xywh.o): In function `screen_init()':
> > screen_xywh.cxx:(.text+0x1e): undefined reference to `XineramaIsActive'
> > screen_xywh.cxx:(.text+0x37): undefined reference to `XineramaQueryScreens'
> > collect2: ld returned 1 exit status
> > make[2]: *** [CellularSegmentation/CellularSegmentation] Error 1
> > make[1]: *** [CellularSegmentation/CMakeFiles/CellularSegmentation.dir/all]
Error 2

> > Linking CXX executable ImageRegistration2D
> > CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o: In function
> > `ImageRegistrationConsole::~ImageRegistrationConsole()':
> > ImageRegistrationConsole.cxx:(.text+0x16fa): undefined reference to
> > `ImageRegistrationConsoleGUI::~ImageRegistrationConsoleGUI()'
> > ImageRegistrationConsole.cxx:(.text+0x1722): undefined reference to
> > `ImageRegistrationConsoleGUI::~ImageRegistrationConsoleGUI()'
> > CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o: In function
> > `ImageRegistrationConsole::~ImageRegistrationConsole()':
> > ImageRegistrationConsole.cxx:(.text+0x1988): undefined reference to
> > `ImageRegistrationConsoleGUI::~ImageRegistrationConsoleGUI()'
> > ImageRegistrationConsole.cxx:(.text+0x19b0): undefined reference to
> > `ImageRegistrationConsoleGUI::~ImageRegistrationConsoleGUI()'
> > CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o: In function
> > `ImageRegistrationConsole::~ImageRegistrationConsole()':
> > ImageRegistrationConsole.cxx:(.text+0x1c16): undefined reference to
> > `ImageRegistrationConsoleGUI::~ImageRegistrationConsoleGUI()'
> >
CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o:ImageRegistrationConsole.cxx:(.text+0x1c3e):
> > more undefined references to
> > `ImageRegistrationConsoleGUI::~ImageRegistrationConsoleGUI()' follow
> > CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o: In function
> > `fltk::RegularStepGradientDescent::~RegularStepGradientDescent()':
> >
ImageRegistrationConsole.cxx:(.text._ZN4fltk26RegularStepGradientDescentD1Ev[fltk::RegularStepGradientDescent::~RegularStepGradientDescent()]+0x2c):
> > undefined reference to
> > `RegularStepGradientDescentGUI::~RegularStepGradientDescentGUI()'
> >
ImageRegistrationConsole.cxx:(.text._ZN4fltk26RegularStepGradientDescentD1Ev[fltk::RegularStepGradientDescent::~RegularStepGradientDescent()]+0x50):
> > undefined reference to
> > `RegularStepGradientDescentGUI::~RegularStepGradientDescentGUI()'
> > CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o: In function
> > `fltk::RegularStepGradientDescent::~RegularStepGradientDescent()':
> >
ImageRegistrationConsole.cxx:(.text._ZN4fltk26RegularStepGradientDescentD0Ev[fltk::RegularStepGradientDescent::~RegularStepGradientDescent()]+0x2c):
> > undefined reference to
> > `RegularStepGradientDescentGUI::~RegularStepGradientDescentGUI()'
> >
ImageRegistrationConsole.cxx:(.text._ZN4fltk26RegularStepGradientDescentD0Ev[fltk::RegularStepGradientDescent::~RegularStepGradientDescent()]+0x50):
> > undefined reference to
> > `RegularStepGradientDescentGUI::~RegularStepGradientDescentGUI()'
> > CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o: In function
> > `fltk::RegularStepGradientDescent::RegularStepGradientDescent()':
> >
ImageRegistrationConsole.cxx:(.text._ZN4fltk26RegularStepGradientDescentC1Ev[fltk::RegularStepGradientDescent::RegularStepGradientDescent()]+0xa6):
> > undefined reference to
> > `RegularStepGradientDescentGUI::~RegularStepGradientDescentGUI()'
> > CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o: In function
> > `fltk::Image2DViewer<float>::~Image2DViewer()':
> >
ImageRegistrationConsole.cxx:(.text._ZN4fltk13Image2DViewerIfED0Ev[fltk::Image2DViewer<float>::~Image2DViewer()]+0x7f):
> > undefined reference to `fltkImage2DViewerGUI::~fltkImage2DViewerGUI()'
> >
ImageRegistrationConsole.cxx:(.text._ZN4fltk13Image2DViewerIfED0Ev[fltk::Image2DViewer<float>::~Image2DViewer()]+0xa1):
> > undefined reference to `fltkImage2DViewerGUI::~fltkImage2DViewerGUI()'
> > CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o: In function
> > `fltk::Image2DViewer<float>::~Image2DViewer()':
> >
ImageRegistrationConsole.cxx:(.text._ZN4fltk13Image2DViewerIfED1Ev[fltk::Image2DViewer<float>::~Image2DViewer()]+0x7f):
> > undefined reference to `fltkImage2DViewerGUI::~fltkImage2DViewerGUI()'
> >
ImageRegistrationConsole.cxx:(.text._ZN4fltk13Image2DViewerIfED1Ev[fltk::Image2DViewer<float>::~Image2DViewer()]+0xa1):
> > undefined reference to `fltkImage2DViewerGUI::~fltkImage2DViewerGUI()'
> > CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o: In function
> > `fltk::Image2DViewer<unsigned short>::~Image2DViewer()':
> >
ImageRegistrationConsole.cxx:(.text._ZN4fltk13Image2DViewerItED0Ev[fltk::Image2DViewer<unsigned
> > short>::~Image2DViewer()]+0x7f): undefined reference to
> > `fltkImage2DViewerGUI::~fltkImage2DViewerGUI()'
> >
CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o:ImageRegistrationConsole.cxx:(.text._ZN4fltk13Image2DViewerItED0Ev[fltk::Image2DViewer<unsigned
> > short>::~Image2DViewer()]+0xa1): more undefined references to
> > `fltkImage2DViewerGUI::~fltkImage2DViewerGUI()' follow
> > CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o: In function
> > `fltk::RGBImage2DViewer<unsigned short>::RGBImage2DViewer()':
> >
ImageRegistrationConsole.cxx:(.text._ZN4fltk16RGBImage2DViewerItEC1Ev[fltk::RGBImage2DViewer<unsigned
> > short>::RGBImage2DViewer()]+0x26e): undefined reference to
> > `fltkRGBImage2DViewerGUI::~fltkRGBImage2DViewerGUI()'
> > CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o: In function
> > `fltk::RGBImage2DViewer<unsigned short>::~RGBImage2DViewer()':
> >
ImageRegistrationConsole.cxx:(.text._ZN4fltk16RGBImage2DViewerItED0Ev[fltk::RGBImage2DViewer<unsigned
> > short>::~RGBImage2DViewer()]+0x1e9): undefined reference to
> > `fltkRGBImage2DViewerGUI::~fltkRGBImage2DViewerGUI()'
> >
ImageRegistrationConsole.cxx:(.text._ZN4fltk16RGBImage2DViewerItED0Ev[fltk::RGBImage2DViewer<unsigned
> > short>::~RGBImage2DViewer()]+0x20b): undefined reference to
> > `fltkRGBImage2DViewerGUI::~fltkRGBImage2DViewerGUI()'
> > CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o: In function
> > `fltk::RGBImage2DViewer<unsigned short>::~RGBImage2DViewer()':
> >
ImageRegistrationConsole.cxx:(.text._ZN4fltk16RGBImage2DViewerItED1Ev[fltk::RGBImage2DViewer<unsigned
> > short>::~RGBImage2DViewer()]+0x1e9): undefined reference to
> > `fltkRGBImage2DViewerGUI::~fltkRGBImage2DViewerGUI()'
> >
ImageRegistrationConsole.cxx:(.text._ZN4fltk16RGBImage2DViewerItED1Ev[fltk::RGBImage2DViewer<unsigned
> > short>::~RGBImage2DViewer()]+0x20b): undefined reference to
> > `fltkRGBImage2DViewerGUI::~fltkRGBImage2DViewerGUI()'
> >
CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o:(.rodata._ZTV24ImageRegistrationConsole[vtable
> > for ImageRegistrationConsole]+0x54): undefined reference to
> > `ImageRegistrationConsoleGUI::Load()'
> >
CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o:(.rodata._ZTV24ImageRegistrationConsole[vtable
> > for ImageRegistrationConsole]+0x58): undefined reference to
> > `ImageRegistrationConsoleGUI::ShowAbout()'
> >
CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o:(.rodata._ZTI24ImageRegistrationConsole[typeinfo
> > for ImageRegistrationConsole]+0x8): undefined reference to `typeinfo for
> > ImageRegistrationConsoleGUI'
> >
CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o:(.rodata._ZTVN4fltk26RegularStepGradientDescentE[vtable
> > for fltk::RegularStepGradientDescent]+0x1c): undefined reference to
> > `RegularStepGradientDescentGUI::SetMaximumNumberOfIterations(double)'
> >
CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o:(.rodata._ZTIN4fltk26RegularStepGradientDescentE[typeinfo
> > for fltk::RegularStepGradientDescent]+0x8): undefined reference to `typeinfo for
> > RegularStepGradientDescentGUI'
> >
CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o:(.rodata._ZTIN4fltk13Image2DViewerIfEE[typeinfo
> > for fltk::Image2DViewer<float>]+0x18): undefined reference to `typeinfo for
> > fltkImage2DViewerGUI'
> >
CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o:(.rodata._ZTIN4fltk13Image2DViewerItEE[typeinfo
> > for fltk::Image2DViewer<unsigned short>]+0x18): undefined reference to `typeinfo
> > for fltkImage2DViewerGUI'
> >
CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o:(.rodata._ZTIN4fltk16RGBImage2DViewerItEE[typeinfo
> > for fltk::RGBImage2DViewer<unsigned short>]+0x18): undefined reference to
> > `typeinfo for fltkRGBImage2DViewerGUI'
> >
CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o:(.rodata._ZTVN4fltk16RGBImage2DViewerItEE[vtable
> > for fltk::RGBImage2DViewer<unsigned short>]+0x80): undefined reference to
> > `fltkRGBImage2DViewerGUI::SetMin(double)'
> >
CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o:(.rodata._ZTVN4fltk16RGBImage2DViewerItEE[vtable

> > for fltk::RGBImage2DViewer<unsigned short>]+0x84): undefined reference to
> > `fltkRGBImage2DViewerGUI::SetMax(double)'
> > CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsoleGUI.o: In function
> > `ImageRegistrationConsoleGUI::ImageRegistrationConsoleGUI()':
> > ImageRegistrationConsoleGUI.cxx:(.text+0x7a5): undefined reference to `vtable
> > for ImageRegistrationConsoleGUI'
> > CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsoleGUI.o: In function
> > `ImageRegistrationConsoleGUI::ImageRegistrationConsoleGUI()':
> > ImageRegistrationConsoleGUI.cxx:(.text+0x4cd3): undefined reference to `vtable
> > for ImageRegistrationConsoleGUI'
> > ../VolviewPlugIns/bin/libITKFltkImageViewer.a(fltkImage2DViewerGUI.o): In
> > function `fltkImage2DViewerGUI::fltkImage2DViewerGUI()':
> > fltkImage2DViewerGUI.cxx:(.text+0x211): undefined reference to `vtable for
> > fltkImage2DViewerGUI'
> > ../VolviewPlugIns/bin/libITKFltkImageViewer.a(fltkImage2DViewerGUI.o): In
> > function `fltkImage2DViewerGUI::fltkImage2DViewerGUI()':
> > fltkImage2DViewerGUI.cxx:(.text+0x65d): undefined reference to `vtable for
> > fltkImage2DViewerGUI'
> > ../VolviewPlugIns/bin/libITKFltkImageViewer.a(fltkRGBImage2DViewerGUI.o): In
> > function `fltkRGBImage2DViewerGUI::fltkRGBImage2DViewerGUI()':
> > fltkRGBImage2DViewerGUI.cxx:(.text+0x1c1): undefined reference to `vtable for
> > fltkRGBImage2DViewerGUI'
> > ../VolviewPlugIns/bin/libITKFltkImageViewer.a(fltkRGBImage2DViewerGUI.o): In
> > function `fltkRGBImage2DViewerGUI::fltkRGBImage2DViewerGUI()':
> > fltkRGBImage2DViewerGUI.cxx:(.text+0x5c3): undefined reference to `vtable for
> > fltkRGBImage2DViewerGUI'
> >
../VolviewPlugIns/bin/libITKFltkImageViewer.a(fltkRegularStepGradientDescentGUI.o):
> > In function `RegularStepGradientDescentGUI::RegularStepGradientDescentGUI()':
> > fltkRegularStepGradientDescentGUI.cxx:(.text+0x33d): undefined reference to
> > `vtable for RegularStepGradientDescentGUI'
> >
../VolviewPlugIns/bin/libITKFltkImageViewer.a(fltkRegularStepGradientDescentGUI.o):
> > In function `RegularStepGradientDescentGUI::RegularStepGradientDescentGUI()':
> > fltkRegularStepGradientDescentGUI.cxx:(.text+0x8f1): undefined reference to
> > `vtable for RegularStepGradientDescentGUI'
> > /MMprogs/FLTK_bin/lib/libfltk.a(screen_xywh.o): In function `screen_init()':
> > screen_xywh.cxx:(.text+0x1e): undefined reference to `XineramaIsActive'
> > screen_xywh.cxx:(.text+0x37): undefined reference to `XineramaQueryScreens'
> > collect2: ld returned 1 exit status
> > make[2]: *** [ImageRegistration2D/ImageRegistration2D] Error 1
> > make[1]: *** [ImageRegistration2D/CMakeFiles/ImageRegistration2D.dir/all]
Error 2

> > make: *** [all] Error 2
> >
> > _____________________________________
> > Powered by www.kitware.com
> >
> > Visit other Kitware open-source projects at
> > http://www.kitware.com/opensource/opensource.html
> >
> > Kitware offers ITK Training Courses, for more information visit:
> > http://www.kitware.com/products/protraining.html
> >
> > Please keep messages on-topic and check the ITK FAQ at:
> > http://www.itk.org/Wiki/ITK_FAQ
> >
> > Follow this link to subscribe/unsubscribe:
> > http://www.itk.org/mailman/listinfo/insight-users
> >
> >
--
Michael Mentink
Oxford Orthopaedic Engineering Centre
telephone 01865227451


_____________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Kitware offers ITK Training Courses, for more information visit:
http://www.kitware.com/products/protraining.html

Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ

Follow this link to subscribe/unsubscribe:
http://www.itk.org/mailman/listinfo/insight-users

Parent Message unknown Re: InsightApplications won't compile

by Luis Ibanez :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Michael,

Thanks for letting us know of your progress.

1) Yes, "fluie" was a typo in my email,
     I meant to write: "fluid".
     sorry about that.

2)  The permission settings in your installation
      tree certainly looks out of order, and it is
      likely to be the cause of the problem.

3) You say that the project still doesn't build.
     Can you please post to the list the *exact*
     error message that you are getting now ?


    Thanks


             Luis


-------------------------------------------------------------
On Mon, Nov 2, 2009 at 9:09 AM, Michael Mentink
<michael.mentink@...> wrote:

>
> Did the chmod -R 777 to get access rights to every file in the dir and although
> I didn't get the cmake file write error, it didn't solve the problem that
> itkapplications doesn't build.
>
> greets, Michael
>
> In message <f7abd23c0911010638l2bf0a42evf5e0dc89c9c005e3@...> Luis
> Ibanez <luis.ibanez@...> writes:
>> Hi Michael,
>>
>> Thanks for posting the errors.
>>
>> From the messages it seems that your configuration is not finding
>> the FLTK "fluid" tool, or that "fluid" is failing to run.
>>
>> Fluid is used to read ".fl" files that contain a description of the GUI
>> geometry, and from them it generates .h and .cxx files that are then
>> integrated into the project of an application.
>>
>>
>> Please do the following:
>>
>> A) type "fluid" in a terminal and see if the application opens
>>
>> B) Go to the binary directory where you are building
>>      InsightApplications and type:
>>
>>              grep -i   fluie   CMakeCache.txt
>>
>>      in my installation I get:
>>
>>          FLTK_FLUID_EXECUTABLE:FILEPATH=/usr/bin/fluid
>>
>>
>> Please let us know what you find.
>>
>>
>>       Thanks
>>
>>
>>              Luis
>>
>>
>>
> ------------------------------------------------------------------------------------------
>> On Tue, Oct 27, 2009 at 10:17 AM, Michael Mentink
>> <michael.mentink@...> wrote:
>> >
>> > I can't get InsightApllications 3.16 to build/link
>> >
>> > I have succesfully built/compiled ITK, VTK, DCMTK, FLTK, all in g++4.3.3 in
>> > Ubuntu 9.04, using the following files:
>> > - vtk-5.4.2.tar.gz
>> > - fltk-1.3.x-r6916.tar.bz2
>> > - dcmtk-3.5.4.tar.gz
>> > - InsightToolkit-3.16.0.tar.gz
>> > - InsightApplications-3.16.0.tar.gz
>> > - Cmake 2.6 patch 2
>> >
>> > below is the cmake output (copied from ubuntu terminal)
>> >
>> > What to do? Thanks, Michael
>> >
>> > [ 36%] Building CXX object
>> >
> CellularSegmentation/CMakeFiles/CellularSegmentation.dir/CellularSegmentationApplicationBase.o
>> >
> /MMprogs/InsightApplications-3.16.0_src/DeformableRegistration3DTimeSeries/DicomImageReaderGUI.cxx:83:
>> > error: ‘DeformableRegistration3DTimeSeriesGUI’ has not been declared
>> > make[2]: ***
>> >
> [DeformableRegistration3DTimeSeries/CMakeFiles/DeformableRegistration3DTimeSeries.dir/DicomImageReaderGUI.o]
>> > Error 1
>> > make[1]: ***
>> >
> [DeformableRegistration3DTimeSeries/CMakeFiles/DeformableRegistration3DTimeSeries.dir/all]
>> > Error 2
>> > make[1]: *** Waiting for unfinished jobs....
>> > [ 36%] Building CXX object
>> >
> CellularSegmentation/CMakeFiles/CellularSegmentation.dir/CellularSegmentationApplication.o
>> > CMakeFiles/DeformableModelSimplexMesh.dir/DeformableModelApplication.o: In
>> > function `DeformableModelApplication::~DeformableModelApplication()':
>> > DeformableModelApplication.cxx:(.text+0x2525): undefined reference to
>> > `DeformableModelApplicationGUI::~DeformableModelApplicationGUI()'
>> > DeformableModelApplication.cxx:(.text+0x254d): undefined reference to
>> > `DeformableModelApplicationGUI::~DeformableModelApplicationGUI()'
>> > CMakeFiles/DeformableModelSimplexMesh.dir/DeformableModelApplication.o: In
>> > function `DeformableModelApplication::~DeformableModelApplication()':
>> > DeformableModelApplication.cxx:(.text+0x2893): undefined reference to
>> > `DeformableModelApplicationGUI::~DeformableModelApplicationGUI()'
>> > DeformableModelApplication.cxx:(.text+0x28bb): undefined reference to
>> > `DeformableModelApplicationGUI::~DeformableModelApplicationGUI()'
>> > CMakeFiles/DeformableModelSimplexMesh.dir/DeformableModelApplication.o: In
>> > function `DeformableModelApplication::~DeformableModelApplication()':
>> > DeformableModelApplication.cxx:(.text+0x2c01): undefined reference to
>> > `DeformableModelApplicationGUI::~DeformableModelApplicationGUI()'
>> >
> CMakeFiles/DeformableModelSimplexMesh.dir/DeformableModelApplication.o:DeformableModelApplication.cxx:(.text+0x2c29):
>> > more undefined references to
>> > `DeformableModelApplicationGUI::~DeformableModelApplicationGUI()' follow
>> >
> CMakeFiles/DeformableModelSimplexMesh.dir/DeformableModelApplication.o:(.rodata._ZTV26DeformableModelApplication[vtable
>> > for DeformableModelApplication]+0x1c): undefined reference to
>> > `DeformableModelApplicationGUI::Help()'
>> >
> CMakeFiles/DeformableModelSimplexMesh.dir/DeformableModelApplication.o:(.rodata._ZTI26DeformableModelApplication[typeinfo
>> > for DeformableModelApplication]+0x8): undefined reference to `typeinfo for
>> > DeformableModelApplicationGUI'
>> > CMakeFiles/DeformableModelSimplexMesh.dir/DeformableModelApplicationGUI.o: In
>> > function `DeformableModelApplicationGUI::DeformableModelApplicationGUI()':
>> > DeformableModelApplicationGUI.cxx:(.text+0x63d): undefined reference to `vtable
>> > for DeformableModelApplicationGUI'
>> > CMakeFiles/DeformableModelSimplexMesh.dir/DeformableModelApplicationGUI.o: In
>> > function `DeformableModelApplicationGUI::DeformableModelApplicationGUI()':
>> > DeformableModelApplicationGUI.cxx:(.text+0x19ef): undefined reference to `vtable
>> > for DeformableModelApplicationGUI'
>> > /MMprogs/FLTK_bin/lib/libfltk.a(screen_xywh.o): In function `screen_init()':
>> > screen_xywh.cxx:(.text+0x1e): undefined reference to `XineramaIsActive'
>> > screen_xywh.cxx:(.text+0x37): undefined reference to `XineramaQueryScreens'
>> > collect2: ld returned 1 exit status
>> > make[2]: *** [DeformableModelSimplexMesh/DeformableModelSimplexMesh] Error 1
>> > make[1]: ***
>> > [DeformableModelSimplexMesh/CMakeFiles/DeformableModelSimplexMesh.dir/all]
> Error 2
>> > [ 36%] Building CXX object
>> >
> CellularSegmentation/CMakeFiles/CellularSegmentation.dir/CellularAggregateViewer.o
>> > [ 36%] Building CXX object
>> >
> ImageRegistration2D/CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsoleBase.o
>> > [ 36%] Building CXX object
>> > CellularSegmentation/CMakeFiles/CellularSegmentation.dir/ImageSliceViewer.o
>> > [ 36%] Building CXX object
>> > CellularSegmentation/CMakeFiles/CellularSegmentation.dir/InteractorObserver.o
>> > [ 37%] Building CXX object
>> > ImageRegistration2D/CMakeFiles/ImageRegistration2D.dir/ImageRegistration2D.o
>> > [ 37%] Building CXX object
>> > CellularSegmentation/CMakeFiles/CellularSegmentation.dir/main.o
>> > [ 38%] Building CXX object
>> >
> CellularSegmentation/CMakeFiles/CellularSegmentation.dir/CellularSegmentationApplicationGUI.o
>> > [ 38%] Building CXX object
>> >
> ImageRegistration2D/CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsoleGUI.o
>> > Linking CXX executable CellularSegmentation
>> > CMakeFiles/CellularSegmentation.dir/CellularSegmentationApplication.o: In
>> > function `CellularSegmentationApplication::~CellularSegmentationApplication()':
>> > CellularSegmentationApplication.cxx:(.text+0x8dc): undefined reference to
>> > `CellularSegmentationApplicationGUI::~CellularSegmentationApplicationGUI()'
>> > CellularSegmentationApplication.cxx:(.text+0x904): undefined reference to
>> > `CellularSegmentationApplicationGUI::~CellularSegmentationApplicationGUI()'
>> > CMakeFiles/CellularSegmentation.dir/CellularSegmentationApplication.o: In
>> > function `CellularSegmentationApplication::~CellularSegmentationApplication()':
>> > CellularSegmentationApplication.cxx:(.text+0xa1c): undefined reference to
>> > `CellularSegmentationApplicationGUI::~CellularSegmentationApplicationGUI()'
>> > CellularSegmentationApplication.cxx:(.text+0xa44): undefined reference to
>> > `CellularSegmentationApplicationGUI::~CellularSegmentationApplicationGUI()'
>> > CMakeFiles/CellularSegmentation.dir/CellularSegmentationApplication.o: In
>> > function `CellularSegmentationApplication::~CellularSegmentationApplication()':
>> > CellularSegmentationApplication.cxx:(.text+0xb5c): undefined reference to
>> > `CellularSegmentationApplicationGUI::~CellularSegmentationApplicationGUI()'
>> >
> CMakeFiles/CellularSegmentation.dir/CellularSegmentationApplication.o:CellularSegmentationApplication.cxx:(.text+0xb84):
>> > more undefined references to
>> > `CellularSegmentationApplicationGUI::~CellularSegmentationApplicationGUI()'
> follow
>> >
> CMakeFiles/CellularSegmentation.dir/CellularSegmentationApplication.o:(.rodata._ZTI31CellularSegmentationApplication[typeinfo
>> > for CellularSegmentationApplication]+0x8): undefined reference to `typeinfo for
>> > CellularSegmentationApplicationGUI'
>> > CMakeFiles/CellularSegmentation.dir/CellularSegmentationApplicationGUI.o: In
>> > function
> `CellularSegmentationApplicationGUI::CellularSegmentationApplicationGUI()':
>> > CellularSegmentationApplicationGUI.cxx:(.text+0x270): undefined reference to
>> > `vtable for CellularSegmentationApplicationGUI'
>> > CMakeFiles/CellularSegmentation.dir/CellularSegmentationApplicationGUI.o: In
>> > function
> `CellularSegmentationApplicationGUI::CellularSegmentationApplicationGUI()':
>> > CellularSegmentationApplicationGUI.cxx:(.text+0x980): undefined reference to
>> > `vtable for CellularSegmentationApplicationGUI'
>> > /MMprogs/FLTK_bin/lib/libfltk.a(screen_xywh.o): In function `screen_init()':
>> > screen_xywh.cxx:(.text+0x1e): undefined reference to `XineramaIsActive'
>> > screen_xywh.cxx:(.text+0x37): undefined reference to `XineramaQueryScreens'
>> > collect2: ld returned 1 exit status
>> > make[2]: *** [CellularSegmentation/CellularSegmentation] Error 1
>> > make[1]: *** [CellularSegmentation/CMakeFiles/CellularSegmentation.dir/all]
> Error 2
>> > Linking CXX executable ImageRegistration2D
>> > CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o: In function
>> > `ImageRegistrationConsole::~ImageRegistrationConsole()':
>> > ImageRegistrationConsole.cxx:(.text+0x16fa): undefined reference to
>> > `ImageRegistrationConsoleGUI::~ImageRegistrationConsoleGUI()'
>> > ImageRegistrationConsole.cxx:(.text+0x1722): undefined reference to
>> > `ImageRegistrationConsoleGUI::~ImageRegistrationConsoleGUI()'
>> > CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o: In function
>> > `ImageRegistrationConsole::~ImageRegistrationConsole()':
>> > ImageRegistrationConsole.cxx:(.text+0x1988): undefined reference to
>> > `ImageRegistrationConsoleGUI::~ImageRegistrationConsoleGUI()'
>> > ImageRegistrationConsole.cxx:(.text+0x19b0): undefined reference to
>> > `ImageRegistrationConsoleGUI::~ImageRegistrationConsoleGUI()'
>> > CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o: In function
>> > `ImageRegistrationConsole::~ImageRegistrationConsole()':
>> > ImageRegistrationConsole.cxx:(.text+0x1c16): undefined reference to
>> > `ImageRegistrationConsoleGUI::~ImageRegistrationConsoleGUI()'
>> >
> CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o:ImageRegistrationConsole.cxx:(.text+0x1c3e):
>> > more undefined references to
>> > `ImageRegistrationConsoleGUI::~ImageRegistrationConsoleGUI()' follow
>> > CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o: In function
>> > `fltk::RegularStepGradientDescent::~RegularStepGradientDescent()':
>> >
> ImageRegistrationConsole.cxx:(.text._ZN4fltk26RegularStepGradientDescentD1Ev[fltk::RegularStepGradientDescent::~RegularStepGradientDescent()]+0x2c):
>> > undefined reference to
>> > `RegularStepGradientDescentGUI::~RegularStepGradientDescentGUI()'
>> >
> ImageRegistrationConsole.cxx:(.text._ZN4fltk26RegularStepGradientDescentD1Ev[fltk::RegularStepGradientDescent::~RegularStepGradientDescent()]+0x50):
>> > undefined reference to
>> > `RegularStepGradientDescentGUI::~RegularStepGradientDescentGUI()'
>> > CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o: In function
>> > `fltk::RegularStepGradientDescent::~RegularStepGradientDescent()':
>> >
> ImageRegistrationConsole.cxx:(.text._ZN4fltk26RegularStepGradientDescentD0Ev[fltk::RegularStepGradientDescent::~RegularStepGradientDescent()]+0x2c):
>> > undefined reference to
>> > `RegularStepGradientDescentGUI::~RegularStepGradientDescentGUI()'
>> >
> ImageRegistrationConsole.cxx:(.text._ZN4fltk26RegularStepGradientDescentD0Ev[fltk::RegularStepGradientDescent::~RegularStepGradientDescent()]+0x50):
>> > undefined reference to
>> > `RegularStepGradientDescentGUI::~RegularStepGradientDescentGUI()'
>> > CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o: In function
>> > `fltk::RegularStepGradientDescent::RegularStepGradientDescent()':
>> >
> ImageRegistrationConsole.cxx:(.text._ZN4fltk26RegularStepGradientDescentC1Ev[fltk::RegularStepGradientDescent::RegularStepGradientDescent()]+0xa6):
>> > undefined reference to
>> > `RegularStepGradientDescentGUI::~RegularStepGradientDescentGUI()'
>> > CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o: In function
>> > `fltk::Image2DViewer<float>::~Image2DViewer()':
>> >
> ImageRegistrationConsole.cxx:(.text._ZN4fltk13Image2DViewerIfED0Ev[fltk::Image2DViewer<float>::~Image2DViewer()]+0x7f):
>> > undefined reference to `fltkImage2DViewerGUI::~fltkImage2DViewerGUI()'
>> >
> ImageRegistrationConsole.cxx:(.text._ZN4fltk13Image2DViewerIfED0Ev[fltk::Image2DViewer<float>::~Image2DViewer()]+0xa1):
>> > undefined reference to `fltkImage2DViewerGUI::~fltkImage2DViewerGUI()'
>> > CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o: In function
>> > `fltk::Image2DViewer<float>::~Image2DViewer()':
>> >
> ImageRegistrationConsole.cxx:(.text._ZN4fltk13Image2DViewerIfED1Ev[fltk::Image2DViewer<float>::~Image2DViewer()]+0x7f):
>> > undefined reference to `fltkImage2DViewerGUI::~fltkImage2DViewerGUI()'
>> >
> ImageRegistrationConsole.cxx:(.text._ZN4fltk13Image2DViewerIfED1Ev[fltk::Image2DViewer<float>::~Image2DViewer()]+0xa1):
>> > undefined reference to `fltkImage2DViewerGUI::~fltkImage2DViewerGUI()'
>> > CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o: In function
>> > `fltk::Image2DViewer<unsigned short>::~Image2DViewer()':
>> >
> ImageRegistrationConsole.cxx:(.text._ZN4fltk13Image2DViewerItED0Ev[fltk::Image2DViewer<unsigned
>> > short>::~Image2DViewer()]+0x7f): undefined reference to
>> > `fltkImage2DViewerGUI::~fltkImage2DViewerGUI()'
>> >
> CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o:ImageRegistrationConsole.cxx:(.text._ZN4fltk13Image2DViewerItED0Ev[fltk::Image2DViewer<unsigned
>> > short>::~Image2DViewer()]+0xa1): more undefined references to
>> > `fltkImage2DViewerGUI::~fltkImage2DViewerGUI()' follow
>> > CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o: In function
>> > `fltk::RGBImage2DViewer<unsigned short>::RGBImage2DViewer()':
>> >
> ImageRegistrationConsole.cxx:(.text._ZN4fltk16RGBImage2DViewerItEC1Ev[fltk::RGBImage2DViewer<unsigned
>> > short>::RGBImage2DViewer()]+0x26e): undefined reference to
>> > `fltkRGBImage2DViewerGUI::~fltkRGBImage2DViewerGUI()'
>> > CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o: In function
>> > `fltk::RGBImage2DViewer<unsigned short>::~RGBImage2DViewer()':
>> >
> ImageRegistrationConsole.cxx:(.text._ZN4fltk16RGBImage2DViewerItED0Ev[fltk::RGBImage2DViewer<unsigned
>> > short>::~RGBImage2DViewer()]+0x1e9): undefined reference to
>> > `fltkRGBImage2DViewerGUI::~fltkRGBImage2DViewerGUI()'
>> >
> ImageRegistrationConsole.cxx:(.text._ZN4fltk16RGBImage2DViewerItED0Ev[fltk::RGBImage2DViewer<unsigned
>> > short>::~RGBImage2DViewer()]+0x20b): undefined reference to
>> > `fltkRGBImage2DViewerGUI::~fltkRGBImage2DViewerGUI()'
>> > CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o: In function
>> > `fltk::RGBImage2DViewer<unsigned short>::~RGBImage2DViewer()':
>> >
> ImageRegistrationConsole.cxx:(.text._ZN4fltk16RGBImage2DViewerItED1Ev[fltk::RGBImage2DViewer<unsigned
>> > short>::~RGBImage2DViewer()]+0x1e9): undefined reference to
>> > `fltkRGBImage2DViewerGUI::~fltkRGBImage2DViewerGUI()'
>> >
> ImageRegistrationConsole.cxx:(.text._ZN4fltk16RGBImage2DViewerItED1Ev[fltk::RGBImage2DViewer<unsigned
>> > short>::~RGBImage2DViewer()]+0x20b): undefined reference to
>> > `fltkRGBImage2DViewerGUI::~fltkRGBImage2DViewerGUI()'
>> >
> CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o:(.rodata._ZTV24ImageRegistrationConsole[vtable
>> > for ImageRegistrationConsole]+0x54): undefined reference to
>> > `ImageRegistrationConsoleGUI::Load()'
>> >
> CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o:(.rodata._ZTV24ImageRegistrationConsole[vtable
>> > for ImageRegistrationConsole]+0x58): undefined reference to
>> > `ImageRegistrationConsoleGUI::ShowAbout()'
>> >
> CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o:(.rodata._ZTI24ImageRegistrationConsole[typeinfo
>> > for ImageRegistrationConsole]+0x8): undefined reference to `typeinfo for
>> > ImageRegistrationConsoleGUI'
>> >
> CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o:(.rodata._ZTVN4fltk26RegularStepGradientDescentE[vtable
>> > for fltk::RegularStepGradientDescent]+0x1c): undefined reference to
>> > `RegularStepGradientDescentGUI::SetMaximumNumberOfIterations(double)'
>> >
> CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o:(.rodata._ZTIN4fltk26RegularStepGradientDescentE[typeinfo
>> > for fltk::RegularStepGradientDescent]+0x8): undefined reference to `typeinfo for
>> > RegularStepGradientDescentGUI'
>> >
> CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o:(.rodata._ZTIN4fltk13Image2DViewerIfEE[typeinfo
>> > for fltk::Image2DViewer<float>]+0x18): undefined reference to `typeinfo for
>> > fltkImage2DViewerGUI'
>> >
> CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o:(.rodata._ZTIN4fltk13Image2DViewerItEE[typeinfo
>> > for fltk::Image2DViewer<unsigned short>]+0x18): undefined reference to `typeinfo
>> > for fltkImage2DViewerGUI'
>> >
> CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o:(.rodata._ZTIN4fltk16RGBImage2DViewerItEE[typeinfo
>> > for fltk::RGBImage2DViewer<unsigned short>]+0x18): undefined reference to
>> > `typeinfo for fltkRGBImage2DViewerGUI'
>> >
> CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o:(.rodata._ZTVN4fltk16RGBImage2DViewerItEE[vtable
>> > for fltk::RGBImage2DViewer<unsigned short>]+0x80): undefined reference to
>> > `fltkRGBImage2DViewerGUI::SetMin(double)'
>> >
> CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o:(.rodata._ZTVN4fltk16RGBImage2DViewerItEE[vtable
>> > for fltk::RGBImage2DViewer<unsigned short>]+0x84): undefined reference to
>> > `fltkRGBImage2DViewerGUI::SetMax(double)'
>> > CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsoleGUI.o: In function
>> > `ImageRegistrationConsoleGUI::ImageRegistrationConsoleGUI()':
>> > ImageRegistrationConsoleGUI.cxx:(.text+0x7a5): undefined reference to `vtable
>> > for ImageRegistrationConsoleGUI'
>> > CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsoleGUI.o: In function
>> > `ImageRegistrationConsoleGUI::ImageRegistrationConsoleGUI()':
>> > ImageRegistrationConsoleGUI.cxx:(.text+0x4cd3): undefined reference to `vtable
>> > for ImageRegistrationConsoleGUI'
>> > ../VolviewPlugIns/bin/libITKFltkImageViewer.a(fltkImage2DViewerGUI.o): In
>> > function `fltkImage2DViewerGUI::fltkImage2DViewerGUI()':
>> > fltkImage2DViewerGUI.cxx:(.text+0x211): undefined reference to `vtable for
>> > fltkImage2DViewerGUI'
>> > ../VolviewPlugIns/bin/libITKFltkImageViewer.a(fltkImage2DViewerGUI.o): In
>> > function `fltkImage2DViewerGUI::fltkImage2DViewerGUI()':
>> > fltkImage2DViewerGUI.cxx:(.text+0x65d): undefined reference to `vtable for
>> > fltkImage2DViewerGUI'
>> > ../VolviewPlugIns/bin/libITKFltkImageViewer.a(fltkRGBImage2DViewerGUI.o): In
>> > function `fltkRGBImage2DViewerGUI::fltkRGBImage2DViewerGUI()':
>> > fltkRGBImage2DViewerGUI.cxx:(.text+0x1c1): undefined reference to `vtable for
>> > fltkRGBImage2DViewerGUI'
>> > ../VolviewPlugIns/bin/libITKFltkImageViewer.a(fltkRGBImage2DViewerGUI.o): In
>> > function `fltkRGBImage2DViewerGUI::fltkRGBImage2DViewerGUI()':
>> > fltkRGBImage2DViewerGUI.cxx:(.text+0x5c3): undefined reference to `vtable for
>> > fltkRGBImage2DViewerGUI'
>> >
> ../VolviewPlugIns/bin/libITKFltkImageViewer.a(fltkRegularStepGradientDescentGUI.o):
>> > In function `RegularStepGradientDescentGUI::RegularStepGradientDescentGUI()':
>> > fltkRegularStepGradientDescentGUI.cxx:(.text+0x33d): undefined reference to
>> > `vtable for RegularStepGradientDescentGUI'
>> >
> ../VolviewPlugIns/bin/libITKFltkImageViewer.a(fltkRegularStepGradientDescentGUI.o):
>> > In function `RegularStepGradientDescentGUI::RegularStepGradientDescentGUI()':
>> > fltkRegularStepGradientDescentGUI.cxx:(.text+0x8f1): undefined reference to
>> > `vtable for RegularStepGradientDescentGUI'
>> > /MMprogs/FLTK_bin/lib/libfltk.a(screen_xywh.o): In function `screen_init()':
>> > screen_xywh.cxx:(.text+0x1e): undefined reference to `XineramaIsActive'
>> > screen_xywh.cxx:(.text+0x37): undefined reference to `XineramaQueryScreens'
>> > collect2: ld returned 1 exit status
>> > make[2]: *** [ImageRegistration2D/ImageRegistration2D] Error 1
>> > make[1]: *** [ImageRegistration2D/CMakeFiles/ImageRegistration2D.dir/all]
> Error 2
>> > make: *** [all] Error 2
>> >
>> > _____________________________________
>> > Powered by www.kitware.com
>> >
>> > Visit other Kitware open-source projects at
>> > http://www.kitware.com/opensource/opensource.html
>> >
>> > Kitware offers ITK Training Courses, for more information visit:
>> > http://www.kitware.com/products/protraining.html
>> >
>> > Please keep messages on-topic and check the ITK FAQ at:
>> > http://www.itk.org/Wiki/ITK_FAQ
>> >
>> > Follow this link to subscribe/unsubscribe:
>> > http://www.itk.org/mailman/listinfo/insight-users
>> >
>> >
>
> --
> Michael Mentink
> Oxford Orthopaedic Engineering Centre
> telephone 01865227451
>
>
_____________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Kitware offers ITK Training Courses, for more information visit:
http://www.kitware.com/products/protraining.html

Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ

Follow this link to subscribe/unsubscribe:
http://www.itk.org/mailman/listinfo/insight-users

Re: InsightApplications won't compile

by Michael Mentink :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Luis,

I suspect it has something to do with FLTK, like you suggested before, rather than any permissions.
I have installed everything (ITK, VTK, FLTK) in an outsource directory /MMprogs,
and I have set up the ccmake settings accordingly.

Kind regards,

Michael

make -j4
[  0%] [  0%] Building CXX object LevelSetSegmentation/CMakeFiles/itk2DCannySegmentationLevelSetImageFilter.dir/itk2DCannySegmentationLevelSetImageFilter.o
[  0%] Building CXX object AnisotropicDiffusionImageFilter/CMakeFiles/itk2DAnisotropicDiffusionImageFilter.dir/itk2DAnisotropicDiffusionImageFilter.o
[  0%] Building CXX object LevelSetSegmentation/CMakeFiles/itk2DThresholdSegmentationLevelSetImageFilter.dir/itk2DThresholdSegmentationLevelSetImageFilter.o
Building CXX object ITKFilterLib/CMakeFiles/Example_ITKFilterLib.dir/ITKFilterLib.o
Linking CXX static library ../VolviewPlugIns/bin/libExample_ITKFilterLib.a
[  0%] Built target Example_ITKFilterLib
[  0%] Building CXX object ITKRegistrationLib/CMakeFiles/Example_ITKRegistrationLib.dir/ITKRegistrationLib.o
Linking CXX executable itk2DAnisotropicDiffusionImageFilter
[  0%] Built target itk2DAnisotropicDiffusionImageFilter
[  1%] Building CXX object StreamedWatershedSegmentation/ParameterFileParser/CMakeFiles/param.dir/lex.yy.o
[  1%] Building CXX object StreamedWatershedSegmentation/ParameterFileParser/CMakeFiles/param.dir/y.tab.o
[  1%] Building CXX object StreamedWatershedSegmentation/ParameterFileParser/CMakeFiles/param.dir/param.o
Linking CXX static library ../../VolviewPlugIns/bin/libparam.a
Linking CXX executable itk2DThresholdSegmentationLevelSetImageFilter
[  1%] Built target param
[  1%] Building CXX object MRIBiasCorrection/CMakeFiles/BiasCorrector.dir/BiasCorrector.o
[  1%] Built target itk2DThresholdSegmentationLevelSetImageFilter
[  1%] Building CXX object MRIBiasCorrection/CMakeFiles/BiasFieldEstimator.dir/BiasFieldEstimator.o
Linking CXX executable itk2DCannySegmentationLevelSetImageFilter
[  1%] Built target itk2DCannySegmentationLevelSetImageFilter
[  1%] Building CXX object MRIBiasCorrection/CMakeFiles/BiasCorrector.dir/OptionList.o
Linking CXX static library ../VolviewPlugIns/bin/libExample_ITKRegistrationLib.a
[  1%] Building CXX object MRIBiasCorrection/CMakeFiles/BiasFieldEstimator.dir/OptionList.o
[  1%] Built target Example_ITKRegistrationLib
[  1%] Building CXX object MRIBiasCorrection/CMakeFiles/BiasImageGenerator.dir/BiasImageGenerator.o
[  2%] Building CXX object MRIBiasCorrection/CMakeFiles/BiasImageGenerator.dir/OptionList.o
[  2%] Building CXX object MRIBiasCorrection/CMakeFiles/EnergyTablePlotter.dir/EnergyTablePlotter.o
[  2%] Building CXX object MRIBiasCorrection/CMakeFiles/EnergyTablePlotter.dir/OptionList.o
Linking CXX executable EnergyTablePlotter
[  2%] Built target EnergyTablePlotter
[  2%] Building CXX object MRIBiasCorrection/CMakeFiles/ImageCorrector.dir/ImageCorrector.o
Linking CXX executable BiasFieldEstimator
[  2%] Built target BiasFieldEstimator
[  2%] Building CXX object MRIBiasCorrection/CMakeFiles/ImageCorrector.dir/OptionList.o
Linking CXX executable BiasImageGenerator
[  2%] Built target BiasImageGenerator
[  2%] Building CXX object MRIBiasCorrection/CMakeFiles/IntensityHistogram3D.dir/IntensityHistogram3D.o
[  2%] Building CXX object MRIBiasCorrection/CMakeFiles/InterSliceIntensityCorrector.dir/InterSliceIntensityCorrector.o
Linking CXX executable BiasCorrector
[  2%] Built target BiasCorrector
[  3%] Building CXX object MRIBiasCorrection/CMakeFiles/InterSliceIntensityCorrector.dir/OptionList.o
Linking CXX executable ImageCorrector
[  3%] Built target ImageCorrector
[  3%] Building CXX object MRIBiasCorrection/CMakeFiles/IntensityHistogram3D.dir/OptionList.o
[  3%] Building CXX object MRIBiasCorrection/CMakeFiles/SlabIdentifier.dir/SlabIdentifier.o
[  3%] Linking CXX executable IntensityHistogram3D
Building CXX object GaussianMinimumErrorClassifier/CMakeFiles/GaussianMinimumErrorClassifier.dir/__/MRIBiasCorrection/OptionList.o
[  3%] Building CXX object GaussianMinimumErrorClassifier/CMakeFiles/GaussianMinimumErrorClassifier.dir/GaussianMinimumErrorClassifier.o
[  3%] Built target IntensityHistogram3D
[  3%] Building CXX object MRIBiasCorrection/CMakeFiles/SlabIdentifier.dir/OptionList.o
[  3%] Building CXX object AntiAliasBinaryImageFilter/CMakeFiles/itkAntiAliasBinaryImageFilterExample.dir/itkAntiAliasBinaryImageFilterExample.o
Linking CXX executable InterSliceIntensityCorrector
[  3%] Linking CXX executable SlabIdentifier
Built target InterSliceIntensityCorrector
[  3%] Building CXX object AntiAliasBinaryImageFilter/CMakeFiles/itkSampleDataGenerator.dir/itkSampleDataGenerator.o
[  3%] Built target SlabIdentifier
[  4%] Building CXX object SimpleLevelSetsExample/CMakeFiles/itk2DSimpleLevelSetsExample.dir/itk2DSimpleLevelSetsExample.o
Linking CXX executable itkSampleDataGenerator
[  4%] Built target itkSampleDataGenerator
[  4%] Building CXX object SimpleLevelSetsExample/CMakeFiles/itk3DSimpleLevelSetsExample.dir/itk3DSimpleLevelSetsExample.o
Linking CXX executable GaussianMinimumErrorClassifier
Linking CXX executable itkAntiAliasBinaryImageFilterExample
[  4%] Built target GaussianMinimumErrorClassifier
[  4%] [  4%] Built target itkAntiAliasBinaryImageFilterExample
Building CXX object MultichannelTissueClassificationValidation/CMakeFiles/GaussianMSClassificationApp.dir/Code/GaussianMSClassifierValidationApp.o
[  4%] Building CXX object MultichannelTissueClassificationValidation/CMakeFiles/KmeansMSClassificationApp.dir/Code/KmeansMSClassifierValidationApp.o
Linking CXX executable itk2DSimpleLevelSetsExample
[  4%] Built target itk2DSimpleLevelSetsExample
[  4%] Building CXX object DICOMApp/CMakeFiles/DICOMApp.dir/main.o
Linking CXX executable itk3DSimpleLevelSetsExample
[  4%] Built target itk3DSimpleLevelSetsExample
[  4%] Building CXX object LevelSetSurfaceProcessing/CMakeFiles/itk3DAnisotropicFourthOrderLevelSetImageFilter.dir/itk3DAnisotropicFourthOrderLevelSetImageFilter.o
Linking CXX executable DICOMApp
Linking CXX executable GaussianMSClassificationApp
[  4%] Built target DICOMApp
[  4%] Linking CXX executable KmeansMSClassificationApp
Building CXX object LevelSetSurfaceProcessing/CMakeFiles/itk3DIsotropicFourthOrderLevelSetImageFilter.dir/itk3DIsotropicFourthOrderLevelSetImageFilter.o
[  4%] Built target GaussianMSClassificationApp
[  4%] Building CXX object LevelSetSurfaceProcessing/CMakeFiles/itk3DUnsharpMaskLevelSetImageFilter.dir/itk3DUnsharpMaskLevelSetImageFilter.o
[  4%] Built target KmeansMSClassificationApp
[  5%] Building CXX object ImageCalculator/CMakeFiles/ImageCalculator.dir/ImageCalculator.o
[  5%] Building CXX object ImageCalculator/CMakeFiles/ImageCalculator.dir/ImageCalculatorProcess2D.o
Linking CXX executable itk3DAnisotropicFourthOrderLevelSetImageFilter
[  5%] Built target itk3DAnisotropicFourthOrderLevelSetImageFilter
[  5%] Building CXX object ImageCalculator/CMakeFiles/ImageCalculator.dir/ImageCalculatorProcess3D.o
Linking CXX executable itk3DIsotropicFourthOrderLevelSetImageFilter
Linking CXX executable itk3DUnsharpMaskLevelSetImageFilter
[  5%] Built target itk3DIsotropicFourthOrderLevelSetImageFilter
[  5%] Building CXX object ImageCalculator/CMakeFiles/ImageCalculator.dir/ImageCalculatorUtils.o
[  5%] Built target itk3DUnsharpMaskLevelSetImageFilter
[  5%] Building CXX object ImageCalculator/CMakeFiles/ImageCalculatorTests.dir/ImageCalculatorTests.o
[  5%] Building CXX object ImageCalculator/CMakeFiles/ImageCalculatorTests.dir/ImageCalculatorUtils.o
[  6%] Building CXX object ImageCalculator/CMakeFiles/ImageGenerate.dir/ImageGenerate.o
[  6%] Building CXX object ImageCalculator/CMakeFiles/ImageCalculatorTests.dir/ImageCalculatorProcess2D.o
Linking CXX executable ImageGenerate
[  6%] Built target ImageGenerate
[  6%] Building CXX object ImageCalculator/CMakeFiles/ImageCalculatorTests.dir/ImageCalculatorProcess3D.o
[  6%] Building CXX object VolviewPlugIns/CMakeFiles/vvITKAntiAlias.dir/vvITKAntiAlias.o
Linking CXX executable ImageCalculator
[  6%] Built target ImageCalculator
[  6%] Building CXX object VolviewPlugIns/CMakeFiles/vvITKBinaryMedian.dir/vvITKBinaryMedian.o
Linking CXX shared module bin/libvvITKBinaryMedian.so
[  6%] Built target vvITKBinaryMedian
[  6%] Building CXX object VolviewPlugIns/CMakeFiles/vvITKCannyEdgeDetection.dir/vvITKCannyEdgeDetection.o
Linking CXX shared module bin/libvvITKAntiAlias.so
[  6%] Built target vvITKAntiAlias
[  6%] Building CXX object VolviewPlugIns/CMakeFiles/vvITKCannySegmentationLevelSetModule.dir/vvITKCannySegmentationLevelSetModule.o
[  6%] Building CXX object VolviewPlugIns/CMakeFiles/vvITKConfidenceConnected.dir/vvITKConfidenceConnected.o
Linking CXX shared module bin/libvvITKCannyEdgeDetection.so
[  6%] Built target vvITKCannyEdgeDetection
[  6%] Building CXX object VolviewPlugIns/CMakeFiles/vvITKConnectedThreshold.dir/vvITKConnectedThreshold.o
Linking CXX executable ImageCalculatorTests
Linking CXX shared module bin/libvvITKConfidenceConnected.so
Linking CXX shared module bin/libvvITKCannySegmentationLevelSetModule.so
[  6%] Built target vvITKConfidenceConnected
[  6%] Built target vvITKCannySegmentationLevelSetModule
[  6%] Building CXX object VolviewPlugIns/CMakeFiles/vvITKCurvatureAnisotropicDiffusion.dir/vvITKCurvatureAnisotropicDiffusion.o
[  7%] Building CXX object VolviewPlugIns/CMakeFiles/vvITKCurvatureFlow.dir/vvITKCurvatureFlow.o
Linking CXX shared module bin/libvvITKConnectedThreshold.so
[  7%] Built target ImageCalculatorTests
[  7%] Building CXX object VolviewPlugIns/CMakeFiles/vvITKDanielssonDistanceMap.dir/vvITKDanielssonDistanceMap.o
[  7%] Built target vvITKConnectedThreshold
[  7%] Building CXX object VolviewPlugIns/CMakeFiles/vvITKDeformableModelModule.dir/vvITKDeformableModelModule.o
Linking CXX shared module bin/libvvITKCurvatureAnisotropicDiffusion.so
Linking CXX shared module bin/libvvITKCurvatureFlow.so
[  7%] Built target vvITKCurvatureAnisotropicDiffusion
[  7%] Building CXX object VolviewPlugIns/CMakeFiles/vvITKFastMarching.dir/vvITKFastMarching.o
[  7%] Built target vvITKCurvatureFlow
[  7%] Building CXX object VolviewPlugIns/CMakeFiles/vvITKFastMarchingModule.dir/vvITKFastMarchingModule.o
Linking CXX shared module bin/libvvITKDanielssonDistanceMap.so
[  7%] Built target vvITKDanielssonDistanceMap
[  7%] Building CXX object VolviewPlugIns/CMakeFiles/vvITKGeodesicActiveContour.dir/vvITKGeodesicActiveContour.o
Linking CXX shared module bin/libvvITKDeformableModelModule.so
[  7%] Built target vvITKDeformableModelModule
[  7%] Building CXX object VolviewPlugIns/CMakeFiles/vvITKGeodesicActiveContourModule.dir/vvITKGeodesicActiveContourModule.o
Linking CXX shared module bin/libvvITKFastMarching.so
[  7%] Built target vvITKFastMarching
[  8%] Building CXX object VolviewPlugIns/CMakeFiles/vvITKGradientAnisotropicDiffusion.dir/vvITKGradientAnisotropicDiffusion.o
Linking CXX shared module bin/libvvITKFastMarchingModule.so
[  8%] Built target vvITKFastMarchingModule
[  8%] Building CXX object VolviewPlugIns/CMakeFiles/vvITKGradientMagnitude.dir/vvITKGradientMagnitude.o
Linking CXX shared module bin/libvvITKGradientAnisotropicDiffusion.so
[  8%] Built target vvITKGradientAnisotropicDiffusion
Linking CXX shared module bin/libvvITKGeodesicActiveContour.so
[  8%] Building CXX object VolviewPlugIns/CMakeFiles/vvITKGradientMagnitudeRecursiveGaussian.dir/vvITKGradientMagnitudeRecursiveGaussian.o
[  8%] Built target vvITKGeodesicActiveContour
[  8%] Building CXX object VolviewPlugIns/CMakeFiles/vvITKImageRegistration.dir/vvITKImageRegistration.o
Linking CXX shared module bin/libvvITKGradientMagnitude.so
[  8%] Built target vvITKGradientMagnitude
[  8%] Building CXX object VolviewPlugIns/CMakeFiles/vvITKIntensityWindowing.dir/vvITKIntensityWindowing.o
Linking CXX shared module bin/libvvITKGeodesicActiveContourModule.so
[  8%] Built target vvITKGeodesicActiveContourModule
[  8%] Building CXX object VolviewPlugIns/CMakeFiles/vvITKIsolatedConnected.dir/vvITKIsolatedConnected.o
Linking CXX shared module bin/libvvITKIntensityWindowing.so
Linking CXX shared module bin/libvvITKGradientMagnitudeRecursiveGaussian.so
[  8%] Built target vvITKIntensityWindowing
[  8%] Built target vvITKGradientMagnitudeRecursiveGaussian
[  8%] Building CXX object VolviewPlugIns/CMakeFiles/vvITKIsotropicFourthOrderLevelSet.dir/vvITKIsotropicFourthOrderLevelSet.o
[  8%] Building CXX object VolviewPlugIns/CMakeFiles/vvITKLandmarkWarping.dir/vvITKLandmarkWarping.o
Linking CXX shared module bin/libvvITKIsolatedConnected.so
[  8%] Built target vvITKIsolatedConnected
[  9%] Building CXX object VolviewPlugIns/CMakeFiles/vvITKMask.dir/vvITKMask.o
Linking CXX shared module bin/libvvITKMask.so
[  9%] Built target vvITKMask
[  9%] Building CXX object VolviewPlugIns/CMakeFiles/vvITKMaskNegated.dir/vvITKMaskNegated.o
Linking CXX shared module bin/libvvITKLandmarkWarping.so
[  9%] Built target vvITKLandmarkWarping
[  9%] Building CXX object VolviewPlugIns/CMakeFiles/vvITKMedian.dir/vvITKMedian.o
Linking CXX shared module bin/libvvITKImageRegistration.so
[  9%] Built target vvITKImageRegistration
[  9%] Building CXX object VolviewPlugIns/CMakeFiles/vvITKRescaleIntensityTo8Bits.dir/vvITKRescaleIntensityTo8Bits.o
Linking CXX shared module bin/libvvITKMaskNegated.so
[  9%] Built target vvITKMaskNegated
[  9%] Building CXX object VolviewPlugIns/CMakeFiles/vvITKScalarImageKMeansClassifier.dir/vvITKScalarImageKMeansClassifier.o
Linking CXX shared module bin/libvvITKIsotropicFourthOrderLevelSet.so
[  9%] Built target vvITKIsotropicFourthOrderLevelSet
[  9%] Building CXX object VolviewPlugIns/CMakeFiles/vvITKShapeDetectionModule.dir/vvITKShapeDetectionModule.o
Linking CXX shared module bin/libvvITKRescaleIntensityTo8Bits.so
[  9%] Built target vvITKRescaleIntensityTo8Bits
[  9%] Building CXX object VolviewPlugIns/CMakeFiles/vvITKSigmoid.dir/vvITKSigmoid.o
Linking CXX shared module bin/libvvITKMedian.so
[  9%] Built target vvITKMedian
[  9%] Building CXX object VolviewPlugIns/CMakeFiles/vvITKSurfaceSpline.dir/vvITKSurfaceSpline.o
Linking CXX shared module bin/libvvITKSurfaceSpline.so
[  9%] Built target vvITKSurfaceSpline
[ 10%] Building CXX object VolviewPlugIns/CMakeFiles/vvITKThresholdSegmentationLevelSet.dir/vvITKThresholdSegmentationLevelSet.o
Linking CXX shared module bin/libvvITKSigmoid.so
[ 10%] Built target vvITKSigmoid
[ 10%] Building CXX object VolviewPlugIns/CMakeFiles/vvITKVectorConfidenceConnected.dir/vvITKVectorConfidenceConnected.o
Linking CXX shared module bin/libvvITKShapeDetectionModule.so
Linking CXX shared module bin/libvvITKVectorConfidenceConnected.so
[ 10%] Built target vvITKShapeDetectionModule
[ 10%] Building CXX object VolviewPlugIns/CMakeFiles/vvITKWatershedModule.dir/vvITKWatershedModule.o
[ 10%] Built target vvITKVectorConfidenceConnected
[ 10%] Building CXX object VolviewPlugIns/CMakeFiles/vvITKWatershedRGBModule.dir/vvITKWatershedRGBModule.o
Linking CXX shared module bin/libvvITKThresholdSegmentationLevelSet.so
Linking CXX shared module bin/libvvITKScalarImageKMeansClassifier.so
[ 10%] Built target vvITKThresholdSegmentationLevelSet
[ 10%] Building CXX object FloodFilledSpatialFunction/CMakeFiles/itkFloodFilledSpatialFunctionExample.dir/itkFloodFilledSpatialFunctionExample.o
[ 10%] Built target vvITKScalarImageKMeansClassifier
[ 10%] Building CXX object MIValidation/CMakeFiles/MIValidationApp.dir/Code/MIValidationApp.o
Linking CXX executable itkFloodFilledSpatialFunctionExample
[ 10%] Built target itkFloodFilledSpatialFunctionExample
[ 10%] Building CXX object MIValidation/CMakeFiles/MIValidationApp.dir/Code/VanderbiltModality.o
[ 11%] Building CXX object IntensityBased2D3DRegistration/CMakeFiles/GenerateProjection.dir/GenerateProjection.o
Linking CXX shared module bin/libvvITKWatershedRGBModule.so
[ 11%] Built target vvITKWatershedRGBModule
[ 11%] Building CXX object IntensityBased2D3DRegistration/CMakeFiles/IntensityBased2D3DRegistration.dir/IntensityBased2D3DRegistration.o
Linking CXX shared module bin/libvvITKWatershedModule.so
Linking CXX executable GenerateProjection
[ 11%] Built target vvITKWatershedModule
[ 11%] Building CXX object ConvertBetweenFileFormats/CMakeFiles/ConvertBetweenFileFormats.dir/castconvert.o
[ 11%] Built target GenerateProjection
[ 11%] Building CXX object ConvertBetweenFileFormats/CMakeFiles/ConvertBetweenFileFormats.dir/castconvertDicomScalar.o
[ 11%] Building CXX object ConvertBetweenFileFormats/CMakeFiles/ConvertBetweenFileFormats.dir/castconvertScalar.o
Linking CXX executable MIValidationApp
[ 11%] Built target MIValidationApp
[ 11%] Building CXX object ConvertBetweenFileFormats/CMakeFiles/ConvertBetweenFileFormats.dir/castconvertScalar2D.o
[ 11%] Building CXX object ConvertBetweenFileFormats/CMakeFiles/ConvertBetweenFileFormats.dir/castconvertScalar3D.o
Linking CXX executable IntensityBased2D3DRegistration
[ 11%] Built target IntensityBased2D3DRegistration
[ 11%] Building CXX object ConvertBetweenFileFormats/CMakeFiles/ConvertBetweenFileFormats.dir/castconvertScalar4D.o
[ 12%] Building CXX object ConvertBetweenFileFormats/CMakeFiles/ConvertBetweenFileFormats.dir/castconvertScalar4DA.o
[ 12%] Building CXX object ConvertBetweenFileFormats/CMakeFiles/ConvertBetweenFileFormats.dir/castconvertScalar2DA.o
[ 12%] Building CXX object ConvertBetweenFileFormats/CMakeFiles/ConvertBetweenFileFormats.dir/castconvertScalar3DA.o
[ 12%] Building CXX object ConvertBetweenFileFormats/CMakeFiles/ConvertBetweenFileFormats.dir/castconvertDicomScalarA.o
[ 12%] Building CXX object ConvertBetweenFileFormats/CMakeFiles/ImageCompareTests.dir/ImageCompareTests.o
[ 12%] Building CXX object MultiResMIRegistration/CMakeFiles/MultiResMIRegistration.dir/Common/MultiResMIRegistration.o
Linking CXX executable ImageCompareTests
[ 12%] Built target ImageCompareTests
[ 12%] Building CXX object Auxiliary/FltkImageViewer/CMakeFiles/ITKFltkImageViewer.dir/fltkBox3D.o
[ 12%] Building CXX object Auxiliary/FltkImageViewer/CMakeFiles/ITKFltkImageViewer.dir/fltkCone3D.o
[ 12%] Building CXX object Auxiliary/FltkImageViewer/CMakeFiles/ITKFltkImageViewer.dir/fltkClippingPlane3DDrawer.o
[ 13%] Building CXX object Auxiliary/FltkImageViewer/CMakeFiles/ITKFltkImageViewer.dir/fltkCylinder3D.o
[ 13%] Building CXX object Auxiliary/FltkImageViewer/CMakeFiles/ITKFltkImageViewer.dir/fltkFrustum3D.o
[ 13%] Building CXX object Auxiliary/FltkImageViewer/CMakeFiles/ITKFltkImageViewer.dir/fltkGlWindow.o
[ 13%] Building CXX object Auxiliary/FltkImageViewer/CMakeFiles/ITKFltkImageViewer.dir/fltkGlWindowInteractive.o
[ 13%] Building CXX object Auxiliary/FltkImageViewer/CMakeFiles/ITKFltkImageViewer.dir/fltkGlWindowInteractiveFlat.o
[ 13%] Building CXX object Auxiliary/FltkImageViewer/CMakeFiles/ITKFltkImageViewer.dir/fltkImage2DViewerWindow.o
Linking CXX executable MultiResMIRegistration
[ 13%] Building CXX object Auxiliary/FltkImageViewer/CMakeFiles/ITKFltkImageViewer.dir/fltkRGBImage2DViewerWindow.o
[ 13%] Built target MultiResMIRegistration
[ 13%] Building CXX object Auxiliary/FltkImageViewer/CMakeFiles/ITKFltkImageViewer.dir/fltkLightButton.o
[ 14%] Building CXX object Auxiliary/FltkImageViewer/CMakeFiles/ITKFltkImageViewer.dir/fltkProgressBar.o
[ 14%] Building CXX object Auxiliary/FltkImageViewer/CMakeFiles/ITKFltkImageViewer.dir/fltkShape3D.o
[ 14%] Building CXX object Auxiliary/FltkImageViewer/CMakeFiles/ITKFltkImageViewer.dir/fltkSphere3D.o
[ 14%] Building CXX object Auxiliary/FltkImageViewer/CMakeFiles/ITKFltkImageViewer.dir/fltkWindowInteractive.o
[ 14%] Building CXX object Auxiliary/FltkImageViewer/CMakeFiles/ITKFltkImageViewer.dir/fltkTimeProbeGUI.o
[ 14%] Building CXX object Auxiliary/FltkImageViewer/CMakeFiles/ITKFltkImageViewer.dir/fltkTimeProbesCollector.o
[ 14%] Building CXX object Auxiliary/FltkImageViewer/CMakeFiles/ITKFltkImageViewer.dir/fltkUtils.o
[ 14%] Building CXX object Auxiliary/FltkImageViewer/CMakeFiles/ITKFltkImageViewer.dir/fltkClippingPlane3DDrawerGUI.o
[ 15%] Building CXX object Auxiliary/FltkImageViewer/CMakeFiles/ITKFltkImageViewer.dir/fltkDisplayGlWindowGUI.o
[ 15%] Building CXX object Auxiliary/FltkImageViewer/CMakeFiles/ITKFltkImageViewer.dir/fltkDisplayGlWindowFlatGUI.o
[ 15%] [ 15%] Building CXX object Auxiliary/FltkImageViewer/CMakeFiles/ITKFltkImageViewer.dir/fltkImageViewerGUI.o
Building CXX object Auxiliary/FltkImageViewer/CMakeFiles/ITKFltkImageViewer.dir/fltkFrustumFunctionControlGUI.o
[ 15%] Building CXX object Auxiliary/FltkImageViewer/CMakeFiles/ITKFltkImageViewer.dir/fltkImage2DViewerGUI.o
[ 15%] Building CXX object Auxiliary/FltkImageViewer/CMakeFiles/ITKFltkImageViewer.dir/fltkRGBImage2DViewerGUI.o
[ 15%] Building CXX object Auxiliary/FltkImageViewer/CMakeFiles/ITKFltkImageViewer.dir/fltkRegularStepGradientDescentGUI.o
[ 15%] Building CXX object Auxiliary/FltkImageViewer/CMakeFiles/ITKFltkImageViewer.dir/fltkSlice2DDrawerGUI.o
[ 16%] Building CXX object Auxiliary/FltkImageViewer/CMakeFiles/ITKFltkImageViewer.dir/fltkSlice3DDrawerGUI.o
[ 16%] Building CXX object Auxiliary/FltkImageViewer/CMakeFiles/ITKFltkImageViewer.dir/fltkSphereFunctionControlGUI.o
[ 16%] Building CXX object Auxiliary/FltkImageViewer/CMakeFiles/ITKFltkImageViewer.dir/fltkTimeProbesCollectorGUI.o
[ 16%] Building CXX object Auxiliary/ITKFlFileWriter/CMakeFiles/ITKFlFileWriter.dir/Fl_File_ChooserModified.o
[ 16%] Building CXX object Auxiliary/ITKFlFileWriter/CMakeFiles/ITKFlFileWriter.dir/Fl_File_ChooserModified2.o
/MMprogs/InsightApplications-3.16.0_src/Auxiliary/ITKFlFileWriter/Fl_File_ChooserModified2.cxx: In member function 'void Fl_File_ChooserModified::fileNameCB()':
/MMprogs/InsightApplications-3.16.0_src/Auxiliary/ITKFlFileWriter/Fl_File_ChooserModified2.cxx:524: warning: format not a string literal and no format arguments
/MMprogs/InsightApplications-3.16.0_src/Auxiliary/ITKFlFileWriter/Fl_File_ChooserModified2.cxx: In member function 'void Fl_File_ChooserModified::newdir()':
/MMprogs/InsightApplications-3.16.0_src/Auxiliary/ITKFlFileWriter/Fl_File_ChooserModified2.cxx:716: warning: format not a string literal and no format arguments
/MMprogs/InsightApplications-3.16.0_src/Auxiliary/ITKFlFileWriter/Fl_File_ChooserModified2.cxx: In member function 'void Fl_File_ChooserModified::showChoiceCB()':
/MMprogs/InsightApplications-3.16.0_src/Auxiliary/ITKFlFileWriter/Fl_File_ChooserModified2.cxx:832: warning: format not a string literal and no format arguments
Linking CXX static library ../../VolviewPlugIns/bin/libITKFltkImageViewer.a
[ 16%] Building C object Auxiliary/ITKFlFileWriter/CMakeFiles/ITKFlFileWriter.dir/flstring.o
[ 19%] Built target ITKFltkImageViewer
[ 20%] Building C object Auxiliary/ITKFlFileWriter/CMakeFiles/ITKFlFileWriter.dir/vsnprintf.o
[ 20%] Linking CXX static library ../../VolviewPlugIns/bin/libITKFlFileWriter.a
Building CXX object Auxiliary/VtkFltk/CMakeFiles/ITKVtkFltk.dir/vtkFlRenderWindowInteractor.o
[ 20%] Built target ITKFlFileWriter
[ 20%] Building CXX object ThresholdSegmentationLevelSetFltkGui/CMakeFiles/ThresholdSegmentationLevelSetFltkGui.dir/SegmenterConsole.o
[ 20%] Building CXX object Auxiliary/VtkFltk/CMakeFiles/ITKVtkFltk.dir/fltkVTKImageViewerBase.o
[ 20%] Building CXX object ThresholdSegmentationLevelSetFltkGui/CMakeFiles/ThresholdSegmentationLevelSetFltkGui.dir/SegmenterConsoleBase.o
[ 20%] Building CXX object Auxiliary/VtkFltk/CMakeFiles/ITKVtkFltk.dir/fltkVTKImageViewerGUI.o
Linking CXX static library ../../VolviewPlugIns/bin/libITKVtkFltk.a
[ 20%] Built target ITKVtkFltk
[ 20%] Generating CannySegmentationLevelSetGUI.h
[ 20%] Generating CannySegmentationLevelSetGUI.cxx
Scanning dependencies of target CannySegmentationLevelSet
[ 20%] Building CXX object CannyLevelSet/CMakeFiles/CannySegmentationLevelSet.dir/CannySegmentationLevelSetBase.o
Linking CXX executable ConvertBetweenFileFormats
[ 20%] Building CXX object ThresholdSegmentationLevelSetFltkGui/CMakeFiles/ThresholdSegmentationLevelSetFltkGui.dir/Segmenter.o
[ 20%] Building CXX object ThresholdSegmentationLevelSetFltkGui/CMakeFiles/ThresholdSegmentationLevelSetFltkGui.dir/SegmenterConsoleGUI.o
[ 20%] Building CXX object ThresholdSegmentationLevelSetFltkGui/CMakeFiles/ThresholdSegmentationLevelSetFltkGui.dir/ImageViewerGUI.o
[ 21%] Building CXX object CannyLevelSet/CMakeFiles/CannySegmentationLevelSet.dir/CannySegmentationLevelSet.o
Linking CXX executable ThresholdSegmentationLevelSetFltkGui
CMakeFiles/ThresholdSegmentationLevelSetFltkGui.dir/SegmenterConsole.o: In function `~SegmenterConsole':
/MMprogs/InsightApplications-3.16.0_src/ThresholdSegmentationLevelSetFltkGui/SegmenterConsole.cxx:129: undefined reference to `SegmenterConsoleGUI::~SegmenterConsoleGUI()'
/MMprogs/InsightApplications-3.16.0_src/ThresholdSegmentationLevelSetFltkGui/SegmenterConsole.cxx:129: undefined reference to `SegmenterConsoleGUI::~SegmenterConsoleGUI()'
/MMprogs/InsightApplications-3.16.0_src/ThresholdSegmentationLevelSetFltkGui/SegmenterConsole.cxx:129: undefined reference to `SegmenterConsoleGUI::~SegmenterConsoleGUI()'
/MMprogs/InsightApplications-3.16.0_src/ThresholdSegmentationLevelSetFltkGui/SegmenterConsole.cxx:129: undefined reference to `SegmenterConsoleGUI::~SegmenterConsoleGUI()'
/MMprogs/InsightApplications-3.16.0_src/ThresholdSegmentationLevelSetFltkGui/SegmenterConsole.cxx:129: undefined reference to `SegmenterConsoleGUI::~SegmenterConsoleGUI()'
CMakeFiles/ThresholdSegmentationLevelSetFltkGui.dir/SegmenterConsole.o:/MMprogs/InsightApplications-3.16.0_src/ThresholdSegmentationLevelSetFltkGui/SegmenterConsole.cxx:129: more undefined references to `SegmenterConsoleGUI::~SegmenterConsoleGUI()' follow
CMakeFiles/ThresholdSegmentationLevelSetFltkGui.dir/SegmenterConsole.o: In function `ImageViewer':
/MMprogs/InsightApplications-3.16.0_src/ThresholdSegmentationLevelSetFltkGui/ImageViewer.txx:27: undefined reference to `ImageViewerGUI::ImageViewerGUI()'
/MMprogs/InsightApplications-3.16.0_src/ThresholdSegmentationLevelSetFltkGui/ImageViewer.txx:30: undefined reference to `ImageViewerGUI::~ImageViewerGUI()'
CMakeFiles/ThresholdSegmentationLevelSetFltkGui.dir/SegmenterConsole.o: In function `~ImageViewer':
/MMprogs/InsightApplications-3.16.0_src/ThresholdSegmentationLevelSetFltkGui/ImageViewer.txx:38: undefined reference to `ImageViewerGUI::~ImageViewerGUI()'
/MMprogs/InsightApplications-3.16.0_src/ThresholdSegmentationLevelSetFltkGui/ImageViewer.txx:38: undefined reference to `ImageViewerGUI::~ImageViewerGUI()'
CMakeFiles/ThresholdSegmentationLevelSetFltkGui.dir/SegmenterConsole.o:(.rodata._ZTV16SegmenterConsole[vtable for SegmenterConsole]+0x1c): undefined reference to `SegmenterConsoleGUI::ShowGradientImage()'
CMakeFiles/ThresholdSegmentationLevelSetFltkGui.dir/SegmenterConsole.o:(.rodata._ZTI16SegmenterConsole[typeinfo for SegmenterConsole]+0x8): undefined reference to `typeinfo for SegmenterConsoleGUI'
CMakeFiles/ThresholdSegmentationLevelSetFltkGui.dir/SegmenterConsole.o:(.rodata._ZTV11ImageViewerIfhE[vtable for ImageViewer<float, unsigned char>]+0x14): undefined reference to `ImageViewerGUI::AddMenuBarOptions()'
CMakeFiles/ThresholdSegmentationLevelSetFltkGui.dir/SegmenterConsole.o:(.rodata._ZTV11ImageViewerIfhE[vtable for ImageViewer<float, unsigned char>]+0x18): undefined reference to `ImageViewerGUI::AddFilterMenuOptions()'
CMakeFiles/ThresholdSegmentationLevelSetFltkGui.dir/SegmenterConsole.o:(.rodata._ZTV11ImageViewerIfhE[vtable for ImageViewer<float, unsigned char>]+0x1c): undefined reference to `ImageViewerGUI::AddFileMenuOptions()'
CMakeFiles/ThresholdSegmentationLevelSetFltkGui.dir/SegmenterConsole.o:(.rodata._ZTI11ImageViewerIfhE[typeinfo for ImageViewer<float, unsigned char>]+0x8): undefined reference to `typeinfo for ImageViewerGUI'
CMakeFiles/ThresholdSegmentationLevelSetFltkGui.dir/SegmenterConsoleGUI.o: In function `SegmenterConsoleGUI':
/MMprogs/InsightApplications-3.16.0_src/ThresholdSegmentationLevelSetFltkGui/SegmenterConsoleGUI.cxx:250: undefined reference to `vtable for SegmenterConsoleGUI'
/MMprogs/InsightApplications-3.16.0_src/ThresholdSegmentationLevelSetFltkGui/SegmenterConsoleGUI.cxx:250: undefined reference to `vtable for SegmenterConsoleGUI'
/MMprogs/FLTK_bin/lib/libfltk.a(screen_xywh.o): In function `screen_init()':
screen_xywh.cxx:(.text+0x1e): undefined reference to `XineramaIsActive'
screen_xywh.cxx:(.text+0x37): undefined reference to `XineramaQueryScreens'
collect2: ld returned 1 exit status
make[2]: *** [ThresholdSegmentationLevelSetFltkGui/ThresholdSegmentationLevelSetFltkGui] Error 1
make[1]: *** [ThresholdSegmentationLevelSetFltkGui/CMakeFiles/ThresholdSegmentationLevelSetFltkGui.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 21%] Building CXX object CannyLevelSet/CMakeFiles/CannySegmentationLevelSet.dir/CannySegmentationLevelSetGUI.o
Linking CXX executable CannySegmentationLevelSet
[ 21%] Built target ConvertBetweenFileFormats
CMakeFiles/CannySegmentationLevelSet.dir/CannySegmentationLevelSet.o: In function `~CannySegmentationLevelSet':
/MMprogs/InsightApplications-3.16.0_src/CannyLevelSet/CannySegmentationLevelSet.cxx:115: undefined reference to `CannySegmentationLevelSetGUI::~CannySegmentationLevelSetGUI()'
/MMprogs/InsightApplications-3.16.0_src/CannyLevelSet/CannySegmentationLevelSet.cxx:115: undefined reference to `CannySegmentationLevelSetGUI::~CannySegmentationLevelSetGUI()'
/MMprogs/InsightApplications-3.16.0_src/CannyLevelSet/CannySegmentationLevelSet.cxx:115: undefined reference to `CannySegmentationLevelSetGUI::~CannySegmentationLevelSetGUI()'
/MMprogs/InsightApplications-3.16.0_src/CannyLevelSet/CannySegmentationLevelSet.cxx:115: undefined reference to `CannySegmentationLevelSetGUI::~CannySegmentationLevelSetGUI()'
/MMprogs/InsightApplications-3.16.0_src/CannyLevelSet/CannySegmentationLevelSet.cxx:115: undefined reference to `CannySegmentationLevelSetGUI::~CannySegmentationLevelSetGUI()'
CMakeFiles/CannySegmentationLevelSet.dir/CannySegmentationLevelSet.o:/MMprogs/InsightApplications-3.16.0_src/CannyLevelSet/CannySegmentationLevelSet.cxx:115: more undefined references to `CannySegmentationLevelSetGUI::~CannySegmentationLevelSetGUI()' follow
CMakeFiles/CannySegmentationLevelSet.dir/CannySegmentationLevelSet.o: In function `~ImageViewer':
/MMprogs/InsightApplications-3.16.0_src/Auxiliary/FltkImageViewer/fltkImageViewer.txx:36: undefined reference to `fltkImageViewerGUI::~fltkImageViewerGUI()'
/MMprogs/InsightApplications-3.16.0_src/Auxiliary/FltkImageViewer/fltkImageViewer.txx:36: undefined reference to `fltkImageViewerGUI::~fltkImageViewerGUI()'
CMakeFiles/CannySegmentationLevelSet.dir/CannySegmentationLevelSet.o: In function `ImageViewer':
/MMprogs/InsightApplications-3.16.0_src/Auxiliary/FltkImageViewer/fltkImageViewer.txx:25: undefined reference to `fltkImageViewerGUI::fltkImageViewerGUI()'
/MMprogs/InsightApplications-3.16.0_src/Auxiliary/FltkImageViewer/fltkImageViewer.txx:28: undefined reference to `fltkImageViewerGUI::~fltkImageViewerGUI()'
CMakeFiles/CannySegmentationLevelSet.dir/CannySegmentationLevelSet.o:(.rodata._ZTV25CannySegmentationLevelSet[vtable for CannySegmentationLevelSet]+0x50): undefined reference to `CannySegmentationLevelSetGUI::Load()'
CMakeFiles/CannySegmentationLevelSet.dir/CannySegmentationLevelSet.o:(.rodata._ZTV25CannySegmentationLevelSet[vtable for CannySegmentationLevelSet]+0x54): undefined reference to `CannySegmentationLevelSetGUI::ShowAbout()'
CMakeFiles/CannySegmentationLevelSet.dir/CannySegmentationLevelSet.o:(.rodata._ZTV25CannySegmentationLevelSet[vtable for CannySegmentationLevelSet]+0x64): undefined reference to `CannySegmentationLevelSetGUI::UpdateExtract()'
CMakeFiles/CannySegmentationLevelSet.dir/CannySegmentationLevelSet.o:(.rodata._ZTI25CannySegmentationLevelSet[typeinfo for CannySegmentationLevelSet]+0x8): undefined reference to `typeinfo for CannySegmentationLevelSetGUI'
CMakeFiles/CannySegmentationLevelSet.dir/CannySegmentationLevelSet.o:(.rodata._ZTVN4fltk11ImageViewerIfhEE[vtable for fltk::ImageViewer<float, unsigned char>]+0x14): undefined reference to `fltkImageViewerGUI::AddMenuBarOptions()'
CMakeFiles/CannySegmentationLevelSet.dir/CannySegmentationLevelSet.o:(.rodata._ZTVN4fltk11ImageViewerIfhEE[vtable for fltk::ImageViewer<float, unsigned char>]+0x18): undefined reference to `fltkImageViewerGUI::AddFilterMenuOptions()'
CMakeFiles/CannySegmentationLevelSet.dir/CannySegmentationLevelSet.o:(.rodata._ZTVN4fltk11ImageViewerIfhEE[vtable for fltk::ImageViewer<float, unsigned char>]+0x1c): undefined reference to `fltkImageViewerGUI::AddFileMenuOptions()'
CMakeFiles/CannySegmentationLevelSet.dir/CannySegmentationLevelSet.o:(.rodata._ZTIN4fltk11ImageViewerIfhEE[typeinfo for fltk::ImageViewer<float, unsigned char>]+0x8): undefined reference to `typeinfo for fltkImageViewerGUI'
CMakeFiles/CannySegmentationLevelSet.dir/CannySegmentationLevelSetGUI.o: In function `CannySegmentationLevelSetGUI':
/MMprogs/InsightApplications-3.16.0_src/CannyLevelSet/CannySegmentationLevelSetGUI.cxx:201: undefined reference to `vtable for CannySegmentationLevelSetGUI'
/MMprogs/InsightApplications-3.16.0_src/CannyLevelSet/CannySegmentationLevelSetGUI.cxx:201: undefined reference to `vtable for CannySegmentationLevelSetGUI'
/MMprogs/FLTK_bin/lib/libfltk.a(screen_xywh.o): In function `screen_init()':
screen_xywh.cxx:(.text+0x1e): undefined reference to `XineramaIsActive'
screen_xywh.cxx:(.text+0x37): undefined reference to `XineramaQueryScreens'
collect2: ld returned 1 exit status
make[2]: *** [CannyLevelSet/CannySegmentationLevelSet] Error 1
make[1]: *** [CannyLevelSet/CMakeFiles/CannySegmentationLevelSet.dir/all] Error 2
make: *** [all] Error 2


Michael Mentink
Oxford Orthopaedic Engineering Centre
telephone 01865227451

________________________________________
From: Luis Ibanez [luis.ibanez@...]
Sent: 04 November 2009 14:39
To: Michael Mentink
Cc: itk
Subject: Re: [Insight-users] InsightApplications won't compile

Hi Michael,

Thanks for letting us know of your progress.

1) Yes, "fluie" was a typo in my email,
     I meant to write: "fluid".
     sorry about that.

2)  The permission settings in your installation
      tree certainly looks out of order, and it is
      likely to be the cause of the problem.

3) You say that the project still doesn't build.
     Can you please post to the list the *exact*
     error message that you are getting now ?


    Thanks


             Luis


-------------------------------------------------------------
On Mon, Nov 2, 2009 at 9:09 AM, Michael Mentink
<michael.mentink@...> wrote:

>
> Did the chmod -R 777 to get access rights to every file in the dir and although
> I didn't get the cmake file write error, it didn't solve the problem that
> itkapplications doesn't build.
>
> greets, Michael
>
> In message <f7abd23c0911010638l2bf0a42evf5e0dc89c9c005e3@...> Luis
> Ibanez <luis.ibanez@...> writes:
>> Hi Michael,
>>
>> Thanks for posting the errors.
>>
>> From the messages it seems that your configuration is not finding
>> the FLTK "fluid" tool, or that "fluid" is failing to run.
>>
>> Fluid is used to read ".fl" files that contain a description of the GUI
>> geometry, and from them it generates .h and .cxx files that are then
>> integrated into the project of an application.
>>
>>
>> Please do the following:
>>
>> A) type "fluid" in a terminal and see if the application opens
>>
>> B) Go to the binary directory where you are building
>>      InsightApplications and type:
>>
>>              grep -i   fluie   CMakeCache.txt
>>
>>      in my installation I get:
>>
>>          FLTK_FLUID_EXECUTABLE:FILEPATH=/usr/bin/fluid
>>
>>
>> Please let us know what you find.
>>
>>
>>       Thanks
>>
>>
>>              Luis
>>
>>
>>
> ------------------------------------------------------------------------------------------
>> On Tue, Oct 27, 2009 at 10:17 AM, Michael Mentink
>> <michael.mentink@...> wrote:
>> >
>> > I can't get InsightApllications 3.16 to build/link
>> >
>> > I have succesfully built/compiled ITK, VTK, DCMTK, FLTK, all in g++4.3.3 in
>> > Ubuntu 9.04, using the following files:
>> > - vtk-5.4.2.tar.gz
>> > - fltk-1.3.x-r6916.tar.bz2
>> > - dcmtk-3.5.4.tar.gz
>> > - InsightToolkit-3.16.0.tar.gz
>> > - InsightApplications-3.16.0.tar.gz
>> > - Cmake 2.6 patch 2
>> >
>> > below is the cmake output (copied from ubuntu terminal)
>> >
>> > What to do? Thanks, Michael
>> >
>> > [ 36%] Building CXX object
>> >
> CellularSegmentation/CMakeFiles/CellularSegmentation.dir/CellularSegmentationApplicationBase.o
>> >
> /MMprogs/InsightApplications-3.16.0_src/DeformableRegistration3DTimeSeries/DicomImageReaderGUI.cxx:83:
>> > error: 'DeformableRegistration3DTimeSeriesGUI' has not been declared
>> > make[2]: ***
>> >
> [DeformableRegistration3DTimeSeries/CMakeFiles/DeformableRegistration3DTimeSeries.dir/DicomImageReaderGUI.o]
>> > Error 1
>> > make[1]: ***
>> >
> [DeformableRegistration3DTimeSeries/CMakeFiles/DeformableRegistration3DTimeSeries.dir/all]
>> > Error 2
>> > make[1]: *** Waiting for unfinished jobs....
>> > [ 36%] Building CXX object
>> >
> CellularSegmentation/CMakeFiles/CellularSegmentation.dir/CellularSegmentationApplication.o
>> > CMakeFiles/DeformableModelSimplexMesh.dir/DeformableModelApplication.o: In
>> > function `DeformableModelApplication::~DeformableModelApplication()':
>> > DeformableModelApplication.cxx:(.text+0x2525): undefined reference to
>> > `DeformableModelApplicationGUI::~DeformableModelApplicationGUI()'
>> > DeformableModelApplication.cxx:(.text+0x254d): undefined reference to
>> > `DeformableModelApplicationGUI::~DeformableModelApplicationGUI()'
>> > CMakeFiles/DeformableModelSimplexMesh.dir/DeformableModelApplication.o: In
>> > function `DeformableModelApplication::~DeformableModelApplication()':
>> > DeformableModelApplication.cxx:(.text+0x2893): undefined reference to
>> > `DeformableModelApplicationGUI::~DeformableModelApplicationGUI()'
>> > DeformableModelApplication.cxx:(.text+0x28bb): undefined reference to
>> > `DeformableModelApplicationGUI::~DeformableModelApplicationGUI()'
>> > CMakeFiles/DeformableModelSimplexMesh.dir/DeformableModelApplication.o: In
>> > function `DeformableModelApplication::~DeformableModelApplication()':
>> > DeformableModelApplication.cxx:(.text+0x2c01): undefined reference to
>> > `DeformableModelApplicationGUI::~DeformableModelApplicationGUI()'
>> >
> CMakeFiles/DeformableModelSimplexMesh.dir/DeformableModelApplication.o:DeformableModelApplication.cxx:(.text+0x2c29):
>> > more undefined references to
>> > `DeformableModelApplicationGUI::~DeformableModelApplicationGUI()' follow
>> >
> CMakeFiles/DeformableModelSimplexMesh.dir/DeformableModelApplication.o:(.rodata._ZTV26DeformableModelApplication[vtable
>> > for DeformableModelApplication]+0x1c): undefined reference to
>> > `DeformableModelApplicationGUI::Help()'
>> >
> CMakeFiles/DeformableModelSimplexMesh.dir/DeformableModelApplication.o:(.rodata._ZTI26DeformableModelApplication[typeinfo
>> > for DeformableModelApplication]+0x8): undefined reference to `typeinfo for
>> > DeformableModelApplicationGUI'
>> > CMakeFiles/DeformableModelSimplexMesh.dir/DeformableModelApplicationGUI.o: In
>> > function `DeformableModelApplicationGUI::DeformableModelApplicationGUI()':
>> > DeformableModelApplicationGUI.cxx:(.text+0x63d): undefined reference to `vtable
>> > for DeformableModelApplicationGUI'
>> > CMakeFiles/DeformableModelSimplexMesh.dir/DeformableModelApplicationGUI.o: In
>> > function `DeformableModelApplicationGUI::DeformableModelApplicationGUI()':
>> > DeformableModelApplicationGUI.cxx:(.text+0x19ef): undefined reference to `vtable
>> > for DeformableModelApplicationGUI'
>> > /MMprogs/FLTK_bin/lib/libfltk.a(screen_xywh.o): In function `screen_init()':
>> > screen_xywh.cxx:(.text+0x1e): undefined reference to `XineramaIsActive'
>> > screen_xywh.cxx:(.text+0x37): undefined reference to `XineramaQueryScreens'
>> > collect2: ld returned 1 exit status
>> > make[2]: *** [DeformableModelSimplexMesh/DeformableModelSimplexMesh] Error 1
>> > make[1]: ***
>> > [DeformableModelSimplexMesh/CMakeFiles/DeformableModelSimplexMesh.dir/all]
> Error 2
>> > [ 36%] Building CXX object
>> >
> CellularSegmentation/CMakeFiles/CellularSegmentation.dir/CellularAggregateViewer.o
>> > [ 36%] Building CXX object
>> >
> ImageRegistration2D/CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsoleBase.o
>> > [ 36%] Building CXX object
>> > CellularSegmentation/CMakeFiles/CellularSegmentation.dir/ImageSliceViewer.o
>> > [ 36%] Building CXX object
>> > CellularSegmentation/CMakeFiles/CellularSegmentation.dir/InteractorObserver.o
>> > [ 37%] Building CXX object
>> > ImageRegistration2D/CMakeFiles/ImageRegistration2D.dir/ImageRegistration2D.o
>> > [ 37%] Building CXX object
>> > CellularSegmentation/CMakeFiles/CellularSegmentation.dir/main.o
>> > [ 38%] Building CXX object
>> >
> CellularSegmentation/CMakeFiles/CellularSegmentation.dir/CellularSegmentationApplicationGUI.o
>> > [ 38%] Building CXX object
>> >
> ImageRegistration2D/CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsoleGUI.o
>> > Linking CXX executable CellularSegmentation
>> > CMakeFiles/CellularSegmentation.dir/CellularSegmentationApplication.o: In
>> > function `CellularSegmentationApplication::~CellularSegmentationApplication()':
>> > CellularSegmentationApplication.cxx:(.text+0x8dc): undefined reference to
>> > `CellularSegmentationApplicationGUI::~CellularSegmentationApplicationGUI()'
>> > CellularSegmentationApplication.cxx:(.text+0x904): undefined reference to
>> > `CellularSegmentationApplicationGUI::~CellularSegmentationApplicationGUI()'
>> > CMakeFiles/CellularSegmentation.dir/CellularSegmentationApplication.o: In
>> > function `CellularSegmentationApplication::~CellularSegmentationApplication()':
>> > CellularSegmentationApplication.cxx:(.text+0xa1c): undefined reference to
>> > `CellularSegmentationApplicationGUI::~CellularSegmentationApplicationGUI()'
>> > CellularSegmentationApplication.cxx:(.text+0xa44): undefined reference to
>> > `CellularSegmentationApplicationGUI::~CellularSegmentationApplicationGUI()'
>> > CMakeFiles/CellularSegmentation.dir/CellularSegmentationApplication.o: In
>> > function `CellularSegmentationApplication::~CellularSegmentationApplication()':
>> > CellularSegmentationApplication.cxx:(.text+0xb5c): undefined reference to
>> > `CellularSegmentationApplicationGUI::~CellularSegmentationApplicationGUI()'
>> >
> CMakeFiles/CellularSegmentation.dir/CellularSegmentationApplication.o:CellularSegmentationApplication.cxx:(.text+0xb84):
>> > more undefined references to
>> > `CellularSegmentationApplicationGUI::~CellularSegmentationApplicationGUI()'
> follow
>> >
> CMakeFiles/CellularSegmentation.dir/CellularSegmentationApplication.o:(.rodata._ZTI31CellularSegmentationApplication[typeinfo
>> > for CellularSegmentationApplication]+0x8): undefined reference to `typeinfo for
>> > CellularSegmentationApplicationGUI'
>> > CMakeFiles/CellularSegmentation.dir/CellularSegmentationApplicationGUI.o: In
>> > function
> `CellularSegmentationApplicationGUI::CellularSegmentationApplicationGUI()':
>> > CellularSegmentationApplicationGUI.cxx:(.text+0x270): undefined reference to
>> > `vtable for CellularSegmentationApplicationGUI'
>> > CMakeFiles/CellularSegmentation.dir/CellularSegmentationApplicationGUI.o: In
>> > function
> `CellularSegmentationApplicationGUI::CellularSegmentationApplicationGUI()':
>> > CellularSegmentationApplicationGUI.cxx:(.text+0x980): undefined reference to
>> > `vtable for CellularSegmentationApplicationGUI'
>> > /MMprogs/FLTK_bin/lib/libfltk.a(screen_xywh.o): In function `screen_init()':
>> > screen_xywh.cxx:(.text+0x1e): undefined reference to `XineramaIsActive'
>> > screen_xywh.cxx:(.text+0x37): undefined reference to `XineramaQueryScreens'
>> > collect2: ld returned 1 exit status
>> > make[2]: *** [CellularSegmentation/CellularSegmentation] Error 1
>> > make[1]: *** [CellularSegmentation/CMakeFiles/CellularSegmentation.dir/all]
> Error 2
>> > Linking CXX executable ImageRegistration2D
>> > CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o: In function
>> > `ImageRegistrationConsole::~ImageRegistrationConsole()':
>> > ImageRegistrationConsole.cxx:(.text+0x16fa): undefined reference to
>> > `ImageRegistrationConsoleGUI::~ImageRegistrationConsoleGUI()'
>> > ImageRegistrationConsole.cxx:(.text+0x1722): undefined reference to
>> > `ImageRegistrationConsoleGUI::~ImageRegistrationConsoleGUI()'
>> > CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o: In function
>> > `ImageRegistrationConsole::~ImageRegistrationConsole()':
>> > ImageRegistrationConsole.cxx:(.text+0x1988): undefined reference to
>> > `ImageRegistrationConsoleGUI::~ImageRegistrationConsoleGUI()'
>> > ImageRegistrationConsole.cxx:(.text+0x19b0): undefined reference to
>> > `ImageRegistrationConsoleGUI::~ImageRegistrationConsoleGUI()'
>> > CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o: In function
>> > `ImageRegistrationConsole::~ImageRegistrationConsole()':
>> > ImageRegistrationConsole.cxx:(.text+0x1c16): undefined reference to
>> > `ImageRegistrationConsoleGUI::~ImageRegistrationConsoleGUI()'
>> >
> CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o:ImageRegistrationConsole.cxx:(.text+0x1c3e):
>> > more undefined references to
>> > `ImageRegistrationConsoleGUI::~ImageRegistrationConsoleGUI()' follow
>> > CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o: In function
>> > `fltk::RegularStepGradientDescent::~RegularStepGradientDescent()':
>> >
> ImageRegistrationConsole.cxx:(.text._ZN4fltk26RegularStepGradientDescentD1Ev[fltk::RegularStepGradientDescent::~RegularStepGradientDescent()]+0x2c):
>> > undefined reference to
>> > `RegularStepGradientDescentGUI::~RegularStepGradientDescentGUI()'
>> >
> ImageRegistrationConsole.cxx:(.text._ZN4fltk26RegularStepGradientDescentD1Ev[fltk::RegularStepGradientDescent::~RegularStepGradientDescent()]+0x50):
>> > undefined reference to
>> > `RegularStepGradientDescentGUI::~RegularStepGradientDescentGUI()'
>> > CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o: In function
>> > `fltk::RegularStepGradientDescent::~RegularStepGradientDescent()':
>> >
> ImageRegistrationConsole.cxx:(.text._ZN4fltk26RegularStepGradientDescentD0Ev[fltk::RegularStepGradientDescent::~RegularStepGradientDescent()]+0x2c):
>> > undefined reference to
>> > `RegularStepGradientDescentGUI::~RegularStepGradientDescentGUI()'
>> >
> ImageRegistrationConsole.cxx:(.text._ZN4fltk26RegularStepGradientDescentD0Ev[fltk::RegularStepGradientDescent::~RegularStepGradientDescent()]+0x50):
>> > undefined reference to
>> > `RegularStepGradientDescentGUI::~RegularStepGradientDescentGUI()'
>> > CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o: In function
>> > `fltk::RegularStepGradientDescent::RegularStepGradientDescent()':
>> >
> ImageRegistrationConsole.cxx:(.text._ZN4fltk26RegularStepGradientDescentC1Ev[fltk::RegularStepGradientDescent::RegularStepGradientDescent()]+0xa6):
>> > undefined reference to
>> > `RegularStepGradientDescentGUI::~RegularStepGradientDescentGUI()'
>> > CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o: In function
>> > `fltk::Image2DViewer<float>::~Image2DViewer()':
>> >
> ImageRegistrationConsole.cxx:(.text._ZN4fltk13Image2DViewerIfED0Ev[fltk::Image2DViewer<float>::~Image2DViewer()]+0x7f):
>> > undefined reference to `fltkImage2DViewerGUI::~fltkImage2DViewerGUI()'
>> >
> ImageRegistrationConsole.cxx:(.text._ZN4fltk13Image2DViewerIfED0Ev[fltk::Image2DViewer<float>::~Image2DViewer()]+0xa1):
>> > undefined reference to `fltkImage2DViewerGUI::~fltkImage2DViewerGUI()'
>> > CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o: In function
>> > `fltk::Image2DViewer<float>::~Image2DViewer()':
>> >
> ImageRegistrationConsole.cxx:(.text._ZN4fltk13Image2DViewerIfED1Ev[fltk::Image2DViewer<float>::~Image2DViewer()]+0x7f):
>> > undefined reference to `fltkImage2DViewerGUI::~fltkImage2DViewerGUI()'
>> >
> ImageRegistrationConsole.cxx:(.text._ZN4fltk13Image2DViewerIfED1Ev[fltk::Image2DViewer<float>::~Image2DViewer()]+0xa1):
>> > undefined reference to `fltkImage2DViewerGUI::~fltkImage2DViewerGUI()'
>> > CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o: In function
>> > `fltk::Image2DViewer<unsigned short>::~Image2DViewer()':
>> >
> ImageRegistrationConsole.cxx:(.text._ZN4fltk13Image2DViewerItED0Ev[fltk::Image2DViewer<unsigned
>> > short>::~Image2DViewer()]+0x7f): undefined reference to
>> > `fltkImage2DViewerGUI::~fltkImage2DViewerGUI()'
>> >
> CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o:ImageRegistrationConsole.cxx:(.text._ZN4fltk13Image2DViewerItED0Ev[fltk::Image2DViewer<unsigned
>> > short>::~Image2DViewer()]+0xa1): more undefined references to
>> > `fltkImage2DViewerGUI::~fltkImage2DViewerGUI()' follow
>> > CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o: In function
>> > `fltk::RGBImage2DViewer<unsigned short>::RGBImage2DViewer()':
>> >
> ImageRegistrationConsole.cxx:(.text._ZN4fltk16RGBImage2DViewerItEC1Ev[fltk::RGBImage2DViewer<unsigned
>> > short>::RGBImage2DViewer()]+0x26e): undefined reference to
>> > `fltkRGBImage2DViewerGUI::~fltkRGBImage2DViewerGUI()'
>> > CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o: In function
>> > `fltk::RGBImage2DViewer<unsigned short>::~RGBImage2DViewer()':
>> >
> ImageRegistrationConsole.cxx:(.text._ZN4fltk16RGBImage2DViewerItED0Ev[fltk::RGBImage2DViewer<unsigned
>> > short>::~RGBImage2DViewer()]+0x1e9): undefined reference to
>> > `fltkRGBImage2DViewerGUI::~fltkRGBImage2DViewerGUI()'
>> >
> ImageRegistrationConsole.cxx:(.text._ZN4fltk16RGBImage2DViewerItED0Ev[fltk::RGBImage2DViewer<unsigned
>> > short>::~RGBImage2DViewer()]+0x20b): undefined reference to
>> > `fltkRGBImage2DViewerGUI::~fltkRGBImage2DViewerGUI()'
>> > CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o: In function
>> > `fltk::RGBImage2DViewer<unsigned short>::~RGBImage2DViewer()':
>> >
> ImageRegistrationConsole.cxx:(.text._ZN4fltk16RGBImage2DViewerItED1Ev[fltk::RGBImage2DViewer<unsigned
>> > short>::~RGBImage2DViewer()]+0x1e9): undefined reference to
>> > `fltkRGBImage2DViewerGUI::~fltkRGBImage2DViewerGUI()'
>> >
> ImageRegistrationConsole.cxx:(.text._ZN4fltk16RGBImage2DViewerItED1Ev[fltk::RGBImage2DViewer<unsigned
>> > short>::~RGBImage2DViewer()]+0x20b): undefined reference to
>> > `fltkRGBImage2DViewerGUI::~fltkRGBImage2DViewerGUI()'
>> >
> CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o:(.rodata._ZTV24ImageRegistrationConsole[vtable
>> > for ImageRegistrationConsole]+0x54): undefined reference to
>> > `ImageRegistrationConsoleGUI::Load()'
>> >
> CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o:(.rodata._ZTV24ImageRegistrationConsole[vtable
>> > for ImageRegistrationConsole]+0x58): undefined reference to
>> > `ImageRegistrationConsoleGUI::ShowAbout()'
>> >
> CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o:(.rodata._ZTI24ImageRegistrationConsole[typeinfo
>> > for ImageRegistrationConsole]+0x8): undefined reference to `typeinfo for
>> > ImageRegistrationConsoleGUI'
>> >
> CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o:(.rodata._ZTVN4fltk26RegularStepGradientDescentE[vtable
>> > for fltk::RegularStepGradientDescent]+0x1c): undefined reference to
>> > `RegularStepGradientDescentGUI::SetMaximumNumberOfIterations(double)'
>> >
> CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o:(.rodata._ZTIN4fltk26RegularStepGradientDescentE[typeinfo
>> > for fltk::RegularStepGradientDescent]+0x8): undefined reference to `typeinfo for
>> > RegularStepGradientDescentGUI'
>> >
> CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o:(.rodata._ZTIN4fltk13Image2DViewerIfEE[typeinfo
>> > for fltk::Image2DViewer<float>]+0x18): undefined reference to `typeinfo for
>> > fltkImage2DViewerGUI'
>> >
> CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o:(.rodata._ZTIN4fltk13Image2DViewerItEE[typeinfo
>> > for fltk::Image2DViewer<unsigned short>]+0x18): undefined reference to `typeinfo
>> > for fltkImage2DViewerGUI'
>> >
> CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o:(.rodata._ZTIN4fltk16RGBImage2DViewerItEE[typeinfo
>> > for fltk::RGBImage2DViewer<unsigned short>]+0x18): undefined reference to
>> > `typeinfo for fltkRGBImage2DViewerGUI'
>> >
> CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o:(.rodata._ZTVN4fltk16RGBImage2DViewerItEE[vtable
>> > for fltk::RGBImage2DViewer<unsigned short>]+0x80): undefined reference to
>> > `fltkRGBImage2DViewerGUI::SetMin(double)'
>> >
> CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o:(.rodata._ZTVN4fltk16RGBImage2DViewerItEE[vtable
>> > for fltk::RGBImage2DViewer<unsigned short>]+0x84): undefined reference to
>> > `fltkRGBImage2DViewerGUI::SetMax(double)'
>> > CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsoleGUI.o: In function
>> > `ImageRegistrationConsoleGUI::ImageRegistrationConsoleGUI()':
>> > ImageRegistrationConsoleGUI.cxx:(.text+0x7a5): undefined reference to `vtable
>> > for ImageRegistrationConsoleGUI'
>> > CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsoleGUI.o: In function
>> > `ImageRegistrationConsoleGUI::ImageRegistrationConsoleGUI()':
>> > ImageRegistrationConsoleGUI.cxx:(.text+0x4cd3): undefined reference to `vtable
>> > for ImageRegistrationConsoleGUI'
>> > ../VolviewPlugIns/bin/libITKFltkImageViewer.a(fltkImage2DViewerGUI.o): In
>> > function `fltkImage2DViewerGUI::fltkImage2DViewerGUI()':
>> > fltkImage2DViewerGUI.cxx:(.text+0x211): undefined reference to `vtable for
>> > fltkImage2DViewerGUI'
>> > ../VolviewPlugIns/bin/libITKFltkImageViewer.a(fltkImage2DViewerGUI.o): In
>> > function `fltkImage2DViewerGUI::fltkImage2DViewerGUI()':
>> > fltkImage2DViewerGUI.cxx:(.text+0x65d): undefined reference to `vtable for
>> > fltkImage2DViewerGUI'
>> > ../VolviewPlugIns/bin/libITKFltkImageViewer.a(fltkRGBImage2DViewerGUI.o): In
>> > function `fltkRGBImage2DViewerGUI::fltkRGBImage2DViewerGUI()':
>> > fltkRGBImage2DViewerGUI.cxx:(.text+0x1c1): undefined reference to `vtable for
>> > fltkRGBImage2DViewerGUI'
>> > ../VolviewPlugIns/bin/libITKFltkImageViewer.a(fltkRGBImage2DViewerGUI.o): In
>> > function `fltkRGBImage2DViewerGUI::fltkRGBImage2DViewerGUI()':
>> > fltkRGBImage2DViewerGUI.cxx:(.text+0x5c3): undefined reference to `vtable for
>> > fltkRGBImage2DViewerGUI'
>> >
> ../VolviewPlugIns/bin/libITKFltkImageViewer.a(fltkRegularStepGradientDescentGUI.o):
>> > In function `RegularStepGradientDescentGUI::RegularStepGradientDescentGUI()':
>> > fltkRegularStepGradientDescentGUI.cxx:(.text+0x33d): undefined reference to
>> > `vtable for RegularStepGradientDescentGUI'
>> >
> ../VolviewPlugIns/bin/libITKFltkImageViewer.a(fltkRegularStepGradientDescentGUI.o):
>> > In function `RegularStepGradientDescentGUI::RegularStepGradientDescentGUI()':
>> > fltkRegularStepGradientDescentGUI.cxx:(.text+0x8f1): undefined reference to
>> > `vtable for RegularStepGradientDescentGUI'
>> > /MMprogs/FLTK_bin/lib/libfltk.a(screen_xywh.o): In function `screen_init()':
>> > screen_xywh.cxx:(.text+0x1e): undefined reference to `XineramaIsActive'
>> > screen_xywh.cxx:(.text+0x37): undefined reference to `XineramaQueryScreens'
>> > collect2: ld returned 1 exit status
>> > make[2]: *** [ImageRegistration2D/ImageRegistration2D] Error 1
>> > make[1]: *** [ImageRegistration2D/CMakeFiles/ImageRegistration2D.dir/all]
> Error 2
>> > make: *** [all] Error 2
>> >
>> > _____________________________________
>> > Powered by www.kitware.com
>> >
>> > Visit other Kitware open-source projects at
>> > http://www.kitware.com/opensource/opensource.html
>> >
>> > Kitware offers ITK Training Courses, for more information visit:
>> > http://www.kitware.com/products/protraining.html
>> >
>> > Please keep messages on-topic and check the ITK FAQ at:
>> > http://www.itk.org/Wiki/ITK_FAQ
>> >
>> > Follow this link to subscribe/unsubscribe:
>> > http://www.itk.org/mailman/listinfo/insight-users
>> >
>> >
>
> --
> Michael Mentink
> Oxford Orthopaedic Engineering Centre
> telephone 01865227451
>
>
_____________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Kitware offers ITK Training Courses, for more information visit:
http://www.kitware.com/products/protraining.html

Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ

Follow this link to subscribe/unsubscribe:
http://www.itk.org/mailman/listinfo/insight-users

Re: InsightApplications won't compile

by Michael Mentink :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Did anybody get Insightapplications working with FLTK v1.3?
On the FLTK website, it is commented upon as having more features,
but being less stable, compared to fltk v1.1

greets,

Michael Mentink
Oxford Orthopaedic Engineering Centre
telephone 01865227451

________________________________________
From: Luis Ibanez [luis.ibanez@...]
Sent: 04 November 2009 14:39
To: Michael Mentink
Cc: itk
Subject: Re: [Insight-users] InsightApplications won't compile

Hi Michael,

Thanks for letting us know of your progress.

1) Yes, "fluie" was a typo in my email,
     I meant to write: "fluid".
     sorry about that.

2)  The permission settings in your installation
      tree certainly looks out of order, and it is
      likely to be the cause of the problem.

3) You say that the project still doesn't build.
     Can you please post to the list the *exact*
     error message that you are getting now ?


    Thanks


             Luis


-------------------------------------------------------------
On Mon, Nov 2, 2009 at 9:09 AM, Michael Mentink
<michael.mentink@...> wrote:

>
> Did the chmod -R 777 to get access rights to every file in the dir and although
> I didn't get the cmake file write error, it didn't solve the problem that
> itkapplications doesn't build.
>
> greets, Michael
>
> In message <f7abd23c0911010638l2bf0a42evf5e0dc89c9c005e3@...> Luis
> Ibanez <luis.ibanez@...> writes:
>> Hi Michael,
>>
>> Thanks for posting the errors.
>>
>> From the messages it seems that your configuration is not finding
>> the FLTK "fluid" tool, or that "fluid" is failing to run.
>>
>> Fluid is used to read ".fl" files that contain a description of the GUI
>> geometry, and from them it generates .h and .cxx files that are then
>> integrated into the project of an application.
>>
>>
>> Please do the following:
>>
>> A) type "fluid" in a terminal and see if the application opens
>>
>> B) Go to the binary directory where you are building
>>      InsightApplications and type:
>>
>>              grep -i   fluie   CMakeCache.txt
>>
>>      in my installation I get:
>>
>>          FLTK_FLUID_EXECUTABLE:FILEPATH=/usr/bin/fluid
>>
>>
>> Please let us know what you find.
>>
>>
>>       Thanks
>>
>>
>>              Luis
>>
>>
>>
> ------------------------------------------------------------------------------------------
>> On Tue, Oct 27, 2009 at 10:17 AM, Michael Mentink
>> <michael.mentink@...> wrote:
>> >
>> > I can't get InsightApllications 3.16 to build/link
>> >
>> > I have succesfully built/compiled ITK, VTK, DCMTK, FLTK, all in g++4.3.3 in
>> > Ubuntu 9.04, using the following files:
>> > - vtk-5.4.2.tar.gz
>> > - fltk-1.3.x-r6916.tar.bz2
>> > - dcmtk-3.5.4.tar.gz
>> > - InsightToolkit-3.16.0.tar.gz
>> > - InsightApplications-3.16.0.tar.gz
>> > - Cmake 2.6 patch 2
>> >
>> > below is the cmake output (copied from ubuntu terminal)
>> >
>> > What to do? Thanks, Michael
>> >
>> > [ 36%] Building CXX object
>> >
> CellularSegmentation/CMakeFiles/CellularSegmentation.dir/CellularSegmentationApplicationBase.o
>> >
> /MMprogs/InsightApplications-3.16.0_src/DeformableRegistration3DTimeSeries/DicomImageReaderGUI.cxx:83:
>> > error: ‘DeformableRegistration3DTimeSeriesGUI’ has not been declared
>> > make[2]: ***
>> >
> [DeformableRegistration3DTimeSeries/CMakeFiles/DeformableRegistration3DTimeSeries.dir/DicomImageReaderGUI.o]
>> > Error 1
>> > make[1]: ***
>> >
> [DeformableRegistration3DTimeSeries/CMakeFiles/DeformableRegistration3DTimeSeries.dir/all]
>> > Error 2
>> > make[1]: *** Waiting for unfinished jobs....
>> > [ 36%] Building CXX object
>> >
> CellularSegmentation/CMakeFiles/CellularSegmentation.dir/CellularSegmentationApplication.o
>> > CMakeFiles/DeformableModelSimplexMesh.dir/DeformableModelApplication.o: In
>> > function `DeformableModelApplication::~DeformableModelApplication()':
>> > DeformableModelApplication.cxx:(.text+0x2525): undefined reference to
>> > `DeformableModelApplicationGUI::~DeformableModelApplicationGUI()'
>> > DeformableModelApplication.cxx:(.text+0x254d): undefined reference to
>> > `DeformableModelApplicationGUI::~DeformableModelApplicationGUI()'
>> > CMakeFiles/DeformableModelSimplexMesh.dir/DeformableModelApplication.o: In
>> > function `DeformableModelApplication::~DeformableModelApplication()':
>> > DeformableModelApplication.cxx:(.text+0x2893): undefined reference to
>> > `DeformableModelApplicationGUI::~DeformableModelApplicationGUI()'
>> > DeformableModelApplication.cxx:(.text+0x28bb): undefined reference to
>> > `DeformableModelApplicationGUI::~DeformableModelApplicationGUI()'
>> > CMakeFiles/DeformableModelSimplexMesh.dir/DeformableModelApplication.o: In
>> > function `DeformableModelApplication::~DeformableModelApplication()':
>> > DeformableModelApplication.cxx:(.text+0x2c01): undefined reference to
>> > `DeformableModelApplicationGUI::~DeformableModelApplicationGUI()'
>> >
> CMakeFiles/DeformableModelSimplexMesh.dir/DeformableModelApplication.o:DeformableModelApplication.cxx:(.text+0x2c29):
>> > more undefined references to
>> > `DeformableModelApplicationGUI::~DeformableModelApplicationGUI()' follow
>> >
> CMakeFiles/DeformableModelSimplexMesh.dir/DeformableModelApplication.o:(.rodata._ZTV26DeformableModelApplication[vtable
>> > for DeformableModelApplication]+0x1c): undefined reference to
>> > `DeformableModelApplicationGUI::Help()'
>> >
> CMakeFiles/DeformableModelSimplexMesh.dir/DeformableModelApplication.o:(.rodata._ZTI26DeformableModelApplication[typeinfo
>> > for DeformableModelApplication]+0x8): undefined reference to `typeinfo for
>> > DeformableModelApplicationGUI'
>> > CMakeFiles/DeformableModelSimplexMesh.dir/DeformableModelApplicationGUI.o: In
>> > function `DeformableModelApplicationGUI::DeformableModelApplicationGUI()':
>> > DeformableModelApplicationGUI.cxx:(.text+0x63d): undefined reference to `vtable
>> > for DeformableModelApplicationGUI'
>> > CMakeFiles/DeformableModelSimplexMesh.dir/DeformableModelApplicationGUI.o: In
>> > function `DeformableModelApplicationGUI::DeformableModelApplicationGUI()':
>> > DeformableModelApplicationGUI.cxx:(.text+0x19ef): undefined reference to `vtable
>> > for DeformableModelApplicationGUI'
>> > /MMprogs/FLTK_bin/lib/libfltk.a(screen_xywh.o): In function `screen_init()':
>> > screen_xywh.cxx:(.text+0x1e): undefined reference to `XineramaIsActive'
>> > screen_xywh.cxx:(.text+0x37): undefined reference to `XineramaQueryScreens'
>> > collect2: ld returned 1 exit status
>> > make[2]: *** [DeformableModelSimplexMesh/DeformableModelSimplexMesh] Error 1
>> > make[1]: ***
>> > [DeformableModelSimplexMesh/CMakeFiles/DeformableModelSimplexMesh.dir/all]
> Error 2
>> > [ 36%] Building CXX object
>> >
> CellularSegmentation/CMakeFiles/CellularSegmentation.dir/CellularAggregateViewer.o
>> > [ 36%] Building CXX object
>> >
> ImageRegistration2D/CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsoleBase.o
>> > [ 36%] Building CXX object
>> > CellularSegmentation/CMakeFiles/CellularSegmentation.dir/ImageSliceViewer.o
>> > [ 36%] Building CXX object
>> > CellularSegmentation/CMakeFiles/CellularSegmentation.dir/InteractorObserver.o
>> > [ 37%] Building CXX object
>> > ImageRegistration2D/CMakeFiles/ImageRegistration2D.dir/ImageRegistration2D.o
>> > [ 37%] Building CXX object
>> > CellularSegmentation/CMakeFiles/CellularSegmentation.dir/main.o
>> > [ 38%] Building CXX object
>> >
> CellularSegmentation/CMakeFiles/CellularSegmentation.dir/CellularSegmentationApplicationGUI.o
>> > [ 38%] Building CXX object
>> >
> ImageRegistration2D/CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsoleGUI.o
>> > Linking CXX executable CellularSegmentation
>> > CMakeFiles/CellularSegmentation.dir/CellularSegmentationApplication.o: In
>> > function `CellularSegmentationApplication::~CellularSegmentationApplication()':
>> > CellularSegmentationApplication.cxx:(.text+0x8dc): undefined reference to
>> > `CellularSegmentationApplicationGUI::~CellularSegmentationApplicationGUI()'
>> > CellularSegmentationApplication.cxx:(.text+0x904): undefined reference to
>> > `CellularSegmentationApplicationGUI::~CellularSegmentationApplicationGUI()'
>> > CMakeFiles/CellularSegmentation.dir/CellularSegmentationApplication.o: In
>> > function `CellularSegmentationApplication::~CellularSegmentationApplication()':
>> > CellularSegmentationApplication.cxx:(.text+0xa1c): undefined reference to
>> > `CellularSegmentationApplicationGUI::~CellularSegmentationApplicationGUI()'
>> > CellularSegmentationApplication.cxx:(.text+0xa44): undefined reference to
>> > `CellularSegmentationApplicationGUI::~CellularSegmentationApplicationGUI()'
>> > CMakeFiles/CellularSegmentation.dir/CellularSegmentationApplication.o: In
>> > function `CellularSegmentationApplication::~CellularSegmentationApplication()':
>> > CellularSegmentationApplication.cxx:(.text+0xb5c): undefined reference to
>> > `CellularSegmentationApplicationGUI::~CellularSegmentationApplicationGUI()'
>> >
> CMakeFiles/CellularSegmentation.dir/CellularSegmentationApplication.o:CellularSegmentationApplication.cxx:(.text+0xb84):
>> > more undefined references to
>> > `CellularSegmentationApplicationGUI::~CellularSegmentationApplicationGUI()'
> follow
>> >
> CMakeFiles/CellularSegmentation.dir/CellularSegmentationApplication.o:(.rodata._ZTI31CellularSegmentationApplication[typeinfo
>> > for CellularSegmentationApplication]+0x8): undefined reference to `typeinfo for
>> > CellularSegmentationApplicationGUI'
>> > CMakeFiles/CellularSegmentation.dir/CellularSegmentationApplicationGUI.o: In
>> > function
> `CellularSegmentationApplicationGUI::CellularSegmentationApplicationGUI()':
>> > CellularSegmentationApplicationGUI.cxx:(.text+0x270): undefined reference to
>> > `vtable for CellularSegmentationApplicationGUI'
>> > CMakeFiles/CellularSegmentation.dir/CellularSegmentationApplicationGUI.o: In
>> > function
> `CellularSegmentationApplicationGUI::CellularSegmentationApplicationGUI()':
>> > CellularSegmentationApplicationGUI.cxx:(.text+0x980): undefined reference to
>> > `vtable for CellularSegmentationApplicationGUI'
>> > /MMprogs/FLTK_bin/lib/libfltk.a(screen_xywh.o): In function `screen_init()':
>> > screen_xywh.cxx:(.text+0x1e): undefined reference to `XineramaIsActive'
>> > screen_xywh.cxx:(.text+0x37): undefined reference to `XineramaQueryScreens'
>> > collect2: ld returned 1 exit status
>> > make[2]: *** [CellularSegmentation/CellularSegmentation] Error 1
>> > make[1]: *** [CellularSegmentation/CMakeFiles/CellularSegmentation.dir/all]
> Error 2
>> > Linking CXX executable ImageRegistration2D
>> > CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o: In function
>> > `ImageRegistrationConsole::~ImageRegistrationConsole()':
>> > ImageRegistrationConsole.cxx:(.text+0x16fa): undefined reference to
>> > `ImageRegistrationConsoleGUI::~ImageRegistrationConsoleGUI()'
>> > ImageRegistrationConsole.cxx:(.text+0x1722): undefined reference to
>> > `ImageRegistrationConsoleGUI::~ImageRegistrationConsoleGUI()'
>> > CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o: In function
>> > `ImageRegistrationConsole::~ImageRegistrationConsole()':
>> > ImageRegistrationConsole.cxx:(.text+0x1988): undefined reference to
>> > `ImageRegistrationConsoleGUI::~ImageRegistrationConsoleGUI()'
>> > ImageRegistrationConsole.cxx:(.text+0x19b0): undefined reference to
>> > `ImageRegistrationConsoleGUI::~ImageRegistrationConsoleGUI()'
>> > CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o: In function
>> > `ImageRegistrationConsole::~ImageRegistrationConsole()':
>> > ImageRegistrationConsole.cxx:(.text+0x1c16): undefined reference to
>> > `ImageRegistrationConsoleGUI::~ImageRegistrationConsoleGUI()'
>> >
> CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o:ImageRegistrationConsole.cxx:(.text+0x1c3e):
>> > more undefined references to
>> > `ImageRegistrationConsoleGUI::~ImageRegistrationConsoleGUI()' follow
>> > CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o: In function
>> > `fltk::RegularStepGradientDescent::~RegularStepGradientDescent()':
>> >
> ImageRegistrationConsole.cxx:(.text._ZN4fltk26RegularStepGradientDescentD1Ev[fltk::RegularStepGradientDescent::~RegularStepGradientDescent()]+0x2c):
>> > undefined reference to
>> > `RegularStepGradientDescentGUI::~RegularStepGradientDescentGUI()'
>> >
> ImageRegistrationConsole.cxx:(.text._ZN4fltk26RegularStepGradientDescentD1Ev[fltk::RegularStepGradientDescent::~RegularStepGradientDescent()]+0x50):
>> > undefined reference to
>> > `RegularStepGradientDescentGUI::~RegularStepGradientDescentGUI()'
>> > CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o: In function
>> > `fltk::RegularStepGradientDescent::~RegularStepGradientDescent()':
>> >
> ImageRegistrationConsole.cxx:(.text._ZN4fltk26RegularStepGradientDescentD0Ev[fltk::RegularStepGradientDescent::~RegularStepGradientDescent()]+0x2c):
>> > undefined reference to
>> > `RegularStepGradientDescentGUI::~RegularStepGradientDescentGUI()'
>> >
> ImageRegistrationConsole.cxx:(.text._ZN4fltk26RegularStepGradientDescentD0Ev[fltk::RegularStepGradientDescent::~RegularStepGradientDescent()]+0x50):
>> > undefined reference to
>> > `RegularStepGradientDescentGUI::~RegularStepGradientDescentGUI()'
>> > CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o: In function
>> > `fltk::RegularStepGradientDescent::RegularStepGradientDescent()':
>> >
> ImageRegistrationConsole.cxx:(.text._ZN4fltk26RegularStepGradientDescentC1Ev[fltk::RegularStepGradientDescent::RegularStepGradientDescent()]+0xa6):
>> > undefined reference to
>> > `RegularStepGradientDescentGUI::~RegularStepGradientDescentGUI()'
>> > CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o: In function
>> > `fltk::Image2DViewer<float>::~Image2DViewer()':
>> >
> ImageRegistrationConsole.cxx:(.text._ZN4fltk13Image2DViewerIfED0Ev[fltk::Image2DViewer<float>::~Image2DViewer()]+0x7f):
>> > undefined reference to `fltkImage2DViewerGUI::~fltkImage2DViewerGUI()'
>> >
> ImageRegistrationConsole.cxx:(.text._ZN4fltk13Image2DViewerIfED0Ev[fltk::Image2DViewer<float>::~Image2DViewer()]+0xa1):
>> > undefined reference to `fltkImage2DViewerGUI::~fltkImage2DViewerGUI()'
>> > CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o: In function
>> > `fltk::Image2DViewer<float>::~Image2DViewer()':
>> >
> ImageRegistrationConsole.cxx:(.text._ZN4fltk13Image2DViewerIfED1Ev[fltk::Image2DViewer<float>::~Image2DViewer()]+0x7f):
>> > undefined reference to `fltkImage2DViewerGUI::~fltkImage2DViewerGUI()'
>> >
> ImageRegistrationConsole.cxx:(.text._ZN4fltk13Image2DViewerIfED1Ev[fltk::Image2DViewer<float>::~Image2DViewer()]+0xa1):
>> > undefined reference to `fltkImage2DViewerGUI::~fltkImage2DViewerGUI()'
>> > CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o: In function
>> > `fltk::Image2DViewer<unsigned short>::~Image2DViewer()':
>> >
> ImageRegistrationConsole.cxx:(.text._ZN4fltk13Image2DViewerItED0Ev[fltk::Image2DViewer<unsigned
>> > short>::~Image2DViewer()]+0x7f): undefined reference to
>> > `fltkImage2DViewerGUI::~fltkImage2DViewerGUI()'
>> >
> CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o:ImageRegistrationConsole.cxx:(.text._ZN4fltk13Image2DViewerItED0Ev[fltk::Image2DViewer<unsigned
>> > short>::~Image2DViewer()]+0xa1): more undefined references to
>> > `fltkImage2DViewerGUI::~fltkImage2DViewerGUI()' follow
>> > CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o: In function
>> > `fltk::RGBImage2DViewer<unsigned short>::RGBImage2DViewer()':
>> >
> ImageRegistrationConsole.cxx:(.text._ZN4fltk16RGBImage2DViewerItEC1Ev[fltk::RGBImage2DViewer<unsigned
>> > short>::RGBImage2DViewer()]+0x26e): undefined reference to
>> > `fltkRGBImage2DViewerGUI::~fltkRGBImage2DViewerGUI()'
>> > CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o: In function
>> > `fltk::RGBImage2DViewer<unsigned short>::~RGBImage2DViewer()':
>> >
> ImageRegistrationConsole.cxx:(.text._ZN4fltk16RGBImage2DViewerItED0Ev[fltk::RGBImage2DViewer<unsigned
>> > short>::~RGBImage2DViewer()]+0x1e9): undefined reference to
>> > `fltkRGBImage2DViewerGUI::~fltkRGBImage2DViewerGUI()'
>> >
> ImageRegistrationConsole.cxx:(.text._ZN4fltk16RGBImage2DViewerItED0Ev[fltk::RGBImage2DViewer<unsigned
>> > short>::~RGBImage2DViewer()]+0x20b): undefined reference to
>> > `fltkRGBImage2DViewerGUI::~fltkRGBImage2DViewerGUI()'
>> > CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o: In function
>> > `fltk::RGBImage2DViewer<unsigned short>::~RGBImage2DViewer()':
>> >
> ImageRegistrationConsole.cxx:(.text._ZN4fltk16RGBImage2DViewerItED1Ev[fltk::RGBImage2DViewer<unsigned
>> > short>::~RGBImage2DViewer()]+0x1e9): undefined reference to
>> > `fltkRGBImage2DViewerGUI::~fltkRGBImage2DViewerGUI()'
>> >
> ImageRegistrationConsole.cxx:(.text._ZN4fltk16RGBImage2DViewerItED1Ev[fltk::RGBImage2DViewer<unsigned
>> > short>::~RGBImage2DViewer()]+0x20b): undefined reference to
>> > `fltkRGBImage2DViewerGUI::~fltkRGBImage2DViewerGUI()'
>> >
> CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o:(.rodata._ZTV24ImageRegistrationConsole[vtable
>> > for ImageRegistrationConsole]+0x54): undefined reference to
>> > `ImageRegistrationConsoleGUI::Load()'
>> >
> CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o:(.rodata._ZTV24ImageRegistrationConsole[vtable
>> > for ImageRegistrationConsole]+0x58): undefined reference to
>> > `ImageRegistrationConsoleGUI::ShowAbout()'
>> >
> CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o:(.rodata._ZTI24ImageRegistrationConsole[typeinfo
>> > for ImageRegistrationConsole]+0x8): undefined reference to `typeinfo for
>> > ImageRegistrationConsoleGUI'
>> >
> CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o:(.rodata._ZTVN4fltk26RegularStepGradientDescentE[vtable
>> > for fltk::RegularStepGradientDescent]+0x1c): undefined reference to
>> > `RegularStepGradientDescentGUI::SetMaximumNumberOfIterations(double)'
>> >
> CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o:(.rodata._ZTIN4fltk26RegularStepGradientDescentE[typeinfo
>> > for fltk::RegularStepGradientDescent]+0x8): undefined reference to `typeinfo for
>> > RegularStepGradientDescentGUI'
>> >
> CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o:(.rodata._ZTIN4fltk13Image2DViewerIfEE[typeinfo
>> > for fltk::Image2DViewer<float>]+0x18): undefined reference to `typeinfo for
>> > fltkImage2DViewerGUI'
>> >
> CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o:(.rodata._ZTIN4fltk13Image2DViewerItEE[typeinfo
>> > for fltk::Image2DViewer<unsigned short>]+0x18): undefined reference to `typeinfo
>> > for fltkImage2DViewerGUI'
>> >
> CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o:(.rodata._ZTIN4fltk16RGBImage2DViewerItEE[typeinfo
>> > for fltk::RGBImage2DViewer<unsigned short>]+0x18): undefined reference to
>> > `typeinfo for fltkRGBImage2DViewerGUI'
>> >
> CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o:(.rodata._ZTVN4fltk16RGBImage2DViewerItEE[vtable
>> > for fltk::RGBImage2DViewer<unsigned short>]+0x80): undefined reference to
>> > `fltkRGBImage2DViewerGUI::SetMin(double)'
>> >
> CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o:(.rodata._ZTVN4fltk16RGBImage2DViewerItEE[vtable
>> > for fltk::RGBImage2DViewer<unsigned short>]+0x84): undefined reference to
>> > `fltkRGBImage2DViewerGUI::SetMax(double)'
>> > CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsoleGUI.o: In function
>> > `ImageRegistrationConsoleGUI::ImageRegistrationConsoleGUI()':
>> > ImageRegistrationConsoleGUI.cxx:(.text+0x7a5): undefined reference to `vtable
>> > for ImageRegistrationConsoleGUI'
>> > CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsoleGUI.o: In function
>> > `ImageRegistrationConsoleGUI::ImageRegistrationConsoleGUI()':
>> > ImageRegistrationConsoleGUI.cxx:(.text+0x4cd3): undefined reference to `vtable
>> > for ImageRegistrationConsoleGUI'
>> > ../VolviewPlugIns/bin/libITKFltkImageViewer.a(fltkImage2DViewerGUI.o): In
>> > function `fltkImage2DViewerGUI::fltkImage2DViewerGUI()':
>> > fltkImage2DViewerGUI.cxx:(.text+0x211): undefined reference to `vtable for
>> > fltkImage2DViewerGUI'
>> > ../VolviewPlugIns/bin/libITKFltkImageViewer.a(fltkImage2DViewerGUI.o): In
>> > function `fltkImage2DViewerGUI::fltkImage2DViewerGUI()':
>> > fltkImage2DViewerGUI.cxx:(.text+0x65d): undefined reference to `vtable for
>> > fltkImage2DViewerGUI'
>> > ../VolviewPlugIns/bin/libITKFltkImageViewer.a(fltkRGBImage2DViewerGUI.o): In
>> > function `fltkRGBImage2DViewerGUI::fltkRGBImage2DViewerGUI()':
>> > fltkRGBImage2DViewerGUI.cxx:(.text+0x1c1): undefined reference to `vtable for
>> > fltkRGBImage2DViewerGUI'
>> > ../VolviewPlugIns/bin/libITKFltkImageViewer.a(fltkRGBImage2DViewerGUI.o): In
>> > function `fltkRGBImage2DViewerGUI::fltkRGBImage2DViewerGUI()':
>> > fltkRGBImage2DViewerGUI.cxx:(.text+0x5c3): undefined reference to `vtable for
>> > fltkRGBImage2DViewerGUI'
>> >
> ../VolviewPlugIns/bin/libITKFltkImageViewer.a(fltkRegularStepGradientDescentGUI.o):
>> > In function `RegularStepGradientDescentGUI::RegularStepGradientDescentGUI()':
>> > fltkRegularStepGradientDescentGUI.cxx:(.text+0x33d): undefined reference to
>> > `vtable for RegularStepGradientDescentGUI'
>> >
> ../VolviewPlugIns/bin/libITKFltkImageViewer.a(fltkRegularStepGradientDescentGUI.o):
>> > In function `RegularStepGradientDescentGUI::RegularStepGradientDescentGUI()':
>> > fltkRegularStepGradientDescentGUI.cxx:(.text+0x8f1): undefined reference to
>> > `vtable for RegularStepGradientDescentGUI'
>> > /MMprogs/FLTK_bin/lib/libfltk.a(screen_xywh.o): In function `screen_init()':
>> > screen_xywh.cxx:(.text+0x1e): undefined reference to `XineramaIsActive'
>> > screen_xywh.cxx:(.text+0x37): undefined reference to `XineramaQueryScreens'
>> > collect2: ld returned 1 exit status
>> > make[2]: *** [ImageRegistration2D/ImageRegistration2D] Error 1
>> > make[1]: *** [ImageRegistration2D/CMakeFiles/ImageRegistration2D.dir/all]
> Error 2
>> > make: *** [all] Error 2
>> >
>> > _____________________________________
>> > Powered by www.kitware.com
>> >
>> > Visit other Kitware open-source projects at
>> > http://www.kitware.com/opensource/opensource.html
>> >
>> > Kitware offers ITK Training Courses, for more information visit:
>> > http://www.kitware.com/products/protraining.html
>> >
>> > Please keep messages on-topic and check the ITK FAQ at:
>> > http://www.itk.org/Wiki/ITK_FAQ
>> >
>> > Follow this link to subscribe/unsubscribe:
>> > http://www.itk.org/mailman/listinfo/insight-users
>> >
>> >
>
> --
> Michael Mentink
> Oxford Orthopaedic Engineering Centre
> telephone 01865227451
>
>
_____________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Kitware offers ITK Training Courses, for more information visit:
http://www.kitware.com/products/protraining.html

Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ

Follow this link to subscribe/unsubscribe:
http://www.itk.org/mailman/listinfo/insight-users

Re: InsightApplications won't compile

by Michael Mentink :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Did anybody get Insightapplications working with FLTK v1.3?
On the FLTK website, it is commented upon as having more features,
but being less stable, compared to fltk v1.1

greets,

Michael Mentink
Oxford Orthopaedic Engineering Centre
telephone 01865227451


________________________________________
From: Luis Ibanez [luis.ibanez@...]
Sent: 04 November 2009 14:39
To: Michael Mentink
Cc: itk
Subject: Re: [Insight-users] InsightApplications won't compile

Hi Michael,

Thanks for letting us know of your progress.

1) Yes, "fluie" was a typo in my email,
     I meant to write: "fluid".
     sorry about that.

2)  The permission settings in your installation
      tree certainly looks out of order, and it is
      likely to be the cause of the problem.

3) You say that the project still doesn't build.
     Can you please post to the list the *exact*
     error message that you are getting now ?


    Thanks


             Luis


-------------------------------------------------------------
On Mon, Nov 2, 2009 at 9:09 AM, Michael Mentink
<michael.mentink@...> wrote:

>
> Did the chmod -R 777 to get access rights to every file in the dir and although
> I didn't get the cmake file write error, it didn't solve the problem that
> itkapplications doesn't build.
>
> greets, Michael
>
> In message <f7abd23c0911010638l2bf0a42evf5e0dc89c9c005e3@...> Luis
> Ibanez <luis.ibanez@...> writes:
>> Hi Michael,
>>
>> Thanks for posting the errors.
>>
>> From the messages it seems that your configuration is not finding
>> the FLTK "fluid" tool, or that "fluid" is failing to run.
>>
>> Fluid is used to read ".fl" files that contain a description of the GUI
>> geometry, and from them it generates .h and .cxx files that are then
>> integrated into the project of an application.
>>
>>
>> Please do the following:
>>
>> A) type "fluid" in a terminal and see if the application opens
>>
>> B) Go to the binary directory where you are building
>>      InsightApplications and type:
>>
>>              grep -i   fluie   CMakeCache.txt
>>
>>      in my installation I get:
>>
>>          FLTK_FLUID_EXECUTABLE:FILEPATH=/usr/bin/fluid
>>
>>
>> Please let us know what you find.
>>
>>
>>       Thanks
>>
>>
>>              Luis
>>
>>
>>
> ------------------------------------------------------------------------------------------
>> On Tue, Oct 27, 2009 at 10:17 AM, Michael Mentink
>> <michael.mentink@...> wrote:
>> >
>> > I can't get InsightApllications 3.16 to build/link
>> >
>> > I have succesfully built/compiled ITK, VTK, DCMTK, FLTK, all in g++4.3.3 in
>> > Ubuntu 9.04, using the following files:
>> > - vtk-5.4.2.tar.gz
>> > - fltk-1.3.x-r6916.tar.bz2
>> > - dcmtk-3.5.4.tar.gz
>> > - InsightToolkit-3.16.0.tar.gz
>> > - InsightApplications-3.16.0.tar.gz
>> > - Cmake 2.6 patch 2
>> >
>> > below is the cmake output (copied from ubuntu terminal)
>> >
>> > What to do? Thanks, Michael
>> >
>> > [ 36%] Building CXX object
>> >
> CellularSegmentation/CMakeFiles/CellularSegmentation.dir/CellularSegmentationApplicationBase.o
>> >
> /MMprogs/InsightApplications-3.16.0_src/DeformableRegistration3DTimeSeries/DicomImageReaderGUI.cxx:83:
>> > error: ‘DeformableRegistration3DTimeSeriesGUI’ has not been declared
>> > make[2]: ***
>> >
> [DeformableRegistration3DTimeSeries/CMakeFiles/DeformableRegistration3DTimeSeries.dir/DicomImageReaderGUI.o]
>> > Error 1
>> > make[1]: ***
>> >
> [DeformableRegistration3DTimeSeries/CMakeFiles/DeformableRegistration3DTimeSeries.dir/all]
>> > Error 2
>> > make[1]: *** Waiting for unfinished jobs....
>> > [ 36%] Building CXX object
>> >
> CellularSegmentation/CMakeFiles/CellularSegmentation.dir/CellularSegmentationApplication.o
>> > CMakeFiles/DeformableModelSimplexMesh.dir/DeformableModelApplication.o: In
>> > function `DeformableModelApplication::~DeformableModelApplication()':
>> > DeformableModelApplication.cxx:(.text+0x2525): undefined reference to
>> > `DeformableModelApplicationGUI::~DeformableModelApplicationGUI()'
>> > DeformableModelApplication.cxx:(.text+0x254d): undefined reference to
>> > `DeformableModelApplicationGUI::~DeformableModelApplicationGUI()'
>> > CMakeFiles/DeformableModelSimplexMesh.dir/DeformableModelApplication.o: In
>> > function `DeformableModelApplication::~DeformableModelApplication()':
>> > DeformableModelApplication.cxx:(.text+0x2893): undefined reference to
>> > `DeformableModelApplicationGUI::~DeformableModelApplicationGUI()'
>> > DeformableModelApplication.cxx:(.text+0x28bb): undefined reference to
>> > `DeformableModelApplicationGUI::~DeformableModelApplicationGUI()'
>> > CMakeFiles/DeformableModelSimplexMesh.dir/DeformableModelApplication.o: In
>> > function `DeformableModelApplication::~DeformableModelApplication()':
>> > DeformableModelApplication.cxx:(.text+0x2c01): undefined reference to
>> > `DeformableModelApplicationGUI::~DeformableModelApplicationGUI()'
>> >
> CMakeFiles/DeformableModelSimplexMesh.dir/DeformableModelApplication.o:DeformableModelApplication.cxx:(.text+0x2c29):
>> > more undefined references to
>> > `DeformableModelApplicationGUI::~DeformableModelApplicationGUI()' follow
>> >
> CMakeFiles/DeformableModelSimplexMesh.dir/DeformableModelApplication.o:(.rodata._ZTV26DeformableModelApplication[vtable
>> > for DeformableModelApplication]+0x1c): undefined reference to
>> > `DeformableModelApplicationGUI::Help()'
>> >
> CMakeFiles/DeformableModelSimplexMesh.dir/DeformableModelApplication.o:(.rodata._ZTI26DeformableModelApplication[typeinfo
>> > for DeformableModelApplication]+0x8): undefined reference to `typeinfo for
>> > DeformableModelApplicationGUI'
>> > CMakeFiles/DeformableModelSimplexMesh.dir/DeformableModelApplicationGUI.o: In
>> > function `DeformableModelApplicationGUI::DeformableModelApplicationGUI()':
>> > DeformableModelApplicationGUI.cxx:(.text+0x63d): undefined reference to `vtable
>> > for DeformableModelApplicationGUI'
>> > CMakeFiles/DeformableModelSimplexMesh.dir/DeformableModelApplicationGUI.o: In
>> > function `DeformableModelApplicationGUI::DeformableModelApplicationGUI()':
>> > DeformableModelApplicationGUI.cxx:(.text+0x19ef): undefined reference to `vtable
>> > for DeformableModelApplicationGUI'
>> > /MMprogs/FLTK_bin/lib/libfltk.a(screen_xywh.o): In function `screen_init()':
>> > screen_xywh.cxx:(.text+0x1e): undefined reference to `XineramaIsActive'
>> > screen_xywh.cxx:(.text+0x37): undefined reference to `XineramaQueryScreens'
>> > collect2: ld returned 1 exit status
>> > make[2]: *** [DeformableModelSimplexMesh/DeformableModelSimplexMesh] Error 1
>> > make[1]: ***
>> > [DeformableModelSimplexMesh/CMakeFiles/DeformableModelSimplexMesh.dir/all]
> Error 2
>> > [ 36%] Building CXX object
>> >
> CellularSegmentation/CMakeFiles/CellularSegmentation.dir/CellularAggregateViewer.o
>> > [ 36%] Building CXX object
>> >
> ImageRegistration2D/CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsoleBase.o
>> > [ 36%] Building CXX object
>> > CellularSegmentation/CMakeFiles/CellularSegmentation.dir/ImageSliceViewer.o
>> > [ 36%] Building CXX object
>> > CellularSegmentation/CMakeFiles/CellularSegmentation.dir/InteractorObserver.o
>> > [ 37%] Building CXX object
>> > ImageRegistration2D/CMakeFiles/ImageRegistration2D.dir/ImageRegistration2D.o
>> > [ 37%] Building CXX object
>> > CellularSegmentation/CMakeFiles/CellularSegmentation.dir/main.o
>> > [ 38%] Building CXX object
>> >
> CellularSegmentation/CMakeFiles/CellularSegmentation.dir/CellularSegmentationApplicationGUI.o
>> > [ 38%] Building CXX object
>> >
> ImageRegistration2D/CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsoleGUI.o
>> > Linking CXX executable CellularSegmentation
>> > CMakeFiles/CellularSegmentation.dir/CellularSegmentationApplication.o: In
>> > function `CellularSegmentationApplication::~CellularSegmentationApplication()':
>> > CellularSegmentationApplication.cxx:(.text+0x8dc): undefined reference to
>> > `CellularSegmentationApplicationGUI::~CellularSegmentationApplicationGUI()'
>> > CellularSegmentationApplication.cxx:(.text+0x904): undefined reference to
>> > `CellularSegmentationApplicationGUI::~CellularSegmentationApplicationGUI()'
>> > CMakeFiles/CellularSegmentation.dir/CellularSegmentationApplication.o: In
>> > function `CellularSegmentationApplication::~CellularSegmentationApplication()':
>> > CellularSegmentationApplication.cxx:(.text+0xa1c): undefined reference to
>> > `CellularSegmentationApplicationGUI::~CellularSegmentationApplicationGUI()'
>> > CellularSegmentationApplication.cxx:(.text+0xa44): undefined reference to
>> > `CellularSegmentationApplicationGUI::~CellularSegmentationApplicationGUI()'
>> > CMakeFiles/CellularSegmentation.dir/CellularSegmentationApplication.o: In
>> > function `CellularSegmentationApplication::~CellularSegmentationApplication()':
>> > CellularSegmentationApplication.cxx:(.text+0xb5c): undefined reference to
>> > `CellularSegmentationApplicationGUI::~CellularSegmentationApplicationGUI()'
>> >
> CMakeFiles/CellularSegmentation.dir/CellularSegmentationApplication.o:CellularSegmentationApplication.cxx:(.text+0xb84):
>> > more undefined references to
>> > `CellularSegmentationApplicationGUI::~CellularSegmentationApplicationGUI()'
> follow
>> >
> CMakeFiles/CellularSegmentation.dir/CellularSegmentationApplication.o:(.rodata._ZTI31CellularSegmentationApplication[typeinfo
>> > for CellularSegmentationApplication]+0x8): undefined reference to `typeinfo for
>> > CellularSegmentationApplicationGUI'
>> > CMakeFiles/CellularSegmentation.dir/CellularSegmentationApplicationGUI.o: In
>> > function
> `CellularSegmentationApplicationGUI::CellularSegmentationApplicationGUI()':
>> > CellularSegmentationApplicationGUI.cxx:(.text+0x270): undefined reference to
>> > `vtable for CellularSegmentationApplicationGUI'
>> > CMakeFiles/CellularSegmentation.dir/CellularSegmentationApplicationGUI.o: In
>> > function
> `CellularSegmentationApplicationGUI::CellularSegmentationApplicationGUI()':
>> > CellularSegmentationApplicationGUI.cxx:(.text+0x980): undefined reference to
>> > `vtable for CellularSegmentationApplicationGUI'
>> > /MMprogs/FLTK_bin/lib/libfltk.a(screen_xywh.o): In function `screen_init()':
>> > screen_xywh.cxx:(.text+0x1e): undefined reference to `XineramaIsActive'
>> > screen_xywh.cxx:(.text+0x37): undefined reference to `XineramaQueryScreens'
>> > collect2: ld returned 1 exit status
>> > make[2]: *** [CellularSegmentation/CellularSegmentation] Error 1
>> > make[1]: *** [CellularSegmentation/CMakeFiles/CellularSegmentation.dir/all]
> Error 2
>> > Linking CXX executable ImageRegistration2D
>> > CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o: In function
>> > `ImageRegistrationConsole::~ImageRegistrationConsole()':
>> > ImageRegistrationConsole.cxx:(.text+0x16fa): undefined reference to
>> > `ImageRegistrationConsoleGUI::~ImageRegistrationConsoleGUI()'
>> > ImageRegistrationConsole.cxx:(.text+0x1722): undefined reference to
>> > `ImageRegistrationConsoleGUI::~ImageRegistrationConsoleGUI()'
>> > CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o: In function
>> > `ImageRegistrationConsole::~ImageRegistrationConsole()':
>> > ImageRegistrationConsole.cxx:(.text+0x1988): undefined reference to
>> > `ImageRegistrationConsoleGUI::~ImageRegistrationConsoleGUI()'
>> > ImageRegistrationConsole.cxx:(.text+0x19b0): undefined reference to
>> > `ImageRegistrationConsoleGUI::~ImageRegistrationConsoleGUI()'
>> > CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o: In function
>> > `ImageRegistrationConsole::~ImageRegistrationConsole()':
>> > ImageRegistrationConsole.cxx:(.text+0x1c16): undefined reference to
>> > `ImageRegistrationConsoleGUI::~ImageRegistrationConsoleGUI()'
>> >
> CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o:ImageRegistrationConsole.cxx:(.text+0x1c3e):
>> > more undefined references to
>> > `ImageRegistrationConsoleGUI::~ImageRegistrationConsoleGUI()' follow
>> > CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o: In function
>> > `fltk::RegularStepGradientDescent::~RegularStepGradientDescent()':
>> >
> ImageRegistrationConsole.cxx:(.text._ZN4fltk26RegularStepGradientDescentD1Ev[fltk::RegularStepGradientDescent::~RegularStepGradientDescent()]+0x2c):
>> > undefined reference to
>> > `RegularStepGradientDescentGUI::~RegularStepGradientDescentGUI()'
>> >
> ImageRegistrationConsole.cxx:(.text._ZN4fltk26RegularStepGradientDescentD1Ev[fltk::RegularStepGradientDescent::~RegularStepGradientDescent()]+0x50):
>> > undefined reference to
>> > `RegularStepGradientDescentGUI::~RegularStepGradientDescentGUI()'
>> > CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o: In function
>> > `fltk::RegularStepGradientDescent::~RegularStepGradientDescent()':
>> >
> ImageRegistrationConsole.cxx:(.text._ZN4fltk26RegularStepGradientDescentD0Ev[fltk::RegularStepGradientDescent::~RegularStepGradientDescent()]+0x2c):
>> > undefined reference to
>> > `RegularStepGradientDescentGUI::~RegularStepGradientDescentGUI()'
>> >
> ImageRegistrationConsole.cxx:(.text._ZN4fltk26RegularStepGradientDescentD0Ev[fltk::RegularStepGradientDescent::~RegularStepGradientDescent()]+0x50):
>> > undefined reference to
>> > `RegularStepGradientDescentGUI::~RegularStepGradientDescentGUI()'
>> > CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o: In function
>> > `fltk::RegularStepGradientDescent::RegularStepGradientDescent()':
>> >
> ImageRegistrationConsole.cxx:(.text._ZN4fltk26RegularStepGradientDescentC1Ev[fltk::RegularStepGradientDescent::RegularStepGradientDescent()]+0xa6):
>> > undefined reference to
>> > `RegularStepGradientDescentGUI::~RegularStepGradientDescentGUI()'
>> > CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o: In function
>> > `fltk::Image2DViewer<float>::~Image2DViewer()':
>> >
> ImageRegistrationConsole.cxx:(.text._ZN4fltk13Image2DViewerIfED0Ev[fltk::Image2DViewer<float>::~Image2DViewer()]+0x7f):
>> > undefined reference to `fltkImage2DViewerGUI::~fltkImage2DViewerGUI()'
>> >
> ImageRegistrationConsole.cxx:(.text._ZN4fltk13Image2DViewerIfED0Ev[fltk::Image2DViewer<float>::~Image2DViewer()]+0xa1):
>> > undefined reference to `fltkImage2DViewerGUI::~fltkImage2DViewerGUI()'
>> > CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o: In function
>> > `fltk::Image2DViewer<float>::~Image2DViewer()':
>> >
> ImageRegistrationConsole.cxx:(.text._ZN4fltk13Image2DViewerIfED1Ev[fltk::Image2DViewer<float>::~Image2DViewer()]+0x7f):
>> > undefined reference to `fltkImage2DViewerGUI::~fltkImage2DViewerGUI()'
>> >
> ImageRegistrationConsole.cxx:(.text._ZN4fltk13Image2DViewerIfED1Ev[fltk::Image2DViewer<float>::~Image2DViewer()]+0xa1):
>> > undefined reference to `fltkImage2DViewerGUI::~fltkImage2DViewerGUI()'
>> > CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o: In function
>> > `fltk::Image2DViewer<unsigned short>::~Image2DViewer()':
>> >
> ImageRegistrationConsole.cxx:(.text._ZN4fltk13Image2DViewerItED0Ev[fltk::Image2DViewer<unsigned
>> > short>::~Image2DViewer()]+0x7f): undefined reference to
>> > `fltkImage2DViewerGUI::~fltkImage2DViewerGUI()'
>> >
> CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o:ImageRegistrationConsole.cxx:(.text._ZN4fltk13Image2DViewerItED0Ev[fltk::Image2DViewer<unsigned
>> > short>::~Image2DViewer()]+0xa1): more undefined references to
>> > `fltkImage2DViewerGUI::~fltkImage2DViewerGUI()' follow
>> > CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o: In function
>> > `fltk::RGBImage2DViewer<unsigned short>::RGBImage2DViewer()':
>> >
> ImageRegistrationConsole.cxx:(.text._ZN4fltk16RGBImage2DViewerItEC1Ev[fltk::RGBImage2DViewer<unsigned
>> > short>::RGBImage2DViewer()]+0x26e): undefined reference to
>> > `fltkRGBImage2DViewerGUI::~fltkRGBImage2DViewerGUI()'
>> > CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o: In function
>> > `fltk::RGBImage2DViewer<unsigned short>::~RGBImage2DViewer()':
>> >
> ImageRegistrationConsole.cxx:(.text._ZN4fltk16RGBImage2DViewerItED0Ev[fltk::RGBImage2DViewer<unsigned
>> > short>::~RGBImage2DViewer()]+0x1e9): undefined reference to
>> > `fltkRGBImage2DViewerGUI::~fltkRGBImage2DViewerGUI()'
>> >
> ImageRegistrationConsole.cxx:(.text._ZN4fltk16RGBImage2DViewerItED0Ev[fltk::RGBImage2DViewer<unsigned
>> > short>::~RGBImage2DViewer()]+0x20b): undefined reference to
>> > `fltkRGBImage2DViewerGUI::~fltkRGBImage2DViewerGUI()'
>> > CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o: In function
>> > `fltk::RGBImage2DViewer<unsigned short>::~RGBImage2DViewer()':
>> >
> ImageRegistrationConsole.cxx:(.text._ZN4fltk16RGBImage2DViewerItED1Ev[fltk::RGBImage2DViewer<unsigned
>> > short>::~RGBImage2DViewer()]+0x1e9): undefined reference to
>> > `fltkRGBImage2DViewerGUI::~fltkRGBImage2DViewerGUI()'
>> >
> ImageRegistrationConsole.cxx:(.text._ZN4fltk16RGBImage2DViewerItED1Ev[fltk::RGBImage2DViewer<unsigned
>> > short>::~RGBImage2DViewer()]+0x20b): undefined reference to
>> > `fltkRGBImage2DViewerGUI::~fltkRGBImage2DViewerGUI()'
>> >
> CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o:(.rodata._ZTV24ImageRegistrationConsole[vtable
>> > for ImageRegistrationConsole]+0x54): undefined reference to
>> > `ImageRegistrationConsoleGUI::Load()'
>> >
> CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o:(.rodata._ZTV24ImageRegistrationConsole[vtable
>> > for ImageRegistrationConsole]+0x58): undefined reference to
>> > `ImageRegistrationConsoleGUI::ShowAbout()'
>> >
> CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o:(.rodata._ZTI24ImageRegistrationConsole[typeinfo
>> > for ImageRegistrationConsole]+0x8): undefined reference to `typeinfo for
>> > ImageRegistrationConsoleGUI'
>> >
> CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o:(.rodata._ZTVN4fltk26RegularStepGradientDescentE[vtable
>> > for fltk::RegularStepGradientDescent]+0x1c): undefined reference to
>> > `RegularStepGradientDescentGUI::SetMaximumNumberOfIterations(double)'
>> >
> CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o:(.rodata._ZTIN4fltk26RegularStepGradientDescentE[typeinfo
>> > for fltk::RegularStepGradientDescent]+0x8): undefined reference to `typeinfo for
>> > RegularStepGradientDescentGUI'
>> >
> CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o:(.rodata._ZTIN4fltk13Image2DViewerIfEE[typeinfo
>> > for fltk::Image2DViewer<float>]+0x18): undefined reference to `typeinfo for
>> > fltkImage2DViewerGUI'
>> >
> CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o:(.rodata._ZTIN4fltk13Image2DViewerItEE[typeinfo
>> > for fltk::Image2DViewer<unsigned short>]+0x18): undefined reference to `typeinfo
>> > for fltkImage2DViewerGUI'
>> >
> CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o:(.rodata._ZTIN4fltk16RGBImage2DViewerItEE[typeinfo
>> > for fltk::RGBImage2DViewer<unsigned short>]+0x18): undefined reference to
>> > `typeinfo for fltkRGBImage2DViewerGUI'
>> >
> CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o:(.rodata._ZTVN4fltk16RGBImage2DViewerItEE[vtable
>> > for fltk::RGBImage2DViewer<unsigned short>]+0x80): undefined reference to
>> > `fltkRGBImage2DViewerGUI::SetMin(double)'
>> >
> CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsole.o:(.rodata._ZTVN4fltk16RGBImage2DViewerItEE[vtable
>> > for fltk::RGBImage2DViewer<unsigned short>]+0x84): undefined reference to
>> > `fltkRGBImage2DViewerGUI::SetMax(double)'
>> > CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsoleGUI.o: In function
>> > `ImageRegistrationConsoleGUI::ImageRegistrationConsoleGUI()':
>> > ImageRegistrationConsoleGUI.cxx:(.text+0x7a5): undefined reference to `vtable
>> > for ImageRegistrationConsoleGUI'
>> > CMakeFiles/ImageRegistration2D.dir/ImageRegistrationConsoleGUI.o: In function
>> > `ImageRegistrationConsoleGUI::ImageRegistrationConsoleGUI()':
>> > ImageRegistrationConsoleGUI.cxx:(.text+0x4cd3): undefined reference to `vtable
>> > for ImageRegistrationConsoleGUI'
>> > ../VolviewPlugIns/bin/libITKFltkImageViewer.a(fltkImage2DViewerGUI.o): In
>> > function `fltkImage2DViewerGUI::fltkImage2DViewerGUI()':
>> > fltkImage2DViewerGUI.cxx:(.text+0x211): undefined reference to `vtable for
>> > fltkImage2DViewerGUI'
>> > ../VolviewPlugIns/bin/libITKFltkImageViewer.a(fltkImage2DViewerGUI.o): In
>> > function `fltkImage2DViewerGUI::fltkImage2DViewerGUI()':
>> > fltkImage2DViewerGUI.cxx:(.text+0x65d): undefined reference to `vtable for
>> > fltkImage2DViewerGUI'
>> > ../VolviewPlugIns/bin/libITKFltkImageViewer.a(fltkRGBImage2DViewerGUI.o): In
>> > function `fltkRGBImage2DViewerGUI::fltkRGBImage2DViewerGUI()':
>> > fltkRGBImage2DViewerGUI.cxx:(.text+0x1c1): undefined reference to `vtable for
>> > fltkRGBImage2DViewerGUI'
>> > ../VolviewPlugIns/bin/libITKFltkImageViewer.a(fltkRGBImage2DViewerGUI.o): In
>> > function `fltkRGBImage2DViewerGUI::fltkRGBImage2DViewerGUI()':
>> > fltkRGBImage2DViewerGUI.cxx:(.text+0x5c3): undefined reference to `vtable for
>> > fltkRGBImage2DViewerGUI'
>> >
> ../VolviewPlugIns/bin/libITKFltkImageViewer.a(fltkRegularStepGradientDescentGUI.o):
>> > In function `RegularStepGradientDescentGUI::RegularStepGradientDescentGUI()':
>> > fltkRegularStepGradientDescentGUI.cxx:(.text+0x33d): undefined reference to
>> > `vtable for RegularStepGradientDescentGUI'
>> >
> ../VolviewPlugIns/bin/libITKFltkImageViewer.a(fltkRegularStepGradientDescentGUI.o):
>> > In function `RegularStepGradientDescentGUI::RegularStepGradientDescentGUI()':
>> > fltkRegularStepGradientDescentGUI.cxx:(.text+0x8f1): undefined reference to
>> > `vtable for RegularStepGradientDescentGUI'
>> > /MMprogs/FLTK_bin/lib/libfltk.a(screen_xywh.o): In function `screen_init()':
>> > screen_xywh.cxx:(.text+0x1e): undefined reference to `XineramaIsActive'
>> > screen_xywh.cxx:(.text+0x37): undefined reference to `XineramaQueryScreens'
>> > collect2: ld returned 1 exit status
>> > make[2]: *** [ImageRegistration2D/ImageRegistration2D] Error 1
>> > make[1]: *** [ImageRegistration2D/CMakeFiles/ImageRegistration2D.dir/all]
> Error 2
>> > make: *** [all] Error 2
>> >
>> > _____________________________________
>> > Powered by www.kitware.com
>> >
>> > Visit other Kitware open-source projects at
>> > http://www.kitware.com/opensource/opensource.html
>> >
>> > Kitware offers ITK Training Courses, for more information visit:
>> > http://www.kitware.com/products/protraining.html
>> >
>> > Please keep messages on-topic and check the ITK FAQ at:
>> > http://www.itk.org/Wiki/ITK_FAQ
>> >
>> > Follow this link to subscribe/unsubscribe:
>> > http://www.itk.org/mailman/listinfo/insight-users
>> >
>> >
>
> --
> Michael Mentink
> Oxford Orthopaedic Engineering Centre
> telephone 01865227451
>
>
_____________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Kitware offers ITK Training Courses, for more information visit:
http://www.kitware.com/products/protraining.html

Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ

Follow this link to subscribe/unsubscribe:
http://www.itk.org/mailman/listinfo/insight-users

Re: InsightApplications won't compile

by Luis Ibanez :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Michael,

Strange,...

Your most recent list of errors indicate that now you don't have
compilation errors but link errors:

Could you please try not using :

                                        make  -j4

but just

                                         make


and let us know if that makes any difference ?


     Thanks


          Luis



----------------------------------------------------------------------------------
On Wed, Nov 4, 2009 at 10:11 AM, Michael Mentink
<michael.mentink@...> wrote:

> Hi Luis,
>
> I suspect it has something to do with FLTK, like you suggested before, rather than any permissions.
> I have installed everything (ITK, VTK, FLTK) in an outsource directory /MMprogs,
> and I have set up the ccmake settings accordingly.
>
> Kind regards,
>
> Michael
>
> make -j4
> [  0%] [  0%] Building CXX object LevelSetSegmentation/CMakeFiles/itk2DCannySegmentationLevelSetImageFilter.dir/itk2DCannySegmentationLevelSetImageFilter.o
> [  0%] Building CXX object AnisotropicDiffusionImageFilter/CMakeFiles/itk2DAnisotropicDiffusionImageFilter.dir/itk2DAnisotropicDiffusionImageFilter.o
....

> make[1]: *** Waiting for unfinished jobs....
> [ 21%] Building CXX object CannyLevelSet/CMakeFiles/CannySegmentationLevelSet.dir/CannySegmentationLevelSetGUI.o
> Linking CXX executable CannySegmentationLevelSet
> [ 21%] Built target ConvertBetweenFileFormats
> CMakeFiles/CannySegmentationLevelSet.dir/CannySegmentationLevelSet.o: In function `~CannySegmentationLevelSet':
> /MMprogs/InsightApplications-3.16.0_src/CannyLevelSet/CannySegmentationLevelSet.cxx:115: undefined reference to `CannySegmentationLevelSetGUI::~CannySegmentationLevelSetGUI()'
> /MMprogs/InsightApplications-3.16.0_src/CannyLevelSet/CannySegmentationLevelSet.cxx:115: undefined reference to `CannySegmentationLevelSetGUI::~CannySegmentationLevelSetGUI()'
> /MMprogs/InsightApplications-3.16.0_src/CannyLevelSet/CannySegmentationLevelSet.cxx:115: undefined reference to `CannySegmentationLevelSetGUI::~CannySegmentationLevelSetGUI()'
> /MMprogs/InsightApplications-3.16.0_src/CannyLevelSet/CannySegmentationLevelSet.cxx:115: undefined reference to `CannySegmentationLevelSetGUI::~CannySegmentationLevelSetGUI()'
> /MMprogs/InsightApplications-3.16.0_src/CannyLevelSet/CannySegmentationLevelSet.cxx:115: undefined reference to `CannySegmentationLevelSetGUI::~CannySegmentationLevelSetGUI()'
> CMakeFiles/CannySegmentationLevelSet.dir/CannySegmentationLevelSet.o:/MMprogs/InsightApplications-3.16.0_src/CannyLevelSet/CannySegmentationLevelSet.cxx:115: more undefined references to `CannySegmentationLevelSetGUI::~CannySegmentationLevelSetGUI()' follow
> CMakeFiles/CannySegmentationLevelSet.dir/CannySegmentationLevelSet.o: In function `~ImageViewer':
> /MMprogs/InsightApplications-3.16.0_src/Auxiliary/FltkImageViewer/fltkImageViewer.txx:36: undefined reference to `fltkImageViewerGUI::~fltkImageViewerGUI()'
> /MMprogs/InsightApplications-3.16.0_src/Auxiliary/FltkImageViewer/fltkImageViewer.txx:36: undefined reference to `fltkImageViewerGUI::~fltkImageViewerGUI()'
> CMakeFiles/CannySegmentationLevelSet.dir/CannySegmentationLevelSet.o: In function `ImageViewer':
> /MMprogs/InsightApplications-3.16.0_src/Auxiliary/FltkImageViewer/fltkImageViewer.txx:25: undefined reference to `fltkImageViewerGUI::fltkImageViewerGUI()'
> /MMprogs/InsightApplications-3.16.0_src/Auxiliary/FltkImageViewer/fltkImageViewer.txx:28: undefined reference to `fltkImageViewerGUI::~fltkImageViewerGUI()'
> CMakeFiles/CannySegmentationLevelSet.dir/CannySegmentationLevelSet.o:(.rodata._ZTV25CannySegmentationLevelSet[vtable for CannySegmentationLevelSet]+0x50): undefined reference to `CannySegmentationLevelSetGUI::Load()'
> CMakeFiles/CannySegmentationLevelSet.dir/CannySegmentationLevelSet.o:(.rodata._ZTV25CannySegmentationLevelSet[vtable for CannySegmentationLevelSet]+0x54): undefined reference to `CannySegmentationLevelSetGUI::ShowAbout()'
> CMakeFiles/CannySegmentationLevelSet.dir/CannySegmentationLevelSet.o:(.rodata._ZTV25CannySegmentationLevelSet[vtable for CannySegmentationLevelSet]+0x64): undefined reference to `CannySegmentationLevelSetGUI::UpdateExtract()'
> CMakeFiles/CannySegmentationLevelSet.dir/CannySegmentationLevelSet.o:(.rodata._ZTI25CannySegmentationLevelSet[typeinfo for CannySegmentationLevelSet]+0x8): undefined reference to `typeinfo for CannySegmentationLevelSetGUI'
> CMakeFiles/CannySegmentationLevelSet.dir/CannySegmentationLevelSet.o:(.rodata._ZTVN4fltk11ImageViewerIfhEE[vtable for fltk::ImageViewer<float, unsigned char>]+0x14): undefined reference to `fltkImageViewerGUI::AddMenuBarOptions()'
> CMakeFiles/CannySegmentationLevelSet.dir/CannySegmentationLevelSet.o:(.rodata._ZTVN4fltk11ImageViewerIfhEE[vtable for fltk::ImageViewer<float, unsigned char>]+0x18): undefined reference to `fltkImageViewerGUI::AddFilterMenuOptions()'
> CMakeFiles/CannySegmentationLevelSet.dir/CannySegmentationLevelSet.o:(.rodata._ZTVN4fltk11ImageViewerIfhEE[vtable for fltk::ImageViewer<float, unsigned char>]+0x1c): undefined reference to `fltkImageViewerGUI::AddFileMenuOptions()'
> CMakeFiles/CannySegmentationLevelSet.dir/CannySegmentationLevelSet.o:(.rodata._ZTIN4fltk11ImageViewerIfhEE[typeinfo for fltk::ImageViewer<float, unsigned char>]+0x8): undefined reference to `typeinfo for fltkImageViewerGUI'
> CMakeFiles/CannySegmentationLevelSet.dir/CannySegmentationLevelSetGUI.o: In function `CannySegmentationLevelSetGUI':
> /MMprogs/InsightApplications-3.16.0_src/CannyLevelSet/CannySegmentationLevelSetGUI.cxx:201: undefined reference to `vtable for CannySegmentationLevelSetGUI'
> /MMprogs/InsightApplications-3.16.0_src/CannyLevelSet/CannySegmentationLevelSetGUI.cxx:201: undefined reference to `vtable for CannySegmentationLevelSetGUI'
> /MMprogs/FLTK_bin/lib/libfltk.a(screen_xywh.o): In function `screen_init()':
> screen_xywh.cxx:(.text+0x1e): undefined reference to `XineramaIsActive'
> screen_xywh.cxx:(.text+0x37): undefined reference to `XineramaQueryScreens'
> collect2: ld returned 1 exit status
> make[2]: *** [CannyLevelSet/CannySegmentationLevelSet] Error 1
> make[1]: *** [CannyLevelSet/CMakeFiles/CannySegmentationLevelSet.dir/all] Error 2
> make: *** [all] Error 2
>
>
> Michael Mentink
> Oxford Orthopaedic Engineering Centre
> telephone 01865227451
>
> ________________________________________
_____________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Kitware offers ITK Training Courses, for more information visit:
http://www.kitware.com/products/protraining.html

Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ

Follow this link to subscribe/unsubscribe:
http://www.itk.org/mailman/listinfo/insight-users