Adamcake / Bolt

An alternative launcher for your favourite MMO
GNU Affero General Public License v3.0
122 stars 18 forks source link

CMake Error on Windows #49

Open ExemplaryFF opened 2 weeks ago

ExemplaryFF commented 2 weeks ago

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!```
Adamcake commented 2 weeks ago

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.