Topic: CMake Warning
Tmk Topic Opener |
Posted at: 2013-03-28, 18:48
Hello. I'm trying to compile Widelands from source on openSUSE and CMake warns
Which package would that be on openSUSE 12.3? Also, it fails with
Am I missing some lua packages? I have
Regards Top Quote |
SirVer |
Posted at: 2013-03-28, 19:32
looks good to me - you need to paste a little more of the output (best to pastebin or gist.github) or so to really see the error here. Top Quote |
gamag |
Posted at: 2013-03-28, 19:57
You need lua51 and lua51-devel Top Quote |
QCS |
Posted at: 2013-03-29, 13:25
Looks like openSUSE does not have a minizip library (yet?). You might have to live with this warning for the time being... or switch to a distribution which gives you more freedom, like Gentoo/Sabayon. CMake is evil. Top Quote |
Tmk Topic Opener |
Posted at: 2013-03-29, 16:52
Hello. I installed lua51-devel, which removed lua-devel, which seems to be the openSUSE 12.3's default and was version 5.2. I could live with the warning, if it compiled... Here is the output of the terminal https://gist.github.com/anonymous/b27da2bd1e4a001d5600 Can you see anything? Top Quote |
SirVer |
Posted at: 2013-03-29, 17:56
It does not link the lua library into widelands - try removing everything that was created by the compile.sh and try again. Top Quote |
Tmk Topic Opener |
Posted at: 2013-03-29, 18:20
I did and now it works. Thanks for the help everyone! Top Quote |
hjd |
Posted at: 2013-03-29, 20:56
Tmk: Nice to hear thinks worked out in the end. Likely CMake had cached the other version the lua libraries and tried to use those instead of the packages you installed afterwards. Btw, could someone please update the list of packages required for building on OpenSuse to what is currently needed? Ships! Top Quote |
Tmk Topic Opener |
Posted at: 2013-03-29, 22:27
The list is fine for 12.3, except libpng14-devel needs to be replaced with libpng15-devel. Did that. Top Quote |