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

Please document in README where #65

Open
yurivict opened this issue Aug 6, 2022 · 0 comments
Open

Please document in README where #65

yurivict opened this issue Aug 6, 2022 · 0 comments

Comments

@yurivict
Copy link

yurivict commented Aug 6, 2022

Python binding's build fails:

Make Error at CMakeLists.txt:36 (find_package):
  By not providing "FindPythonExtensions.cmake" in CMAKE_MODULE_PATH this
  project has asked CMake to find a package configuration file provided by
  "PythonExtensions", but CMake did not find one.

  Could not find a package configuration file provided by "PythonExtensions"
  with any of the following names:

    PythonExtensionsConfig.cmake
    pythonextensions-config.cmake

  Add the installation prefix of "PythonExtensions" to CMAKE_PREFIX_PATH or
  set "PythonExtensions_DIR" to a directory containing one of the above
  files.  If "PythonExtensions" provides a separate development package or
  SDK, be sure it has been installed.

skbuild doesn't install such files.
The closest files that it installs are

/usr/local/lib/python3.9/site-packages/skbuild/resources/cmake/FindPythonExtensions.cmake
/usr/local/lib/python3.9/site-packages/skbuild/resources/cmake/UsePythonExtensions.cmake

Could you please document in the README where PythonExtensionsConfig.cmake is supposed to come from?

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