Hi all,
I think I have finally been able to remove the dependency from library Qt that the Spline Tool had via the Qwt library.
https://code.sci.utah.edu/svn/cibc/cibc/branches/seg3d_spline_tool/SCIRun
At least the code compiles and runs in my machine (Ubuntu linux).
*** LICENCES
Because Qwt is LGPL, the relevant code cannot be just taken and put into Seg3D or Teem (unless the corresponding licences were changed to LGPL).
Thus, what I have done is a derivative work of Qwt called QwtLight. QwtLight is a stripped down version of Qwt that doesn't depend on Qt. It exists as an independent library in the src/Externals directory, so AFAIK it is OK to leave it with a LGPL licence, and link to it from Seg3D.
Because the Seg3D source code is provided with the library, I think we should be fine under point 6 of the LGPL
http://www.gnu.org/licenses/lgpl-2.1.html
*** LINKING TO LAPACK
Actually, the code as it is now in the repository will fail to compile because it cannot link to LAPACK.
To fix this, it's necessary to patch two of the CMakeLists.txt in the vispack library.
I cannot do this myself, because I don't have permissions. (I have done it locally.)
I have reported the problem and suggested patches as bug 478
http://bugzilla.sci.utah.edu/bugzilla/show_bug.cgi?id=478
NB. I think that the problem is independent from the Spline Tool, and will happen if at some point Seg3D needs to link to LAPACK.
Any comments are welcome!
Ramon.
--
Dr. Ramón Casero Cañas
Computational Biology, Computing Laboratory
University of Oxford
Wolfson Building, Parks Rd
Oxford OX1 3QD
tlf +44 (0) 1865 610807
web http://web.comlab.ox.ac.uk/people/Ramon.CaseroCanas
photos http://www.flickr.com/photos/rcasero/
Archive powered by MHonArc 2.6.16.