-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
Windows 10: make PythonAPI stops at BuildOSM2ODR, CMAKE build error #6898
Comments
same issue for me. cmake -G %GENERATOR% %PLATFORM%^ to cmake -G %GENERATOR% -A x64^ then the error: hope this helps |
Great!!! |
Thank you so much @Lyanyv |
BuildOSM2ODR.bat script has:
so it should use
to get access to variable values. For example, these commands:
return
The space here in the set operation "-A x64" is causing the problem. To fix the issue, change this line:
by
|
thanks a lot ! it works! |
Does anyone know why the OSM2ODR.bat file on line 112 does not appear for me:
It seems that my OSM2ODR.bat file has been build in a different way than expected... #! /bin/bash USAGE_STRING=$(cat <<- END commands
END REMOVE_INTERMEDIATE=false OPTS= eval set -- "$OPTS" while [[ $# -gt 0 ]]; do source $(dirname "$0")/Environment.sh function get_source_code_checksum { if ! { ${REMOVE_INTERMEDIATE} || ${BUILD_OSM2ODR}; }; then ==============================================================================-- Clean intermediate files --------------------------------------------------==============================================================================if ${REMOVE_INTERMEDIATE} ; then log "Cleaning intermediate files and folders." rm -Rf ${OSM2ODR_BUILD_FOLDER}* fi ==============================================================================-- Build library -------------------------------------------------------------==============================================================================if ${BUILD_OSM2ODR} ; then [ ! -d ${OSM2ODR_BUILD_FOLDER} ] && mkdir ${OSM2ODR_BUILD_FOLDER}if ${GIT_PULL} ; then mkdir -p ${OSM2ODR_BUILD_FOLDER} export CC="$UE4_ROOT/Engine/Extras/ThirdPartyNotUE/SDKs/HostLinux/Linux_x64/v17_clang-10.0.1-centos7/x86_64-unknown-linux-gnu/bin/clang" cmake ${OSM2ODR_SOURCE_FOLDER} ninja osm2odr mkdir -p ${OSM2ODR_SERVER_BUILD_FOLDER} LLVM_BASENAME=llvm-8.0 echo $LLVM_INCLUDE cmake ${OSM2ODR_SOURCE_FOLDER} ninja osm2odr mkdir -p ${OSM2ODR_SERVER_BUILD_FOLDER} LLVM_BASENAME=llvm-8.0 cmake ${OSM2ODR_SOURCE_FOLDER} ninja osm2odr fi log " OSM2ODR Success!" |
That's the "BuildOSM2ODR.sh" File, not the bat file. |
Thanks it worked! |
After I run this, I get this. I don't know why dependencies/include\carla/road/element/RoadInfoMarkRecord.h(1): warning C4819: 该文件包含不能在当前代码页(936)中表示的 字符。请将该文件保存为 Unicode 格式以防止数据丢失 |
@Jenson66 Rerun |
I encountered the same problem, how did you solve it? |
Hi,
I am trying to build the Carla 0.9.15 latest source code on Windows 10.
When I do make PythonAPI in Visual studio 19 x64 command prompt, the process stops
at BuildOSM2ODR with CMAKE error.
I think CMAKE cannot generate the visual studio project folder for osm2odr may be because of
CMAKE configuration issues in Util\BuildTools\BuildOSM2ODR.bat
There are also no issues with the installation of xerces-c_3.lib while doing make PythonAPI.
Can anyone suggest any solution to the problem?
Thank you.
The text was updated successfully, but these errors were encountered: