Guild icon
DDraceNetwork
DDraceNetwork / questions
For newcomers to ask questions and get help. Also check https://wiki.ddnet.org/wiki/FAQ
Between 2024-07-11 00:00 and 2024-07-12 00:00
Avatar
Actually I am building on a different computer to the one I am having problems with so the problem could come from this
00:01
(I am quite a beginner with c++)
Avatar
Avatar
lomi
libGLEW.so.2.1 => /usr/lib/x86_64-linux-gnu/libGLEW.so.2.1 (0x00007f56bfab4000)
However I checked the link target and it should be fine (on both computers)
Avatar
Ah, now that would explain a lot
00:02
Do the ldd on your target computer
Avatar
libGLEW.so.2.1 => not found
00:03
You're right
00:05
How to specify the correct location of the library ?
Avatar
Where is it on the target?
00:10
It should be in /usr/lib and if it were in /usr/lib ld would have found it, so I'm unsure whether the target device is sane
00:12
ldconfig -v to see what paths are searched
Avatar
Avatar
Learath2
It should be in /usr/lib and if it were in /usr/lib ld would have found it, so I'm unsure whether the target device is sane
For libglew, it is. The path is the same as the one of my computer I am building on
00:13
Some other libs are not found but I didn't check
Avatar
Are the computers of the same architecture?
Avatar
I need go to sleep. Try adding the exact path manually LD_LIBRARY_PATH=<correct-path-here> ./DDNet Try enabling ld-debug LD_DEBUG=libs ./DDNet Or try both (edited)
00:16
Try to preload the lib so ld doesn't search for it LD_PRELOAD=<correct-path-here>/libGLEW.so.2.1 ./DDNet
00:16
Good night, good luck
Avatar
Thanks for your patience and help! Good night
Avatar
Avatar
lomi
Actually I am building on a different computer to the one I am having problems with so the problem could come from this
On Linux building on one system for another is a big mess
😢 1
Avatar
hi is there a bind just makes ur dummy jump?
Avatar
Avatar
erengety
hi is there a bind just makes ur dummy jump?
no
Avatar
are u sure
Avatar
there is at least this in the commandlist, you could try
11:22
but i think ive heard it doesn work for all servers(?) not sure
Avatar
thx screeny
Avatar
Avatar
erengety
are u sure
cl_dummy_control is made very poorly, many bugs, but you can use it with suffering can use bind like this bind w "+toggle cl_dummy_control 1 0;+toggle cl_dummy_jump 1 0" work sometimes justatest
11:49
better do fast switch or enjoy copy moves
Avatar
what are the defaults for cl_skin_download_url and cl_skin_community_download_url? I changed mine but I want the defaults back now. in general is there a way to see defaults of settings somewhere
Avatar
on wiki
12:20
settings and commands
Avatar
i think u can also use reset like so reset cl_skin_download_url now
poggers2 3
Avatar
Avatar
deen
On Linux building on one system for another is a big mess
Building with DPREFER_BUNDLED_LIBS enabled solved the issue for some libraries but there are still 5 libraries that are missing... And sadly I cannot install the required versions because ubuntu is ahead of debian in terms of packages versions I will try to build on ubuntu instead of debian
13:14
Thanks for helping ^^
Avatar
What is your goal btw? Building a custom client?
13:54
My approach to that is using a very old Debian version to build on
Avatar
No no I don't know c++ at all
18:08
I would like to try the new commits pushed after the last release
Avatar
Avatar
deen
My approach to that is using a very old Debian version to build on
Hmm, don't you have problems with some libraries that are required in a too old version to be installed on more recent os ?
Avatar
we ship those with the bundled libs
Avatar
Is it easy to manage what libraries should be bundled ?
Avatar
(I planned anyway to change the computer I am building on to ubuntu instead of debian to match my laptop)
Exported 43 message(s)
Timezone: UTC+0