-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
'PythonAPI' failed #1919
Comments
Which version of clang do you have installed? Your error message mentions clang-6.0 but the Linux Instructions try to install clang-7. |
At first, I installed clang-7 then I installed clang-6 as it was requested after that. |
Basically I have the same issue on Mac OS 10.13.6 using macports. Even after installing clang-6.0 with
the problem persists.
|
On Mac, I would recommend using the version of Xcode used to build the standard Unreal Engine distribution (e.g. Xcode 10.1 for Unreal 4.22) and then just use the system clang. |
@analog-cbarber - thx for the hint but how do i tell the make system to do this? |
It is documented in Docs/how_to_build_on_mac.md on my fork. You need to install the right version of Xcode, which you may have to get from developer.apple.com. If you have more than one version of xcode installed. You need to select the appropriate version using In any case, I would not expect you to be able to compile 0.9.6 from the master branch on a Mac. You will need a number of changes that are on my fork. I believe that my mac-build-0.9 branch is synced with CARLA 0.9.4. Is that what you are trying to build? |
I'm going from #150 and have commented there that my progress can be seen at http://wiki.bitplan.com/index.php/Car_simulation_software#Carla. I am using the mentioned branch and xcode in principle. I could also use clang-7.0 or clang-6.0 from the macports project if that helps. The issues seem to be endless - is that the reason "EpicGames" used "epic" in their name? :-) |
I don't know what "going from #150" means given that there are a number of different suggestions for how to build. I have explicit instructions on my fork. Mixing and matching various peoples suggestions may not work. Note that if you change anything in your environment you may need to blow away your Build subdirectory and build from scratch. |
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. |
I have found that it was because of the network firewall. Although, it was working well with clang6 and clang8 servers. It was preventing the connection with Clang 7 servers. When I changed the network the issue is solved. |
Hello Everyone,
Unfortunately, my "make PythonAPI" command fails.
Carla version 0.9.6
Ubuntu 18.041
Unreal Engine 4.22.3
The error message is below. Can you help me?
make PythonAPI # Compiles the PythonAPI module necessary for running the Python examples.
Setup.sh: llvm-7.0 already installed.
Setup.sh: boost-1.69.0-c7 already installed.
Setup.sh: rpclib-v2.2.1_c2-c7 already installed.
Setup.sh: gtest-1.8.1-c7 already installed.
Setup.sh: recast-c7 already installed.
Setup.sh: CARLA version 0.9.6-dirty.
Setup.sh: Generating CMake configuration files.
Setup.sh: Success!
BuildLibCarla.sh: Building LibCarla "Client.Release" configuration.
ninja: no work to do.
[0/1] Install the project...
-- Install configuration: "Client"
BuildLibCarla.sh: Success!
BuildPythonAPI.sh: Building Python API for Python 2.
compiling:
running bdist_egg
running egg_info
writing source/carla.egg-info/PKG-INFO
writing top-level names to source/carla.egg-info/top_level.txt
writing dependency_links to source/carla.egg-info/dependency_links.txt
reading manifest file 'source/carla.egg-info/SOURCES.txt'
writing manifest file 'source/carla.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
running build_ext
building 'carla.libcarla' extension
clang-6.0 -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fdebug-prefix-map=/build/python2.7-MW0004/python2.7-2.7.15=. -fstack-protector-strong -Wformat -Werror=format-security -fPIC -Idependencies/include -I/usr/lib/gcc/x86_64-redhat-linux/7/include -I/usr/include/python2.7 -c source/libcarla/libcarla.cpp -o build/temp.linux-x86_64-2.7/source/libcarla/libcarla.o -isystem dependencies/include/system -fPIC -std=c++14 -Werror -Wall -Wextra -Wpedantic -Wno-self-assign-overloaded -Wdeprecated -Wno-shadow -Wuninitialized -Wunreachable-code -Wpessimizing-move -Wold-style-cast -Wnull-dereference -Wduplicate-enum -Wnon-virtual-dtor -Wheader-hygiene -Wconversion -Wfloat-overflow-conversion -DBOOST_ERROR_CODE_HEADER_ONLY -DLIBCARLA_WITH_PYTHON_SUPPORT -DLIBCARLA_IMAGE_WITH_PNG_SUPPORT=true
error: unknown warning option '-Wno-self-assign-overloaded'; did you mean
'-Wno-self-assign-field'? [-Werror,-Wunknown-warning-option]
error: command 'clang-6.0' failed with exit status 1
Util/BuildTools/Linux.mk:80: recipe for target 'PythonAPI' failed
make: *** [PythonAPI] Error 1
The text was updated successfully, but these errors were encountered: