SCI Seg3D Mailing List

Text archives Help


[Seg3D] Re: problems building Seg3D 2.0


Chronological Thread 
  • From: Jeroen Stinstra <jeroen@sci.utah.edu>
  • To: seg3d@sci.utah.edu, Colin Poczatek <jpoczatek@rics.bwh.harvard.edu>
  • Subject: [Seg3D] Re: problems building Seg3D 2.0
  • Date: Mon, 10 Jan 2011 14:37:10 -0700

Hi Colin,

Thank you for reporting these errors. I updated the source build to fix several of the issues you reported and posted a new tar ball on the website

1. You should be building in the bin directory and not in the src directory. I have added another protection for this in the latest zip file. Building in the source directory makes it hard to separate source and binary files. Hence most CMake projects generally require you to build in a different directory. Go to the bin directory and run 'cmake ../src'. Make sure that src/CMakeCache.txt has been removed otherwise this will not work.

2. We need the new ITK statistics package, as the one that is currently used does not really work properly with large volumes hence we use the experimental one, which in our experience works much better. However ITK has not yet included this in their official API, hence we compile in the framework, which generates the warnings.

3. I fixed this in the new zip/tgz files. This was indeed a bug, normally when you check it out through svn it incorporates the revision numbers into the build, so I can better track them when people are reporting errors. But it needs to be turned off in the zipped source code. Thanks for reporting that one.

4. For Qt, it looks like this is a problem with CMake as it does not properly check for all the dependencies. I don't have a Ubuntu version here, but I think I know what is going on. The same problem is listed for VTK. It looks like you need the following packages installed before installing Qt 4.7: xorg-dev and libglpng.dev. With these packages on your system Qt will build the additional packages on your system. Could you check whether these are installed and whether that will fix the problem.


Please let me know if that works, and please keep reporting issues, we really want to fix as many bugs as possible.

thanks,

Jeroen Stinstra



On Jan 10, 2011, at 8:46 AM, Colin Poczatek wrote:

Hi everybody,

I'm having cmake fail in a couple ways and could use a little help.  (Output after list)  I'm running the command "cmake CMakeLists.txt" on the top level cmake list file, possible incorrectly...  This is the zip of the source, not an svn checkout.  This is Ubuntu 10.10 64bit, cmake version 2.8.2, QMake version 2.01a, Qt version 4.7.0...

1- Externals/gdcm/ complains about an in source build, commenting out that check in Externals/gdcm/CMakeLists.txt (line ~34) fixes that... Is that bad?
2- ITK throws some warnings probably not important.
3- SVN throws a error but continues...
4- Some QT libraries aren't found?  And it stops...

Thanks,
Collin

2:
-- Found Subversion: /usr/bin/svn
CMake Error at /usr/share/cmake-2.8/Modules/FindSubversion.cmake:70 (MESSAGE):
 Command "/usr/bin/svn info /nrims/home3/cpoczatek/tmp/seg3D2/src" failed
 with output:

 svn: '/nrims/home3/cpoczatek/tmp/seg3D2/src' is not a working copy

Call Stack (most recent call first):
 CMake/RevisionInfo.cmake:35 (Subversion_WC_INFO)
 Main/CMakeLists.txt:34 (GENERATE_REVISION_INFO)


4:
-- Configuring Seg3D packaging
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
QT_FONTCONFIG_LIBRARY (ADVANCED)
   linked by target "Resources_QtResources" in directory /nrims/home3/cpoczatek/tmp/seg3D2/src/Resources
   linked by target "QtUtils_Utils" in directory /nrims/home3/cpoczatek/tmp/seg3D2/src/QtUtils/Utils
   linked by target "QtUtils_Widgets" in directory /nrims/home3/cpoczatek/tmp/seg3D2/src/QtUtils/Widgets
   linked by target "QtUtils_Bridge" in directory /nrims/home3/cpoczatek/tmp/seg3D2/src/QtUtils/Bridge
   linked by target "Interface_Application" in directory /nrims/home3/cpoczatek/tmp/seg3D2/src/Interface/Application
   linked by target "Interface_ToolInterface" in directory /nrims/home3/cpoczatek/tmp/seg3D2/src/Interface/ToolInterface
   linked by target "Seg3D2" in directory /nrims/home3/cpoczatek/tmp/seg3D2/src/Main
QT_FREETYPE_LIBRARY (ADVANCED)
   linked by target "Resources_QtResources" in directory /nrims/home3/cpoczatek/tmp/seg3D2/src/Resources
   linked by target "QtUtils_Utils" in directory /nrims/home3/cpoczatek/tmp/seg3D2/src/QtUtils/Utils
   linked by target "QtUtils_Widgets" in directory /nrims/home3/cpoczatek/tmp/seg3D2/src/QtUtils/Widgets
   linked by target "QtUtils_Bridge" in directory /nrims/home3/cpoczatek/tmp/seg3D2/src/QtUtils/Bridge
   linked by target "Interface_Application" in directory /nrims/home3/cpoczatek/tmp/seg3D2/src/Interface/Application
   linked by target "Interface_ToolInterface" in directory /nrims/home3/cpoczatek/tmp/seg3D2/src/Interface/ToolInterface
   linked by target "Seg3D2" in directory /nrims/home3/cpoczatek/tmp/seg3D2/src/Main
QT_PNG_LIBRARY (ADVANCED)
   linked by target "Resources_QtResources" in directory /nrims/home3/cpoczatek/tmp/seg3D2/src/Resources
   linked by target "QtUtils_Utils" in directory /nrims/home3/cpoczatek/tmp/seg3D2/src/QtUtils/Utils
   linked by target "QtUtils_Widgets" in directory /nrims/home3/cpoczatek/tmp/seg3D2/src/QtUtils/Widgets
   linked by target "QtUtils_Bridge" in directory /nrims/home3/cpoczatek/tmp/seg3D2/src/QtUtils/Bridge
   linked by target "Interface_Application" in directory /nrims/home3/cpoczatek/tmp/seg3D2/src/Interface/Application
   linked by target "Interface_ToolInterface" in directory /nrims/home3/cpoczatek/tmp/seg3D2/src/Interface/ToolInterface
   linked by target "Seg3D2" in directory /nrims/home3/cpoczatek/tmp/seg3D2/src/Main
QT_X11_Xext_LIBRARY
   linked by target "Resources_QtResources" in directory /nrims/home3/cpoczatek/tmp/seg3D2/src/Resources
   linked by target "QtUtils_Utils" in directory /nrims/home3/cpoczatek/tmp/seg3D2/src/QtUtils/Utils
   linked by target "QtUtils_Widgets" in directory /nrims/home3/cpoczatek/tmp/seg3D2/src/QtUtils/Widgets
   linked by target "QtUtils_Bridge" in directory /nrims/home3/cpoczatek/tmp/seg3D2/src/QtUtils/Bridge
   linked by target "Interface_Application" in directory /nrims/home3/cpoczatek/tmp/seg3D2/src/Interface/Application
   linked by target "Interface_ToolInterface" in directory /nrims/home3/cpoczatek/tmp/seg3D2/src/Interface/ToolInterface
   linked by target "Seg3D2" in directory /nrims/home3/cpoczatek/tmp/seg3D2/src/Main
QT_XRENDER_LIBRARY (ADVANCED)
   linked by target "Resources_QtResources" in directory /nrims/home3/cpoczatek/tmp/seg3D2/src/Resources
   linked by target "QtUtils_Utils" in directory /nrims/home3/cpoczatek/tmp/seg3D2/src/QtUtils/Utils
   linked by target "QtUtils_Widgets" in directory /nrims/home3/cpoczatek/tmp/seg3D2/src/QtUtils/Widgets
   linked by target "QtUtils_Bridge" in directory /nrims/home3/cpoczatek/tmp/seg3D2/src/QtUtils/Bridge
   linked by target "Interface_Application" in directory /nrims/home3/cpoczatek/tmp/seg3D2/src/Interface/Application
   linked by target "Interface_ToolInterface" in directory /nrims/home3/cpoczatek/tmp/seg3D2/src/Interface/ToolInterface
   linked by target "Seg3D2" in directory /nrims/home3/cpoczatek/tmp/seg3D2/src/Main
QT_ZLIB_LIBRARY (ADVANCED)
   linked by target "Resources_QtResources" in directory /nrims/home3/cpoczatek/tmp/seg3D2/src/Resources
   linked by target "QtUtils_Utils" in directory /nrims/home3/cpoczatek/tmp/seg3D2/src/QtUtils/Utils
   linked by target "QtUtils_Widgets" in directory /nrims/home3/cpoczatek/tmp/seg3D2/src/QtUtils/Widgets
   linked by target "QtUtils_Bridge" in directory /nrims/home3/cpoczatek/tmp/seg3D2/src/QtUtils/Bridge
   linked by target "Interface_Application" in directory /nrims/home3/cpoczatek/tmp/seg3D2/src/Interface/Application
   linked by target "Interface_ToolInterface" in directory /nrims/home3/cpoczatek/tmp/seg3D2/src/Interface/ToolInterface
   linked by target "Seg3D2" in directory /nrims/home3/cpoczatek/tmp/seg3D2/src/Main



The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.





Archive powered by MHonArc 2.6.16.

Top of page