Skip to content
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

Python cmake path issues on windows #1246

Open
nicolemarsaglia opened this issue Jan 23, 2024 · 0 comments
Open

Python cmake path issues on windows #1246

nicolemarsaglia opened this issue Jan 23, 2024 · 0 comments

Comments

@nicolemarsaglia
Copy link
Contributor

Turning python=ON in windows build makes it very unhappy:

-- Found Python: C:/hostedtoolcache/windows/Python/3.7.9/x64/libs/python37.lib  
CMake Error at blt/cmake/BLTMacros.cmake:340 (cmake_parse_arguments):
  Syntax error in cmake code at

    D:/a/ascent/ascent/src/blt/cmake/BLTMacros.cmake:341

  when parsing string

    NAME;python;INCLUDES;C:\hostedtoolcache\windows\Python\3.7.9\x64\include;LIBRARIES;C:/hostedtoolcache/windows/Python/3.7.9/x64/libs/python37.lib

  Invalid character escape '\h'.
Call Stack (most recent call first):
  cmake/thirdparty/SetupPython.cmake:439 (blt_register_library)
  cmake/Setup3rdParty.cmake:18 (include)
  CMakeLists.txt:139 (include)


-- Configuring incomplete, errors occurred!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant