Skip to content

Make PythonAPI failing on Windows(CARLA 0.9.11): failed with exit status 1120 #4060

Open
@EchoYJJ

Description

@EchoYJJ

Hi! I'm trying to build CARLA 0.9.11 on windows.
After running "make PythonAPI", my [Setup] receive success. However, my [BuildLibCarla] ends up with warning below:
build\lib.win-amd64-3.8\carla\libcarla.cp38-win_amd64.pyd : fatal error LNK1120: 77 个无法解析的外部命令(unresolvable external commands)
error: command 'D:\VS2017\VC\Tools\MSVC\14.16.27023\bin\HostX86\x64\link.exe' failed with exit status 1120

Although it says "-[BuildPythonAPI]: Carla lib for python has been successfully installed in "D:\carla\PythonAPI\carla\dist"!",
dist doesn't show up in carla.

I also notice many warnings shows up like below:
libcarla.obj : error LNK2001: 无法解析的外部符号(unresolvable external commands) "class boost::python::handle __cdecl boost::python::objects::registered_class_object(struct boost::python::type_info)" (?registered_class_object@objects@python@boost@@ya?AV?$handle@U_typeobject@@@23@Utype_info@23@@z)

I've read #2348 and #2339, but couldn't find the solution.
If you know how to solve this issue, please give me some advices.
Thanks in advance!

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions