Topic: Crash in build19 "A Place to Call Home"
Lokimaros Topic Opener |
Posted at: 2016-10-28, 08:26
cd /usr/local/src/widelands-repo/trunk/build cmake .. vi CMakeCache.txt # Changing to CMAKE_INSTALL_PREFIX:PATH=/usr/local/games/widelands cmake .. ninja ninja install Top Quote |
GunChleoc |
Posted at: 2016-10-28, 08:31
That definitely does not define the datadir. You have to define it. We have a WL_INSTALL_BASEDIR and a WL_INSTALL_DATADIR in our CMakelists.txt. I hope that helps, I'm no CMake expert. Edited: 2016-10-28, 08:33
Busy indexing nil values Top Quote |
Lokimaros Topic Opener |
Posted at: 2016-10-28, 15:15
After some wrestling and spelling out the compile.sh script, it appears the procedure to install it my way is:
Top Quote |
Lokimaros Topic Opener |
Posted at: 2016-10-30, 10:01
Oops, I tell a lie, again. It should be -DCMAKE_INSTALL_PREFIX:PATH=/usr/local/games/widelands, not -DWL_INSTALL_BASEDIR=/usr/local/games/widelands, though I use both now for safety's sake:
Top Quote |
GunChleoc |
Posted at: 2016-10-30, 11:10
Glad you got it working Busy indexing nil values Top Quote |
Lokimaros Topic Opener |
Posted at: 2016-10-30, 11:57
Well, at least someone is glad, then. Oh, wait, so am I! ;-) Top Quote |