geck-map-editor icon indicating copy to clipboard operation
geck-map-editor copied to clipboard

failing to build

Open QuantumApprentice opened this issue 3 years ago • 2 comments

Sorry, not sure how else to contact you, but I tried downloading and building this mapper from the source, and I'm pretty new to this so I probably did something wrong, but I couldn't get it to build. For some reason, visual studio can't find three of the dependencies in main.cpp: cxxopts.hpp spdlog/spdlog.h portable-file-dialogs.h

I'm sure I'm doing something wrong through my ignorance, but if you have the time, would you help me out please?

QuantumApprentice avatar Apr 17 '22 00:04 QuantumApprentice

This is the right place to report issues! Perhaps I will also create a Discord channel.

I just reworked the dependency handling a bit and tested it using Visual Studio Community 2022. You still need vcpkg to install SFML but all the other dependencies are bundled as git submodules. You will need to initialize the submodules the first time using git bash:

  1. git pull
  2. git submodule update --init --recursive

Hopefully, the compilation will work now but if not post your Visual Studio version and the CMake configuration output you see when you open the project.

JanSimek avatar Apr 19 '22 14:04 JanSimek

2. git submodule update --init --recursive

This is crucial, without this, it wouldn't build. Should be in the guide. :)

Oh, it is.

Well, that's what you get for skipping any text that is not a full width code line...

ghostlyghastly avatar Feb 23 '23 19:02 ghostlyghastly