Open
Description
Trying to build Imath with the attached setup gives me:
Executing: c:\program files (x86)\microsoft visual studio\2017\community\common7\ide\commonextensions\microsoft\cmake\cmake\bin\cmake.exe C:\Users\anders\AppData\Local\Temp\rez-cook\imath\3.0.5 -Wno-dev -DCMAKE_ECLIPSE_GENERATE_SOURCE_PROJECT=TRUE -D_ECLIPSE_VERSION=4.3 --no-warn-unused-cli -DCMAKE_INSTALL_PREFIX=c:\users\anders\packages\imath\3.0.5 -DCMAKE_MODULE_PATH=%CMAKE_MODULE_PATH% -DCMAKE_BUILD_TYPE=Release -DREZ_BUILD_TYPE=local -DREZ_BUILD_INSTALL=0 -G NMake Makefiles
Initialize visual studio developer cmd env..
Not searching for unused variables given on the command line.
-- The C compiler identification is MSVC 19.16.27034.0
-- The CXX compiler identification is MSVC 19.16.27034.0
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe
CMake Error at C:/Users/anders/AppData/Local/Temp/rez-cook/imath/3.0.5/build/CMakeFiles/CMakeTmp/CMakeLists.txt:2 (set):
Syntax error in cmake code at
C:/Users/anders/AppData/Local/Temp/rez-cook/imath/3.0.5/build/CMakeFiles/CMakeTmp/CMakeLists.txt:2
when parsing string
c:\opt\rez\lib\site-packages\rezplugins\build_system\cmake_files
Invalid character escape '\o'.
Environment
- OS Windows 10
- Rez version HEAD
- Rez python version 3.6.8
To Reproduce
- Extract attached zip somewhere and cd
- Remove package 'vs' from build_requires in package.py and make sure you're in a visual studio dev env
- run rez-build