nel_drv_opengl not found

Added by arruckus over 4 years ago

When I tried to ./ryzom_client I would wind up with a "nel_drv_opengl not found" error. I went back and found that it's because I set -DWITH_DRIVER_OPENGL=OFF and -DWITH_DRIVER_OPENAL=OFF as I'm on 64 bit. But when I switched those to on, I get this when running make:

[ 55%] /usr/bin/ld: ../../../../../lib/libnel3d.a(driver.cpp.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
../../../../../lib/libnel3d.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
Built target build_far_bank
make2: * [lib/libnel_drv_opengl.so] Error 1
make1:
[nel/src/3d/driver/opengl/CMakeFiles/nel_drv_opengl.dir/all] Error 2
make1:
Waiting for unfinished jobs....
[ 55%] Built target build_smallbank
[ 55%] [ 55%] Built target ig_lighter
Built target zone_dependencies
make: *
[all] Error 2

Any ideas?

Kubuntu 10.10 64bit
Intel i5 quad @ 2.4
4gig ram
ATI Radeon 5600 using proprietary drivers provided by ATI


Replies (2)

RE: nel_drv_opengl not found - Added by kervala over 4 years ago

I think you should use -DWITH_STATIC_DRIVERS=ON too :)

RE: nel_drv_opengl not found - Added by arruckus over 4 years ago

I had that on too, sorry forgot to mention
My cmake looked like this when I was doing it

cmake -DWITH_STATIC=ON -DWITH_DRIVER_OPENGL=OFF -DWITH_DRIVER_OPENAL=OFF ../code

That cmake above will compile, but it won't give the opengl support the client wants, when I do this

cmake -DWITH_STATIC=ON -DWITH_DRIVER_OPENGL=ON -DWITH_DRIVER_OPENAL=ON ../code

everything will still build, until it hits the OPENGL and OPENAL parts, giving me errors like that in my first post

(1-2/2)