-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make launch error on ubuntu 16.04, recipe for target 'setup' failed #2735
Comments
I was able to resolve this issue as following. I searched for -I${LLVM_INCLUDE}. There are two places and This solves the problem for me. |
Hi, @GimpelZhang ! Did the solution provided by @villie17 served you well? |
Thanks! But I have not tried that solution yet. |
I tried the solution provided by @villie17 It seems that the "Setup.sh: Building rpclib with libc++" step has been passed, but in the step of "BuildLibCarla.sh: Building LibCarla "Server.Release" configuration" I still have many errors. And the strange thing is the errors are in the similar type. Here follows only part of the screen output.
|
@GimpelZhang Its same for me with "make launch". Only "make setup" stage passed via solution i presented. |
I can confirm that I am having the exact same issue on Ubuntu 18.04. I followed the recommendation of @villie17 and had the same results. |
I did some experiments, and I was able to build in an Ubuntu 16.04 Docker container, where I followed the exact instructions presented in the Carla documentation, and it worked fine. So there must be some issue with the way our systems are set up. Unfortunately, I don't know enough about this to be of any use with finding the root cause. If anyone wants it, here is the Dockerfile I used. I would not recommend actually using it, because I ended up making questionable use of user IDs and volumes so that I could build carla in Docker, then run it on the host machine. |
I am trying to build it for ubuntu18.04 with the solution provided by @villie17 , it passes one step but gets stuck on other here are my terminal outputs. 7 errors generated. |
I had also the same issue on Ubuntu 18.04 and for me it seemed to be a problem with the version of clang. After removing all the installed versions of clang and llvm, I reinstall them following carefully the instructions on the carla documentation: https://carla.readthedocs.io/en/latest/build_linux/ at section 'Dependencies' and then it was working. I hope this is useful. |
Thanks for your advice. However, that method does not work. I still have the same issue I posted. |
I provided a suggestion to solve the error in rpclib compilation part. However afterwards errors of the form So I followed the suggestion by @DSantosO and removed all clang versions as well as all llvm also. Afterwards I reinstalled clang-8 only The original issue in rpclib as pointed by @GimpelZhang was still there and that The strtol errors were all resolved though by removing all clang versions and installing clang-8 only. For rpclib compilation I still have to do a hack of adding nostdinc++ flag. |
@bernatx this requires your attention. Any ideas? |
Thanks for the good suggestions from @villie17 Finally I got this problem solved. Because I found an update on https://carla.readthedocs.io/en/latest/build_linux/ in "Requirements-system specifics" part:
Meanwhile, I was still trying to "make launch" the newest fetch from the git master branch. So I changed to the branch of 0.9.8, and implemented "make launch" again. After I made a few modifications according to the commit “UE4.22 to UE4.24 upgrade.", the "make launch" process finally succeeded with a CarlaUE4 Editor launched. In a word, on ubuntu 16.04, the newest branch which can be compiled should be 0.9.8. I think this issue can be closed now. Thanks to all the replies again! |
I solved this issue with the solution provided by @DSantosO. you may need to remove your old llvm-8 first:
|
I stuck at the step "make launch" when I build my carla by this link:
https://carla.readthedocs.io/en/latest/build_linux/
It seems something about the compiler installation went wrong so too many "no member named" errors occurred.
PS:
OS: Linux Ubuntu 16.04
Carla: master on carla github
UE4:4.24
cmake: 3.13.4
gcc/g++: 7.4.0
Here follows only part of the screen output in the "make launch" step.
Thanks!
The text was updated successfully, but these errors were encountered: