carla-simulator / carla

Open-source simulator for autonomous driving research.
http://carla.org
MIT License
11.42k stars 3.7k forks source link

make rebuild fails because of missing directories #4835

Open thbake opened 3 years ago

thbake commented 3 years ago

Hi Carla Team!

I am having some trouble with the command make rebuild. After following your guide on how to create sensors one is supposed to rebuild the project, but I get the following error:

x86_64-linux-gnu-gcc: error: /home/bake/carla/PythonAPI/carla/dependencies/lib/libxerces-c.a: No such file or directory
x86_64-linux-gnu-gcc: error: /home/bake/carla/PythonAPI/carla/dependencies/lib/libproj.a: No such file or directory
x86_64-linux-gnu-gcc: error: /home/bake/carla/PythonAPI/carla/dependencies/lib/libsqlite3.a: No such file or directory
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1
make: *** [Util/BuildTools/Linux.mk:38: rebuild] Error 1

I don't know why this is the case since I installed all the dependencies and I also was able to build and launch Carla successfully. Do you have any input on this?

Thanks in advance.

CARLA version: 0.9.12 Platform/OS: Ubuntu 20.04

Cenbylin commented 2 years ago

I have the same issue. The system is Ubuntu 20 as well.

MaikolDrechsler commented 2 years ago

I am facing the same issue. Also in Ubuntu 20.04. and Carla Version 0.9..12. Did you find any solution?

Thank you in advance

thbake commented 2 years ago

Hey guys! No, I haven't I am first trying to integrate LibCarla in a different way and waiting for a response of the developers. If someone replies or I find I way I'll let you know

IKAROS93 commented 2 years ago

the solution is: DO NOT make rebuild just make clean and make PythonAPI and make launch

ucbmpc2021 commented 2 years ago

@MaikolDrechsler @thbake Same issue here! Have you found a solution?

MaikolDrechsler commented 2 years ago

@ucbmpc2021 I am just using make launch. If you really need to do a rebuild, you can manually copy the three libraries.

In this case:

It is just a workaround, but it worked for me. OBS: In the same way, you will need to make launch to initiate the simulator

ucbmpc2021 commented 2 years ago

@MaikolDrechsler Thanks for your tips! Very helpful.

Bonifatius94 commented 2 years ago

I'm trying to build the code inside Docker, so make launch isn't an option for me. Can someone please fix the make rebuild command? :wink:

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.