Problem on ubuntu 18.04 with make
xodosss opened this issue · comments
/usr/bin/ld: cannot find -lrcssclangparser
collect2: error: ld returned 1 exit status
Makefile:855: recipe for target 'rcssserver' failed
make[3]: *** [rcssserver] Error 1
make[3]: выход из каталога «/home/khodosss/Рабочий стол/rcssserver-15.4.0/src»
Makefile:721: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: выход из каталога «/home/khodosss/Рабочий стол/rcssserver-15.4.0/src»
Makefile:434: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: выход из каталога «/home/khodosss/Рабочий стол/rcssserver-15.4.0»
Makefile:366: recipe for target 'all' failed
make: *** [all] Error 2
Have you installed all necessary dependencies on your Linux distro?
yes :(
Follow this specific tutorial for Ubuntu, please.
https://herodrigues.me/robocup2d-tutorial/md_sections_installing-the-soccer-simulator.html
Reading package lists... Done
Building dependency tree
Reading state information... Done
bison is already the newest version (2:3.0.4.dfsg-1build1).
build-essential is already the newest version (12.4ubuntu1).
flex is already the newest version (2.6.4-6).
libaudio-dev is already the newest version (1.9.4-6).
libxt-dev is already the newest version (1:1.1.5-1).
libboost-all-dev is already the newest version (1.65.1.0ubuntu1).
qt4-dev-tools is already the newest version (4:4.8.7+dfsg-7ubuntu1).
g++ is already the newest version (4:7.4.0-1ubuntu2.3).
libgtk-3-dev is already the newest version (3.22.30-1ubuntu4).
0 upgraded, 0 newly installed, 0 to remove and 117 not upgraded.
and still same problem
Did you run ./configure
again after installing those packages I told you?
yes
I suggest you to start over again and remove all folders you have extracted there.
Make sure you have the correct dependencies installed and I'm sure it will work.
Also, try not to use special symbols in the folder such as Рабочий стол
.
thanks, now it works
@xodosss You can also start the rcssserver in a Docker container. I used to use this one https://hub.docker.com/r/orangefoil/rcssserver and it worked fine.