[osg-users] I still have 2 build issues (unices)

Mike Logan mlogan at mail.arc.nasa.gov
Fri Sep 14 12:53:38 PDT 2007

		In my now broken mac build:

[ 21%] Building CXX object src/osgUtil/CMakeFiles/osgUtil.dir/ 
/usr/bin/c++   -DosgUtil_EXPORTS -arch ppc -arch i386 -isysroot / 
Developer/SDKs/MacOSX10.4u.sdk   -mmacosx-version-min=10.4 -ftree- 
vectorize -fvisibility-inlines-hidden -O3 -DNDEBUG -fPIC -I/Volumes/ 
viz/OpenSceneGraph/include -F/System/Library/Frameworks   - 
DOSGUTIL_LIBRARY -o src/osgUtil/CMakeFiles/osgUtil.dir/Tessellator.o - 
c /Volumes/viz/OpenSceneGraph/src/osgUtil/Tessellator.cpp
/Volumes/viz/OpenSceneGraph/src/osgUtil/Tessellator.cpp: In member  
function 'void osgUtil::Tessellator::beginTessellation()':
/Volumes/viz/OpenSceneGraph/src/osgUtil/Tessellator.cpp:44: error:  
invalid conversion from 'GLvoid (*)(...)' to 'GLvoid (*)()'

		from CMakeCache.txt:

//Include for OpenGL on OSX

//OpenGL lib for OSX

//AGL lib for OSX

very confusing why sometimes it builds, other times not...
environment vars messed up?



On Sep 14, 2007, at 2:14 AM, Robert Osfield wrote:

> On 9/14/07, Mike Logan <mlogan at mail.arc.nasa.gov> wrote:
>> Ok, so its seems to be just macs then.
>> Linux dependencies seem fine.
>> Maybe my problem is related to the previous thread
>>  on Tessellator and Mac builds..
> CMake must be picking up on the OpenGL framework rather the GLX
> version of gl.h, or perhaps its the other way around, its assume the
> OpenGL framework version bit getting the GLX gl.h version.
> /Volumes/viz/OpenSceneGraph/src/osgUtil/Tessellator.cpp: In member
> function 'void osgUtil::Tessellator::beginTessellation()':
> /Volumes/viz/OpenSceneGraph/src/osgUtil/Tessellator.cpp:44: error:
> invalid conversion from 'GLvoid (*)(...)' to 'GLvoid (*)()'
>> From this I can't work out which way around it it your case.
> In ccmake .. could you have a look at which verision of OpenGL it's  
> using?
> Robert.
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users- 
> openscenegraph.org

Michael Logan
Perot Systems Govt. Services / NASA Ames Res. Ctr.
Task Lead / Visual Cueing & Simulation
Visualization Engineer / Adaptive Control Technologies
MS 269-1, Moffett Field, CA, 94035  (650)-604-4494

"If you want to start a revolution, don't pick up a gun.
  Do it with science and technology."  - Stanford R. Ovshinsky

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20070914/af8053d3/attachment-0003.htm>

More information about the osg-users mailing list