Hello,
We are experimenting with integrating R and VRJuggler/OpenSG and having
one issue that seems to be related to how we link the VRJuggler and
OpenSG apps. Basicly, our applications .o files must be linked into a
shared object that is loaded into R. VRjuggler is started from within
the R process. We have got it to work on a OGL app (simpleApp) but have
the following errors returned when trying to a VRJuggler/OpenSG app
(OSG_LOG_LEVEL=5):
0010104/002] DBG:DeviceInterface found proxy:
GlWin-Sim-EventWindow-SimWindow/event_window_device/Event window
configuration 0-Proxy [ OK ]
[0010104/002] DBG:OpenSGNav::contextinit: called.
WARNING: Window::getFunctionByName: Couldn't get function
'glProgramStringARB' for Window 0x9599ff8.
WARNING: Window::getFunctionByName: Couldn't get function
'glBindProgramARB' for Window 0x9599ff8.
WARNING: Window::getFunctionByName: Couldn't get function
'glDeleteProgramsARB' for Window 0x9599ff8.
WARNING: Window::getFunctionByName: Couldn't get function
'glProgramLocalParameter4fvARB' for Window 0x9599ff8.
WARNING: Window::getFunctionByName: Couldn't get function
'glGetProgramivARB' for Window 0x9599ff8.
WARNING: Window::getFunctionByName: Couldn't get function
'glActiveTextureARB' for Window 0x9599ff8.
WARNING: Window::getFunctionByName: Couldn't get function
'glCombinerParameterfvNV' for Window 0x9599ff8.
WARNING: Window::getFunctionByName: Couldn't get function
'glCombinerStageParameterfvNV' for Window 0x9599ff8.
WARNING: Window::getFunctionByName: Couldn't get function
'glCombinerInputNV' for Window 0x9599ff8.
WARNING: Window::getFunctionByName: Couldn't get function
'glCombinerOutputNV' for Window 0x9599ff8.
WARNING: Window::getFunctionByName: Couldn't get function
'glFinalCombinerInputNV' for Window 0x9599ff8.
WARNING: Window::getFunctionByName: Couldn't get function
'glPointParameterfEXT' for Window 0x9599ff8.
WARNING: Window::getFunctionByName: Couldn't get function
'glPointParameterfvEXT' for Window 0x9599ff8.
WARNING: Window::getFunctionByName: Couldn't get function
'glBlendColorEXT' for Window 0x9599ff8.
WARNING: Window::getFunctionByName: Couldn't get function
'glBlendEquation' for Window 0x9599ff8.
WARNING: Window::getFunctionByName: Couldn't get function
'glColorTableSGI' for Window 0x9599ff8.
WARNING: Window::getFunctionByName: Couldn't get function
'glColorTableEXT' for Window 0x9599ff8.
WARNING: Window::getFunctionByName: Couldn't get function
'glMultiTexCoord2dARB' for Window 0x9599ff8.
WARNING: Window::getFunctionByName: Couldn't get function
'glCombinerParameteriNV' for Window 0x9599ff8.
WARNING: Window::getFunctionByName: Couldn't get function
'glTexImage3DEXT' for Window 0x9599ff8.
WARNING: Window::getFunctionByName: Couldn't get function
'glSecondaryColor3fEXT' for Window 0x9599ff8.
WARNING: Window::getFunctionByName: Couldn't get function
'glSecondaryColor3fvEXT' for Window 0x9599ff8.
WARNING: Window::getFunctionByName: Couldn't get function
'glSecondaryColor3bvEXT' for Window 0x9599ff8.
WARNING: Window::getFunctionByName: Couldn't get function
'glSecondaryColor3ubvEXT' for Window 0x9599ff8.
WARNING: Window::getFunctionByName: Couldn't get function
'glSecondaryColor3svEXT' for Window 0x9599ff8.
WARNING: Window::getFunctionByName: Couldn't get function
'glSecondaryColor3usvEXT' for Window 0x9599ff8.
WARNING: Window::getFunctionByName: Couldn't get function
'glSecondaryColor3ivEXT' for Window 0x9599ff8.
WARNING: Window::getFunctionByName: Couldn't get function
'glSecondaryColor3uivEXT' for Window 0x9599ff8.
WARNING: Window::getFunctionByName: Couldn't get function
'glSecondaryColor3dvEXT' for Window 0x9599ff8.
WARNING: Window::getFunctionByName: Couldn't get function
'glMultiTexCoord1svARB' for Window 0x9599ff8.
WARNING: Window::getFunctionByName: Couldn't get function
'glMultiTexCoord2svARB' for Window 0x9599ff8.
WARNING: Window::getFunctionByName: Couldn't get function
'glMultiTexCoord3svARB' for Window 0x9599ff8.
WARNING: Window::getFunctionByName: Couldn't get function
'glMultiTexCoord4svARB' for Window 0x9599ff8.
WARNING: Window::getFunctionByName: Couldn't get function
'glMultiTexCoord1ivARB' for Window 0x9599ff8.
WARNING: Window::getFunctionByName: Couldn't get function
'glMultiTexCoord2ivARB' for Window 0x9599ff8.
WARNING: Window::getFunctionByName: Couldn't get function
'glMultiTexCoord3ivARB' for Window 0x9599ff8.
WARNING: Window::getFunctionByName: Couldn't get function
'glMultiTexCoord4ivARB' for Window 0x9599ff8.
WARNING: Window::getFunctionByName: Couldn't get function
'glMultiTexCoord1fvARB' for Window 0x9599ff8.
WARNING: Window::getFunctionByName: Couldn't get function
'glMultiTexCoord2fvARB' for Window 0x9599ff8.
WARNING: Window::getFunctionByName: Couldn't get function
'glMultiTexCoord3fvARB' for Window 0x9599ff8.
WARNING: Window::getFunctionByName: Couldn't get function
'glMultiTexCoord4fvARB' for Window 0x9599ff8.
WARNING: Window::getFunctionByName: Couldn't get function
'glMultiTexCoord1dvARB' for Window 0x9599ff8.
WARNING: Window::getFunctionByName: Couldn't get function
'glMultiTexCoord2dvARB' for Window 0x9599ff8.
WARNING: Window::getFunctionByName: Couldn't get function
'glMultiTexCoord3dvARB' for Window 0x9599ff8.
WARNING: Window::getFunctionByName: Couldn't get function
'glMultiTexCoord4dvARB' for Window 0x9599ff8.
WARNING: Window::getFunctionByName: Couldn't get function
'glSecondaryColorPointerEXT' for Window 0x9599ff8.
WARNING: Window::getFunctionByName: Couldn't get function
'glClientActiveTextureARB' for Window 0x9599ff8.
WARNING: Window::getFunctionByName: Couldn't get function
'glLockArraysEXT' for Window 0x9599ff8.
WARNING: Window::getFunctionByName: Couldn't get function
'glUnlockArraysEXT' for Window 0x9599ff8.
WARNING: Window::getFunctionByName: Couldn't get function
'glDrawRangeElementsEXT' for Window 0x9599ff8.
[0010104/002] DBG:OpenSGNav::initGLState: Called.
[0010104/002] DBG:OpenSGNav::initGLState: finished.
[0010104/002] DBG:OpenSGNav::init: finished.
I have read previous posting on this error
(http://sourceforge.net/mailarchive/message.php?msg_id=5246262) but am
not sure how to proceed. The executable version of the same program runs
correctly. Could you please suggest what to look for or how to proceed?
Thanks,
Richard Boyce
Biomedical and Health Informatics
University of Washington
Info:
Platform: SuSE 9.0
Video: NVidia GeForce-4
using driver: NVIDIA-Linux-x86-1.0-5336-pkg1
R: 1.8.1
OpenGL: Mesa 5.0.1-61 and NVidias version
OpenSG: from CVS 07/01/04
osg-config --version: 1.3.0pre1
--cflags: -D_GNU_SOURCE -DQT_CLEAN_NAMESPACE
-DOSG_WITH_GLUT -DOSG_WITH_QT -DOSG_WITH_JPG -DOSG_WITH_PNG
-DOSG_WITH_GIF -DOSG_WITH_FREETYPE1 -D_OSG_HAVE_CONFIGURED_H_
-DOSG_GV_BETA -DQT_NO_XINERAMA -DQT_NO_XRENDER -DQT_NO_XFTFREETYPE
-DQT_NO_XKB -DQT_NO_SM_SUPPORT -DQT_NO_IMAGEIO_MNG -DQT_NO_IMAGEIO_JPEG
-DQT_NO_STYLE_AQUA -DQT_NO_STYLE_MAC -DQT_NO_STYLE_INTERLACE
-DQT_NO_STYLE_COMPACT -ansi -use_readonly_const -ftemplate-depth-100 -g
-DOSG_DEBUG -I/usr/local/include
--libs: -g -L/usr/local/lib/dbg
Here is the linking command I use:
g++ -shared -g -o libOpenSGNav.so ./OpenSGNav.o ./app.o
./HoverSelectionMethod.o ./PointAndGo.o ./User.o ./ViewPlatform.o
./PrimitiveShapeGrp.o ./RGLDevice.o ./RglData.o ./SocketManager.o
./SphereObject.o ./StatVizVR_Lib.o ./TextObject.o ./my_semaphore.o
-lvrj
-L/opt/Downloads/vrjuggler-2.0-alpha4.src/build.suse90.alpha4/instlinks/lib
-lvrj_ogl -L/usr/local/lib -L/usr/X11R6/lib -Wl,-Bdynamic -lsonix
-Wl,--export-dynamic -lgadget -ljccl -lvpr -lm -Wl,-Bdynamic -lX11
-Wl,-Bdynamic -luuid -ldl -pthread -L/usr/X11R6/lib -Wl,-Bdynamic
-lGLU -lGL -Wl,-Bdynamic -lX11 -Wl,-Bdynamic -luuid -ldl -pthread -g
-L/usr/local/lib/dbg -lOSGBase -lOSGSystem -lGL
-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users