Re: [osg-users] Problems compiling OSG 2.8.2 on Solaris 10

2009-08-07 Thread Robert Osfield
Hi Carol,

Solaris is not a platform that many users develop on these days so it
doesn't get the exposure and testing that the major platforms undergo
- we have to rely on members of the community to help support the
platforms they use as no single group/person has access to all the
platform combinations, so that means engineers working on niche
platforms need to step forward and help sort out platforms.

Previous versions of the OSG have been compiled successfully under
Solaris, and there is nothing particular about 2.8.2 that I'd expect
to break things, so what I'd suspect is that you are using a
Solaris/compiler/dependency versions that is different that what other
Solaris users have used and this in introducing problems.  I haven't
seen any reports of problems like you describe so it may well be that
you are the first engineer to use your particular combination of
setup.

As to resolving the problem, the missing symbol sunOglCurrentContext
is clearly a sun related OpenGL function, this is not a function that
the OSG will be using directly, but indirectly through either GLX or
OpenGL.  Normally the OpenGL implementation details like this are
properly hidden inside the GL or GLX libs so won't affect end user
application/libs like the OSG, so it does feel like something is amiss
with your GLX or OpenGL libs - perhaps Mesa was built in a way that is
introducing problems.  Perhaps the Mesa or Sun/OpenGL communities will
be more familiar with this particular issue so have a search on the
web and their forums/mailing lists to see if the same problem has
occurred before.

Good luck,
Robert.

On Fri, Aug 7, 2009 at 12:03 AM, Rydzak,
Carol-P28503 wrote:
> Hi list!
> I have run the commands listed in the readme for osg and this is what I am
> getting.  We have the version 7.4.4 version of the Mesa libraries installed
> (libGL.so & libGLU.so).  Can someone please help me out with fixing this
> problem?  I would expect that anyone running on Solaris would have come
> across this problem.  At least I am hoping so!  Thanks in advance.
>
> Linking CXX executable ../../bin/osgviewer
> Undefined    first referenced
>  symbol in file
> sunOglCurPrimTablePtr
> /software/ossim/OpenSceneGraph-2.8.2/lib/libosg.so
> sunOglCurrentContext
> /software/ossim/OpenSceneGraph-2.8.2/lib/libosg.so
> ld: fatal: Symbol referencing errors. No output written to
> ../../bin/osgviewer
> collect2: ld returned 1 exit status
> make[2]: *** [bin/osgviewer] Error 1
> make[1]: ***
> [applications/osgviewer/CMakeFiles/application_osgviewer.dir/all] Error 2
> make: *** [all] Error 2
>
> Carol Rydzak
>
> ___
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


[osg-users] Problems compiling OSG 2.8.2 on Solaris 10

2009-08-06 Thread Rydzak, Carol-P28503
Hi list!  
I have run the commands listed in the readme for osg and this is what I
am getting.  We have the version 7.4.4 version of the Mesa libraries
installed (libGL.so & libGLU.so).  Can someone please help me out with
fixing this problem?  I would expect that anyone running on Solaris
would have come across this problem.  At least I am hoping so!  Thanks
in advance.

Linking CXX executable ../../bin/osgviewer
Undefinedfirst referenced
 symbol in file
sunOglCurPrimTablePtr
/software/ossim/OpenSceneGraph-2.8.2/lib/libosg.so
sunOglCurrentContext
/software/ossim/OpenSceneGraph-2.8.2/lib/libosg.so
ld: fatal: Symbol referencing errors. No output written to
../../bin/osgviewer
collect2: ld returned 1 exit status
make[2]: *** [bin/osgviewer] Error 1
make[1]: ***
[applications/osgviewer/CMakeFiles/application_osgviewer.dir/all] Error
2
make: *** [all] Error 2

Carol Rydzak 

___
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org