Bolt icon indicating copy to clipboard operation
Bolt copied to clipboard

CMake Error on Windows

Open ExemplaryFF opened this issue 1 year ago • 1 comments

I've tried following the README steps for a windows build but am receiving the following error when executing cmake -S . -B build -G "Visual Studio 17"

-- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.26100.
CMake Error at CMakeLists.txt:371 (target_include_directories):
  Cannot specify include directories for target "bolt-plugin" which is not
  built by this project.


CMake Error at CMakeLists.txt:372 (target_link_libraries):
  Cannot specify link libraries for target "bolt-plugin" which is not built
  by this project.


-- Configuring incomplete, errors occurred!```

ExemplaryFF avatar Jun 15 '24 08:06 ExemplaryFF

It's been quite a while since I tried to get this to build on Windows. In this case, I think you could just specify -D BOLT_SKIP_LIBRARIES=1 in the command. That would mean the plugin library won't be built, but that's nowhere near being able to work on Windows, anyway.

Adamcake avatar Jun 15 '24 11:06 Adamcake

Windows builds now work correctly with or without the plugin library so closing this.

Adamcake avatar Oct 15 '24 16:10 Adamcake