Hi all,
I have compiled and run osgOcean successfully on windows in the past. I have
now a different machine and os.
I'm trying to run the oceanExample on MacOSX, GeForce 7300 GT.
I have CMake 2.8-2, and compiled osg/trunk with XCode (dylib).
I used "Unix Makefile" in CMake to compile osgOcean/trunk as the XCode project
was not compiling successfully.
When I run "oceanExample", I get following errors:
VERTEX glCompileShader "ocean_surface_vertex_shader" FAILED
VERTEX Shader "ocean_surface_vertex_shader" infolog:
ERROR: 0:50: 'gl_' : reserved built-in name
FRAGMENT glCompileShader "ocean_surface_fragment_shader" FAILED
FRAGMENT Shader "ocean_surface_fragment_shader" infolog:
ERROR: 0:60: '/' : wrong operand types no operation '/' exists that
takes a left-hand operand of type 'const float' and a right operand of type
'const int' (or there is no acceptable conversion)
ERROR: 0:214: 'pow' : no matching overloaded function found
ERROR: 0:214: '=' : cannot convert from 'const float' to '2-component
vector of float'
glLinkProgram "ocean_surface" FAILED
Warning: detected OpenGL error 'invalid operation' at After
Renderer::compile
RenderStage::runCameraSetUp(), FBO setup failed, FBO status= 0x8cd6
Warning: RenderStage::runCameraSetUp(State&) Pbuffer does not support
multiple color outputs.
Warning: RenderStage::runCameraSetUp(State&) Pbuffer does not support
multiple color outputs.
PixelBufferCocoa :: realizeImplementation not implemented yet
Warning: detected OpenGL error 'invalid value' at after
RenderBin::draw(..)
As long as I don't disable all the options that use a FBO, I get garbage on the
screen.
Is anybody using osgOcean successfully on MacOSX. Is the graphics card too old
for osgOcean? If the graphics card should be capable of running it, any hints
on how to fix it are welcome.
Btw, this is the error I get when I build the CMake generated osgOcean project:
make: ../../CMakeScripts/ReRunCMake.make: No such file or directory
make: *** No rule to make target `../../CMakeScripts/ReRunCMake.make'.
Stop.
Looks like some ReRunCMake.make files are missing. Any ideas?
Cheers,
Jean-Claude
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org