SCI Seg3D Mailing List

Text archives Help


[Seg3D] adding an external library to Seg3D


Chronological Thread 
  • From: Ramón Casero Cañas <ramon.casero@comlab.ox.ac.uk>
  • To: seg3d@sci.utah.edu
  • Subject: [Seg3D] adding an external library to Seg3D
  • Date: Fri, 16 Oct 2009 18:31:33 +0100


Hi,

I would like to use function QwtSpline() from the C++ library Qwt [1] to
compute a spline for the tool I'm working on.

This library can be configured, compiled and installed with qmake.
Following the way things seem to be done in Seg3D now, I have downloaded
the source code to SCIRun/src/Externals/qwt-5.2 (instead of installing
the ubuntu package)

 $ svn export https://qwt.svn.sourceforge.net/svnroot/qwt/branches/qwt-5.2

Could somebody help me with some guidance about how to integrate this new library into the building system of Seg3D, please?

I suppose ideally one would modify the existing CMakeLists.txt and create a new one in qwt-5.2 to build Qwt with the rest of the application, but for the moment I'd be happy building Qwt manually with qmake, and then just linking to the resulting shared library

 SCIRun/src/Externals/qwt-5.2/lib/libqwt.so.5.2.1

I have been looking at several CMakeLists.txt, but it's quite a lot of configuration code, so I'm a bit lost.

[1]
http://qwt.sourceforge.net/class_qwt_spline.html#2bd2bda128f82acd596348eb8d64231c

Cheers,

Ramon.

--
Ramón Casero Cañas, DPhil

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.

Top of page