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

demanding standardprojectsettings while building #2196

Open
beyond-space21 opened this issue Jan 3, 2025 · 1 comment
Open

demanding standardprojectsettings while building #2196

beyond-space21 opened this issue Jan 3, 2025 · 1 comment

Comments

@beyond-space21
Copy link

beyond-space21 commented Jan 3, 2025

~/CuraEngine$ mkdir build
~/CuraEngine$ cd build/
~/CuraEngine/build$ cmake ..

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

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

    standardprojectsettingsConfig.cmake
    standardprojectsettings-config.cmake

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

I tried
~/CuraEngine$ git clone https://github.com/Ultimaker/conan-ultimaker-index.git

Then in CMakeList.txt
set(standardprojectsettings_DIR "/home/anand/CuraEngine/conan-ultimaker-index/recipes/standardprojectsettings/all")

at the top of the file.
Still i see the same error as above.

I have also tried changing the file name from home/anand/CuraEngine/conan-ultimaker-index/recipes/standardprojectsettings/all/standardprojectsettings.cmake to home/anand/CuraEngine/conan-ultimaker-index/recipes/standardprojectsettings/all/standardprojectsettingsConfig.cmake

Any help is welcomed

@Qu-Dasheng
Copy link

alter curaengine root CMakeLists.txt, add following before find_package(standardprojectsettings REQUIRED)

DEBUG
set(CMAKE_PREFIX_PATH "YOUR_CURAENGINE_PATH/build/Debug/generators"

RELEASE
set(CMAKE_PREFIX_PATH "YOUR_CURAENGINE_PATH/build/Release/generators"

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

2 participants