HI Frank,

It should be possible to link the dicom plugin with a static version
of ITK, other plugins link to static versions of their respectively
libraries.  ITK itself might not be best used as a static lib though -
as it does raise questions about how ITK's plugins mechanisms work.
I'm no ITK expert though, so can't really dive too deep in this topic.
 The best help I can provide would be to have look over your errors
perhaps I or someone else can spot something.

W.r.t the dicom loader, I currently used DCMTK as a loader as it's far
more capable a DICOM loader than ITK is, the ITK path was just written
as quick hack to get something imported.  ITK is actually far better
suited for use for image processing rather than image loading, and in
later osgVolume work I expect to be using ITK for handling tasks such
as segmentation.

Robert.

On Fri, Jan 23, 2009 at 5:57 PM, Frank Miller <[email protected]> wrote:
> Hi Robert,
>
> I don't know if this qualifies as a build error but I will share it
> anyway.  Yesterday I built a fresh *dynamic* osg because I wanted to
> play with osgVolume. I told cmake about my *static* ITK installation and
> the build failed. I assumed at the time that it is impossible to link a
> static library into a dynamic library. When I rebuilt osg without any
> reference to ITK everything worked fine.
>
> Was my assumption correct or is this an error?
>
> By the way, I got side-tracked and never played with osgVolume. I do
> look forward to working with it.
>
> Frank
>
> On Fri, Jan 23, 2009 at 04:10:34PM +0000, Robert Osfield wrote:
>> Hi All,
>>
>> I would like to finish this week with a 2.7.9 dev release, could users
>> do a check out of svn/trunk and let know if your build succeeds/or
>> where it fails.
>>
>> Thanks,
>> Robert.
>> _______________________________________________
>> osg-users mailing list
>> [email protected]
>> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to