root/OpenSceneGraph/trunk/src/osgPlugins/pfb/README.txt @ 2

Revision 2, 1.6 kB (checked in by don, 13 years ago)

Initial revision

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1Features and issues with Performer plugin
2=========================================
3
4Issues
5------
6After compiling the Peformer plugin you can run sgv and it will
7pick up the library osgPlugins/osgdb_pfb correctly, so you'll now be
8able to type something like :
9
10  cd /usr/share/Performer/data
11  sgv iris.pfb
12
13Unfortunately this then results in the following error message :
14
15  DynamicLibrary::failed loading /home/robert/OpenSceneGraph-0.8/lib/osgPlugins/osgdb_pfb.so
16  DynamicLibrary::error /usr/lib/libpr.so: undefined symbol: __ucmpdi2
17
18An attempt to fixing the undefined symbol by including -lgcc did not fix the
19problem, have a look at src/osgPlugins/pfb/Makefile, for the link lines
20tested. Suggestions welcome.
21
22This error disappears if you link sgv with Performer, you can do this by
23simply swapping the #comment around in src/Viewier/Makefile so that :
24
25  LIBS =  -losgUtil -losg  -lglut -lGLU -lGL  -lm -lXmu  -lX11 -lXi
26  #LIBS = ${PFLIBS} -losgUtil -losg  -lglut -lGLU -lGL  -lm -lXmu  -lX11 -lXi
27
28is edited to become:
29
30  #LIBS =  -losgUtil -losg  -lglut -lGLU -lGL  -lm -lXmu  -lX11 -lXi
31  LIBS = ${PFLIBS} -losgUtil -losg  -lglut -lGLU -lGL  -lm -lXmu  -lX11 -lXi
32
33Not an ideal solution but it does work.  Now try :
34
35  cd /usr/share/Performer/data
36  sgv town_ogl_pfi.pfb
37
38
39Features
40--------
41You can also use osgdb_pfb.so as a Performer plugin, by linking/copying the
42osgPlugins/osgdb_pfb.so to libpfosg.so.   Try something like :
43
44  cd OpenSceneGraph-0.8/lib
45  ln -s osgPlugins/osgdb_pfb.so libpfosg.so
46
47then
48
49  perfly turtle.osg
50
51or
52
53  pfconv /usr/share/Performer/data/iris.pfb iris.osg
54  sgv iris.osg
55
Note: See TracBrowser for help on using the browser.