JanSimek / geck-map-editor

Fallout 2 map editor
29 stars 5 forks source link

failing to build #11

Open QuantumApprentice opened 2 years ago

QuantumApprentice commented 2 years ago

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?

JanSimek commented 2 years ago

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.

ghostlyghastly commented 1 year ago

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...