-
-
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
Xercesc error installation problem. #5632
Comments
I have the same error |
Same error, it sames that https://github.com/carla-simulator/carla/pull/5850 change the xercesc from 3.2.3 to 3.2.4 |
This error happens with both 3.2.3 and 3.2.4 versions of Xerces-C |
This error happens because your Windows machine is having trouble linking the correct unicode ( If you instead disable the |
Platform:
|
Hi @saandasa did u solve the probelm? |
So the changes I need to make is: set(XERCES_USE_TRANSCODER_ICU 0) TO set(XERCES_USE_TRANSCODER_ICU 1) Right? |
The issue could be solved by below settings in install_xercesc.bat cmake .. -G "Visual Studio 16 2019" -A x64^ |
If install fails due to XCERES, change line 54 in "..\carla\Util\InstallersWin\install_xercesc.bat" change https://downloads.apache.org/xerces/c/3/sources/xerces-c-%XERCESC_VERSION%.zip to https://archive.apache.org/dist/xerces/c/3/sources/xerces-c-%XERCESC_VERSION%.zip |
that works for me! thanks |
Hi, these links are showing: '404 Not Found' , How can i proceed? |
Change the U will find the file here: Else u can download it manually from here: |
|
No problem! What do you mean by quick install? Will you be using a pre-built package? If so, then u can run |
This was helpful, thanks. |
tanks.helpful |
I'm having problems with Xercesc installing incorrectly in version 0.9.13 on Win11.
`H:\carla\carla>make PythonAPI
-[Setup]: [Batch params]: --boost-toolset msvc-14.2 --all
-[Setup]: Asynchronous jobs: 16
-[Setup]: Boost toolset: msvc-14.2
-[Setup]: Install directory: "H:\carla\carla\Build"
-[Setup]: Installing zlib...
-[install_zlib]: [Batch params]: --build-dir "H:\carla\carla\Build"
-[install_zlib]: A zlib installation already exists.
-[install_zlib]: Delete "H:\carla\carla\Build\zlib-install" if you want to force a rebuild.
-[install_zlib]: Exiting...
-[Setup]: Installing libpng...
-[install_libpng]: [Batch params]: --build-dir "H:\carla\carla\Build" --zlib-install-dir "H:\carla\carla\Build\zlib-install"
-[install_libpng]: A libpng installation already exists.
-[install_libpng]: Delete "H:\carla\carla\Build\libpng-1.2.37-install" if you want to force a rebuild.
-[install_libpng]: Exiting...
-[Setup]: Installing rpclib...
-[install_rpclib]: [Batch params]: --build-dir "H:\carla\carla\Build"
-[install_rpclib]: A rpclib installation already exists.
-[install_rpclib]: Delete "H:\carla\carla\Build\rpclib-install" if you want to force a rebuild.
-[install_rpclib]: Exiting...
-[Setup]: Installing Google Test...
-[install_gtest]: [Batch params]: --build-dir "H:\carla\carla\Build"
-[install_gtest]: A Google Test installation already exists.
-[install_gtest]: Delete "H:\carla\carla\Build\gtest-install" if you want to force a rebuild.
-[install_gtest]: Exiting...
-[Setup]: Installing "Recast & Detour"...
-[install_recast]: [Batch params]: --build-dir "H:\carla\carla\Build"
-[install_recast]: A "Recast & Detour" installation already exists.
-[install_recast]: Delete "H:\carla\carla\Build\recast-0b13b0-install" if you want to force a rebuild.
-[install_recast]: Exiting...
-[Setup]: Installing Boost...
-[install_boost]: [Batch params]: --build-dir "H:\carla\carla\Build" --toolset msvc-14.2 --version 1.72.0 -j 16
-[install_boost]: A Boost installation already exists.
-[install_boost]: Delete "H:\carla\carla\Build\boost-1.72.0-install" if you want to force a rebuild.
-[install_boost]: Exiting...
已复制 1 个文件。
已复制 1 个文件。
-[Setup]: Installing Xercesc...
-[install_xercesc]: [Batch params]: --build-dir "H:\carla\carla\Build"
-[install_xercesc]: A xerces installation already exists.
-[install_xercesc]: Delete "H:\carla\carla\Build\xerces-c-3.2.3-install" if you want to force a rebuild.
-[install_xercesc]: Exiting...
系统找不到指定的文件。
-[Setup]: Installing Sqlite3
-[install_sqlite3]: [Batch params]: --build-dir "H:\carla\carla\Build"
-[install_sqlite3]: A Sqlite3 installation already exists.
-[install_sqlite3]: Delete "H:\carla\carla\Build\sqlite3-install" if you want to force a rebuild.
-[install_sqlite3]: Exiting...
已复制 1 个文件。
-[Setup]: Installing PROJ
-[install_proj]: [Batch params]: --build-dir "H:\carla\carla\Build"
-[install_proj]: A PROJ installation already exists.
-[install_proj]: Delete "H:\carla\carla\Build\proj-install" if you want to force a rebuild.
-[install_proj]: Exiting...
已复制 1 个文件。
-[Setup]: Creating "CMakeLists.txt.in"...
-[Setup]:
###########
SUCCESS
###########
IMPORTANT!
All the CARLA library dependences should be installed now.
(You can remove all "*-src" folders in H:\carla\carla\Build\ directory)
You only need the ASSET PACK with all the meshes and textures.
This script provides the assets for CARLA 0.9.13:
You can download the assets from here:
Unzip it in the "H:\carla\carla\Unreal\CarlaUE4\Content\Carla" folder.
If you want another version, search it in H:\carla\carla\Util\ContentVersions.txt.
-[BuildLibCarla]: [Batch params]: --server --client
-- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.22000.
-- Build debug: ON
-- Build release: ON
-- Build test: ON
-- Configuring done
-- Generating done
-- Build files have been written to: H:/carla/carla/Build/libcarla-visualstudio
用于 .NET Framework 的 Microsoft (R) 生成引擎版本 16.11.2+f32259642
版权所有(C) Microsoft Corporation。保留所有权利。
carla_server.vcxproj -> H:\carla\carla\Build\libcarla-visualstudio\LibCarla\cmake\server\Release\carla_server.lib
carla_server_debug.vcxproj -> H:\carla\carla\Build\libcarla-visualstudio\LibCarla\cmake\server\Release\carla_server_debug.lib
-- Install configuration: "Release"
-- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.22000.
-- Build debug: ON
-- Build release: ON
-- Build test: ON
-- Configuring done
-- Generating done
-- Build files have been written to: H:/carla/carla/Build/libcarla-visualstudio
用于 .NET Framework 的 Microsoft (R) 生成引擎版本 16.11.2+f32259642
版权所有(C) Microsoft Corporation。保留所有权利。
carla_client.vcxproj -> H:\carla\carla\Build\libcarla-visualstudio\LibCarla\cmake\client\Release\carla_client.lib
carla_client_debug.vcxproj -> H:\carla\carla\Build\libcarla-visualstudio\LibCarla\cmake\client\Release\carla_client_debug.lib
-- Install configuration: "Release"
-[BuildLibCarla]: LibCarla server has been successfully installed in "H:\carla\carla\Unreal\CarlaUE4\Plugins\Carla\CarlaDependencies"!
-[BuildLibCarla]: LibCarla client has been successfully installed in "H:\carla\carla\PythonAPI\carla\dependencies"!
-[BuildOSM2ODR]: [Batch params]: --build --all
HEAD is now at ee0c2b9241 Removed debug warnings
-- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.22000.
-- CMAKE_BINARY_DIR: H:/carla/carla/Build/osm2odr-visualstudio
-- CMAKE_SOURCE_DIR: H:/carla/carla/Build/om2odr-source
-- Platform:
-- Host: Windows-10.0.22000 AMD64
-- Target: Windows-10.0.22000 AMD64
-- CMake: 3.24.0-rc2
-- CMake generator: Visual Studio 16 2019
-- CMake build tool: D:/Program Files (x86)/Visual Studio/MSBuild/Current/Bin/MSBuild.exe
-- Compiler: MSVC 19.29.30146.0
CMake Error at C:/Program Files/CMake/share/cmake-3.24/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Failed to find XercesC (missing: XercesC_VERSION)
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.24/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
C:/Program Files/CMake/share/cmake-3.24/Modules/FindXercesC.cmake:112 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:71 (find_package)
-- Configuring incomplete, errors occurred!
See also "H:/carla/carla/Build/osm2odr-visualstudio/CMakeFiles/CMakeOutput.log".
用于 .NET Framework 的 Microsoft (R) 生成引擎版本 16.11.2+f32259642
版权所有(C) Microsoft Corporation。保留所有权利。
MSBUILD : error MSB1009: 项目文件不存在。
开关:install.vcxproj
-[BuildOSM2ODR]: OSM2ODR has been successfully installed in "H:\carla\carla\PythonAPI\carla\dependencies"
-[BuildPythonAPI]: [Batch params]: --py3
Building Python API for Python 3.
compiling:
running bdist_egg
running egg_info
writing source\carla.egg-info\PKG-INFO
writing dependency_links to source\carla.egg-info\dependency_links.txt
writing top-level names to source\carla.egg-info\top_level.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.win-amd64\egg
D:\app\anacanda\lib\site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
running install_lib
running build_py
running build_ext
building 'carla.libcarla' extension
"D:\Program Files (x86)\Visual Studio\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -Idependencies/include -ID:\app\anacanda\include -ID:\app\anacanda\Include "-ID:\Program Files (x86)\Visual Studio\VC\Tools\MSVC\14.29.30133\ATLMFC\include" "-ID:\Program Files (x86)\Visual Studio\VC\Tools\MSVC\14.29.30133\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt" "-ID:\Program Files (x86)\Visual Studio\VC\Tools\MSVC\14.29.30133\ATLMFC\include" "-ID:\Program Files (x86)\Visual Studio\VC\Tools\MSVC\14.29.30133\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.19041.0\cppwinrt" /EHsc /Tpsource/libcarla/libcarla.cpp /Fobuild\temp.win-amd64-cpython-38\Release\source/libcarla/libcarla.obj /experimental:external /external:W0 /external:I dependencies/include/system /DBOOST_ALL_NO_LIB /DBOOST_PYTHON_STATIC_LIB /DBOOST_ERROR_CODE_HEADER_ONLY /D_WIN32_WINNT=0x0600 /DHAVE_SNPRINTF /DLIBCARLA_WITH_PYTHON_SUPPORT -DLIBCARLA_IMAGE_WITH_PNG_SUPPORT=true /MD
libcarla.cpp
dependencies/include\carla/road/element/RoadInfoMarkRecord.h(1): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件 保存为 Unicode 格式以防止数据丢失
"D:\Program Files (x86)\Visual Studio\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\link.exe" /nologo /INCREMENTAL:NO /LTCG /DLL /MANIFEST:EMBED,ID=2 /MANIFESTUAC:NO /LIBPATH:dependencies/lib /LIBPATH:D:\app\anacanda\libs /LIBPATH:D:\app\anacanda /LIBPATH:D:\app\anacanda\PCbuild\amd64 "/LIBPATH:D:\Program Files (x86)\Visual Studio\VC\Tools\MSVC\14.29.30133\ATLMFC\lib\x64" "/LIBPATH:D:\Program Files (x86)\Visual Studio\VC\Tools\MSVC\14.29.30133\lib\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\lib\um\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.19041.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.19041.0\um\x64" "/LIBPATH:D:\Program Files (x86)\Visual Studio\VC\Tools\MSVC\14.29.30133\ATLMFC\lib\x64" "/LIBPATH:D:\Program Files (x86)\Visual Studio\VC\Tools\MSVC\14.29.30133\lib\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\lib\um\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.19041.0\ucrt\x64" "/LIBPATH:C:\Program Files (x86)\Windows Kits\10\lib\10.0.19041.0\um\x64" /EXPORT:PyInit_libcarla build\temp.win-amd64-cpython-38\Release\source/libcarla/libcarla.obj /OUT:build\lib.win-amd64-cpython-38\carla\libcarla.cp38-win_amd64.pyd /IMPLIB:build\temp.win-amd64-cpython-38\Release\source/libcarla\libcarla.cp38-win_amd64.lib shlwapi.lib Advapi32.lib ole32.lib shell32.lib H:\carla\carla\PythonAPI\carla\dependencies/lib\carla_client.lib H:\carla\carla\PythonAPI\carla\dependencies/lib\Detour.lib H:\carla\carla\PythonAPI\carla\dependencies/lib\DetourCrowd.lib H:\carla\carla\PythonAPI\carla\dependencies/lib\libboost_filesystem-vc142-mt-x64-1_72.lib H:\carla\carla\PythonAPI\carla\dependencies/lib\libboost_python38-vc142-mt-x64-1_72.lib H:\carla\carla\PythonAPI\carla\dependencies/lib\libpng.lib H:\carla\carla\PythonAPI\carla\dependencies/lib\osm2odr.lib H:\carla\carla\PythonAPI\carla\dependencies/lib\proj.lib H:\carla\carla\PythonAPI\carla\dependencies/lib\Recast.lib H:\carla\carla\PythonAPI\carla\dependencies/lib\rpc.lib H:\carla\carla\PythonAPI\carla\dependencies/lib\sqlite3.lib H:\carla\carla\PythonAPI\carla\dependencies/lib\xerces-c_3.lib H:\carla\carla\PythonAPI\carla\dependencies/lib\zlib.lib
正在创建库 build\temp.win-amd64-cpython-38\Release\source/libcarla\libcarla.cp38-win_amd64.lib 和对象 build\temp.win-amd64-cpython-38\Release\source/libcarla\libcarla.cp38-win_amd64.exp
xerces-c_3.lib(ICUTransService.obj) : error LNK2001: 无法解析的外部符号 u_strlen_58
xerces-c_3.lib(ICUTransService.obj) : error LNK2001: 无法解析的外部符号 u_tolower_58
xerces-c_3.lib(ICUTransService.obj) : error LNK2001: 无法解析的外部符号 u_toupper_58
xerces-c_3.lib(ICUTransService.obj) : error LNK2001: 无法解析的外部符号 u_foldCase_58
xerces-c_3.lib(ICUTransService.obj) : error LNK2001: 无法解析的外部符号 UCNV_FROM_U_CALLBACK_STOP_58
xerces-c_3.lib(ICUTransService.obj) : error LNK2001: 无法解析的外部符号 UCNV_FROM_U_CALLBACK_SUBSTITUTE_58
xerces-c_3.lib(ICUTransService.obj) : error LNK2001: 无法解析的外部符号 ucnv_open_58
xerces-c_3.lib(ICUTransService.obj) : error LNK2001: 无法解析的外部符号 ucnv_openU_58
xerces-c_3.lib(ICUTransService.obj) : error LNK2001: 无法解析的外部符号 ucnv_close_58
xerces-c_3.lib(ICUTransService.obj) : error LNK2001: 无法解析的外部符号 ucnv_getMaxCharSize_58
xerces-c_3.lib(ICUTransService.obj) : error LNK2001: 无法解析的外部符号 ucnv_getMinCharSize_58
xerces-c_3.lib(ICUTransService.obj) : error LNK2001: 无法解析的外部符号 ucnv_setFromUCallBack_58
xerces-c_3.lib(ICUTransService.obj) : error LNK2001: 无法解析的外部符号 ucnv_fromUnicode_58
xerces-c_3.lib(ICUTransService.obj) : error LNK2001: 无法解析的外部符号 ucnv_toUnicode_58
xerces-c_3.lib(ICUTransService.obj) : error LNK2001: 无法解析的外部符号 ucnv_fromUChars_58
xerces-c_3.lib(ICUTransService.obj) : error LNK2001: 无法解析的外部符号 ucnv_toUChars_58
xerces-c_3.lib(RangeToken.obj) : error LNK2001: 无法解析的外部符号 uset_openPatternOptions_58
xerces-c_3.lib(RangeToken.obj) : error LNK2001: 无法解析的外部符号 uset_close_58
xerces-c_3.lib(RangeToken.obj) : error LNK2001: 无法解析的外部符号 uset_serialize_58
xerces-c_3.lib(RangeToken.obj) : error LNK2001: 无法解析的外部符号 uset_getSerializedSet_58
xerces-c_3.lib(RangeToken.obj) : error LNK2001: 无法解析的外部符号 uset_setSerializedToOne_58
xerces-c_3.lib(RangeToken.obj) : error LNK2001: 无法解析的外部符号 uset_getSerializedRangeCount_58
xerces-c_3.lib(RangeToken.obj) : error LNK2001: 无法解析的外部符号 uset_getSerializedRange_58
xerces-c_3.lib(XMLUniCharacter.obj) : error LNK2001: 无法解析的外部符号 u_charType_58
build\lib.win-amd64-cpython-38\carla\libcarla.cp38-win_amd64.pyd : fatal error LNK1120: 24 个无法解析的外部命令
error: command 'D:\Program Files (x86)\Visual Studio\VC\Tools\MSVC\14.29.30133\bin\HostX86\x64\link.exe' failed with exit code 1120
-[BuildPythonAPI]: Carla lib for python has been successfully installed in "H:\carla\carla\PythonAPI\carla\dist"!`
The text was updated successfully, but these errors were encountered: