Yes, this is really a compiler bug, he eats too much memory.
But I got another error when killed old gcc process and restart make command:
Code:
Compile++ thumb : osgViewer <= GraphicsWindowX11.cpp
In file included from
/home/victor/projects/AR/OpenSceneGraph-3.0.0/include/osgViewer/api/X11/GraphicsWindowX11:23,
from
/home/victor/projects/AR/OpenSceneGraph-3.0.0/src/osgViewer/GraphicsWindowX11.cpp:22:
/home/victor/projects/AR/OpenSceneGraph-3.0.0/include/osgViewer/api/X11/GraphicsHandleX11:22:23:
error: X11/X.h: No such file or directory
/home/victor/projects/AR/OpenSceneGraph-3.0.0/include/osgViewer/api/X11/GraphicsHandleX11:23:26:
error: X11/Xlib.h: No such file or directory
/home/victor/projects/AR/OpenSceneGraph-3.0.0/include/osgViewer/api/X11/GraphicsHandleX11:24:27:
error: X11/Xutil.h: No such file or directory
/home/victor/projects/AR/OpenSceneGraph-3.0.0/src/osgViewer/GraphicsWindowX11.cpp:30:21:
error: X11/Xmd.h: No such file or directory
/home/victor/projects/AR/OpenSceneGraph-3.0.0/src/osgViewer/GraphicsWindowX11.cpp:31:24:
error: X11/keysym.h: No such file or directory
/home/victor/projects/AR/OpenSceneGraph-3.0.0/src/osgViewer/GraphicsWindowX11.cpp:32:28:
error: X11/cursorfont.h: No such file or directory
/home/victor/projects/AR/OpenSceneGraph-3.0.0/src/osgViewer/GraphicsWindowX11.cpp:37:35:
error: X11/extensions/Xrandr.h: No such file or directory
In file included from
/home/victor/projects/AR/OpenSceneGraph-3.0.0/include/osgViewer/api/X11/GraphicsWindowX11:23,
from
/home/victor/projects/AR/OpenSceneGraph-3.0.0/src/osgViewer/GraphicsWindowX11.cpp:22:
/home/victor/projects/AR/OpenSceneGraph-3.0.0/include/osgViewer/api/X11/GraphicsHandleX11:53:
error: 'Display' has not been declared
/home/victor/projects/AR/OpenSceneGraph-3.0.0/include/osgViewer/api/X11/GraphicsHandleX11:56:
error: ISO C++ forbids declaration of 'Display' with no type
/home/victor/projects/AR/OpenSceneGraph-3.0.0/include/osgViewer/api/X11/GraphicsHandleX11:56:
error: 'Display' declared as an 'inline' field
/home/victor/projects/AR/OpenSceneGraph-3.0.0/include/osgViewer/api/X11/GraphicsHandleX11:56:
error: expected ';' before '*' token
/home/victor/projects/AR/OpenSceneGraph-3.0.0/include/osgViewer/api/X11/GraphicsHandleX11:59:
error: expected ';' before 'typedef'these files exist and are locate
/home/victor/projects/AR/OpenSceneGraph-3.0.0/include/osgViewer/api/X11/GraphicsHandleX11:74:
error: ISO C++ forbids declaration of 'Display' with no type
/home/victor/projects/AR/OpenSceneGraph-3.0.0/include/osgViewer/api/X11/GraphicsHandleX11:74:
error: expected ';' before '*' t
These files exist and located in /usr/include/X11
I can't find in ccmake, this path setting.
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=41249#41249
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org