You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 3, 2020. It is now read-only.
Got the same issue. It's not the fault of city_cfg.dat but the location of city_map.dat. In game_state_editor.cpp line 239: this->city = City("city", this->game->tileSize, this->game->tileAtlas); where "city" becomes "city_map.dat" before been read by Map::load() which does not check the status of inputFile.open. I would recommend to add line 18 of map.cpp if (inputFile.fail()) { std::cerr << "Failed loading " << filename << std::endl; return; }
This bug depends on how you build. If you made
mkdir build
cd build
cmake ..
make
The binary citybuilder will be created in build/ directory so move it to ../ to be located near .dat files.
PS: Beware sudo make install from build/ is not correct. It will install resources directly in /usr/local/media/ and /usr/local/ without creating the citybuilder/ directory.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Versions:
Windows 7 (all libs static linked) x86_64
SFML 2.3 (downloaded today) - GCC 4.9.2 MinGW (SEH) - 64-bit
MinGW x86_64-4.9.2-win32-seh-rt_v4-rev3 from netinstall
CMake 3.1.0-rc3
and double right click cause app crash.
Any sugesstions?
The text was updated successfully, but these errors were encountered: