From: Thomas B. <tho...@ig...> - 2006-01-30 14:26:29
|
Monika Krug wrote: >Von: Patric Schmitz <pat...@rz...> > > > >>>>>I did that, now I get a different error message (as if glut were not >>>>>installed): >>>>>/usr/bin/ld: cannot find -lOSGWindowGLUT >>>>> >>>>> >>This is not related to GLUT not being installed (compiling and >>especially linking of OpenSG itself should have failed then), the linker >>just cannot find the library. Try adding the correct folder to >>LD_LIBRARY_PATH. >>using bash, for example: >>export LD_LIBRARY_PATH=/usr/local/lib/dbg:$LD_LIBRARY_PATH >> >> > >Oh, I must have forgotten to do the export when I tried. > >Now the tutorials finally compile! > >However, I cannot execute them :( > ># ./01hello >Xlib: connection to ":0.0" refused by server >Xlib: No protocol specified >freeglut (./01hello): failed to open display ':0.0' > >What could cause that? > >TIA, >Monika. > > Looks like you logged on as user but work in a root-shell. Either use a user-shell or do an xhost+ to allow X-Server connections from others then the logged-in user (*!* unsecure *!*). |