Haykel BEN JEMIA <[EMAIL PROTECTED]> writes:
> You need "bison" and "flex". Install them with adept or synaptic or
> from console with:
>
> sudo apt-get install flex bison
Thanks a lot! (That was easy. Now I feel stupid <g>.)
The compilation finished without errors. The installation looks alright, too.
(At least none of the output looks like errors.) However, I still cannot make
the tutorial examples.
I get this error / output:
/home/monika/projekt/software/OpenSG/Tutorials # make
"g++" -D_GNU_SOURCE -DQT_CLEAN_NAMESPACE -DOSG_WITH_GLUT -DOSG_WITH_TIF
-DOSG_WITH_JP
G -DOSG_WITH_PNG -D_OSG_HAVE_CONFIGURED_H_ -DQT_NO_XINERAMA -DQT_NO_XRENDER
-DQT_NO_X
FTFREETYPE -DQT_NO_XKB -DQT_NO_SM_SUPPORT -DQT_NO_IMAGEIO_MNG
-DQT_NO_IMAGEIO_JPEG -D
QT_NO_STYLE_AQUA -DQT_NO_STYLE_MAC -DQT_NO_STYLE_INTERLACE
-DQT_NO_STYLE_COMPACT -ans
i -use_readonly_const -ftemplate-depth-100 -g -DOSG_DEBUG -DOSG_WITH_GLUT
-DOSG_WITH_
TIF -DOSG_WITH_JPG -DOSG_WITH_PNG -I/usr/local/include 01hello.cpp -g
-L/usr/local/l
ib/dbg -lOSGWindowGLUT -lOSGSystem -lOSGBase -ltiff -ljpeg -lpng -lz -lglut
-lGLU -lG
L -lXmu -lXi -lXt -lX11 -lpthread -ldl -lm -L/usr/X11R6/lib -o 01hello
/usr/lib/gcc/i486-linux-gnu/4.0.2/../../../../lib/libGL.a(glxcmds.o): In
function `gl
XGetMscRateOML':
: undefined reference to `XF86VidModeQueryVersion'
/usr/lib/gcc/i486-linux-gnu/4.0.2/../../../../lib/libGL.a(glxcmds.o): In
function `gl
XGetMscRateOML':
: undefined reference to `XF86VidModeGetModeLine'
/usr/lib/gcc/i486-linux-gnu/4.0.2/../../../../lib/libGL.a(glxext.o): In
function `__g
lXInitialize':
: undefined reference to `drmUnmap'
/usr/lib/gcc/i486-linux-gnu/4.0.2/../../../../lib/libGL.a(glxext.o): In
function `__g
lXInitialize':
: undefined reference to `drmUnmap'
/usr/lib/gcc/i486-linux-gnu/4.0.2/../../../../lib/libGL.a(glxext.o): In
function `__g
lXInitialize':
: undefined reference to `drmClose'
/usr/lib/gcc/i486-linux-gnu/4.0.2/../../../../lib/libGL.a(glxext.o): In
function `__g
lXInitialize':
: undefined reference to `drmOpen'
/usr/lib/gcc/i486-linux-gnu/4.0.2/../../../../lib/libGL.a(glxext.o): In
function `__g
lXInitialize':
: undefined reference to `drmGetMagic'
/usr/lib/gcc/i486-linux-gnu/4.0.2/../../../../lib/libGL.a(glxext.o): In
function `__g
lXInitialize':
: undefined reference to `drmGetVersion'
/usr/lib/gcc/i486-linux-gnu/4.0.2/../../../../lib/libGL.a(glxext.o): In
function `__g
lXInitialize':
: undefined reference to `drmFreeVersion'
/usr/lib/gcc/i486-linux-gnu/4.0.2/../../../../lib/libGL.a(glxext.o): In
function `__g
lXInitialize':
: undefined reference to `drmMap'
/usr/lib/gcc/i486-linux-gnu/4.0.2/../../../../lib/libGL.a(glxext.o): In
function `__g
lXInitialize':
: undefined reference to `drmMap'
collect2: ld gab 1 als Ende-Status zurück
make: *** [01hello] Fehler 1
"gab 1 als Ende-Status zurück" means "returned 1 as final state".
I used "export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/lib/dbg/" before,
so it should find the necessary lib, shouldn't it?
Am I missing something else that needs to be installed?
Monika.
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users