[osg-users] Trying to run osgvolume example

Alex Taylor alextaylor at gmail.com
Sun May 1 07:04:24 PDT 2016


All,

I'm trying to run the osgvolume example. Running OSG 3.4 on my mac. I've
referred to the following setup page for specifying environment variables:

http://trac.openscenegraph.org/projects/osg//wiki/Support/UserGuides/Examples

I'm trying to run the example with a series of DICOM files and I keep
getting a missing plugin warning:

*[ah-ataylor-maci:/sandbox/ataylor/3p-tmw/3p/derived/maci64/openscenegraph/bin]155
% ./osgvolume --images /sandbox/ataylor/VIX/VIX/footImageDir/IM/*.dcm*


*Warning: Could not find plugin to read objects from file
"/sandbox/ataylor/VIX/VIX/footImageDir/IM/IM-0001-0001.dcm".*

*Warning: Could not find plugin to read objects from file
"/sandbox/ataylor/VIX/VIX/footImageDir/IM/IM-0001-0002.dcm".*

I've also tried passing the directory that contains the DICOM images
without the --images flag, I receive similar warnings about missing plugins.

Here is my $PATH:

/ataylor/3p-tmw/3p/derived/maci64/openscenegraph]150 % echo $PATH

/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/hub/share/bin:/mathworks/hub/share/apps/iat/devapps/sandbox-store/prod/bin:/usr/bin:/sandbox/ataylor/3p-tmw/3p/derived/maci64/openscenegraph/lib:/sandbox/ataylor/3p-tmw/3p/derived/maci64/openscenegraph/lib/osgPlugins

My questions:

1) Is there any obvious setup I'm missing?

2) When I look in openscenegraph/lib/osgPlugins-3.4.0, the built shared
libraries have the file extension .so, which is very surprising on a mac.
I've read conflicting things about this online...is this indicative of a
build problem? I would have expected these to be .dylib files.

[ah-ataylor-maci:/sandbox/ataylor/3p-tmw/3p/derived/maci64/openscenegraph/lib/osgPlugins-3.4.0]103
% ls -l

total 30036

-rwxr-xr-x  1 ataylor  users    61636 Apr 30 23:28 osgdb_3dc.so

-rwxr-xr-x  1 ataylor  users   339940 Apr 30 23:29 osgdb_3ds.so

-rwxr-xr-x  1 ataylor  users   180004 Apr 30 23:29 osgdb_ac.so

-rwxr-xr-x  1 ataylor  users   119040 Apr 30 23:30 osgdb_avfoundation.so

-rwxr-xr-x  1 ataylor  users    44584 Apr 30 23:27 osgdb_bmp.so

-rwxr-xr-x  1 ataylor  users   214464 Apr 30 23:29 osgdb_bsp.so

-rwxr-xr-x  1 ataylor  users   104696 Apr 30 23:28 osgdb_bvh.so

-rwxr-xr-x  1 ataylor  users   153852 Apr 30 23:27 osgdb_cfg.so

-rwxr-xr-x  1 ataylor  users   103156 Apr 30 23:28 osgdb_curl.so

-rwxr-xr-x  1 ataylor  users    72688 Apr 30 23:27 osgdb_dds.so


Thanks as always for any help,

Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20160501/97d031bb/attachment-0001.htm>


More information about the osg-users mailing list