Dependencies for master
Dependencies for master
I deleted posts to keep this thread on topic.
I also moved other posts to the required area.
wayward4now, the zip from github is just a snapshot of the source tree, it was never meant to be compiled from that. That is why we offer the tarball that has everything you need.
For compiling from source:
For people that have trouble with Qt 5, you install the exact same packages that the compile guide on the wiki mentions, except use Qt5 versions of the Qt4 listed ones.
Then run ./configure, and see if you have the other required libs, it will error out and tell you if you don't.
I also moved other posts to the required area.
wayward4now, the zip from github is just a snapshot of the source tree, it was never meant to be compiled from that. That is why we offer the tarball that has everything you need.
For compiling from source:
For people that have trouble with Qt 5, you install the exact same packages that the compile guide on the wiki mentions, except use Qt5 versions of the Qt4 listed ones.
Then run ./configure, and see if you have the other required libs, it will error out and tell you if you don't.
Last edited by cybersphinx on 08 Feb 2015, 22:32, edited 1 time in total.
Reason: Changed title
Reason: Changed title
/facepalm ...Grinch stole Warzone contra principia negantem non est disputandum
Super busy, don't expect a timely reply back.
Super busy, don't expect a timely reply back.
-
- Inactive
- Posts: 1695
- Joined: 01 Sep 2006, 19:17
Re: Community testers wanted!
At least on Debian Qt5 packaging is different from Qt4, you need qtbase5-dev and qtscript5-dev at least, possibly more.vexed wrote:For people that have trouble with Qt 5, you install the exact same packages that the compile guide on the wiki mentions, except use Qt5 versions of the Qt4 listed ones.
We want information... information... information.
Re: Community testers wanted!
Yup.. with that one I got trough. But I can't compile...cybersphinx wrote:qtbase5-dev
Code: Select all
make[2]: Entering directory `/home/iluvalar/warzone2100-master/lib/framework'
g++ -DHAVE_CONFIG_H -I. -I../.. -DYY_NO_INPUT -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DDEBUG -DWZ_DATADIR="\"/usr/local/share/warzone2100\"" -DLOCALEDIR="\"/usr/local/share/locale\"" -I../.. -I../../3rdparty -I../../3rdparty/quesoglc -I/usr/include/qt5/QtCore -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtScript -O0 -ggdb -Werror -Wno-enum-compare -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wcast-align -Wwrite-strings -Wpointer-arith -Wno-format-security -I/usr/include/qt5/QtCore -I/usr/include/qt5 -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtScript -fPIC -std=c++11 -MT crc.o -MD -MP -MF .deps/crc.Tpo -c -o crc.o crc.cpp
cc1plus: error: unrecognized command line option โ-std=c++11โ
make[2]: *** [crc.o] Error 1
make[2]: Leaving directory `/home/iluvalar/warzone2100-master/lib/framework'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/iluvalar/warzone2100-master'
make: *** [all] Error 2
Heretic 2.3 improver and proud of it.
-
- Inactive
- Posts: 1695
- Joined: 01 Sep 2006, 19:17
Re: Community testers wanted!
gcc too old I guess. Don't know if we actually use that newfangled stuff though.Iluvalar wrote:Code: Select all
cc1plus: error: unrecognized command line option โ-std=c++11โ
We want information... information... information.
Re: Community testers wanted!
The package manager should pull in all the required dependencies I thought ?cybersphinx wrote:At least on Debian Qt5 packaging is different from Qt4, you need qtbase5-dev and qtscript5-dev at least, possibly more.vexed wrote:For people that have trouble with Qt 5, you install the exact same packages that the compile guide on the wiki mentions, except use Qt5 versions of the Qt4 listed ones.
Code: Select all
PKG_CHECK_MODULES(QT5, Qt5Core Qt5Gui Qt5Widgets Qt5Script,,[:])
And if that fails, looking at the Qt site itself: http://www.qt.io/download-open-source/ shows how to get it as well.
/facepalm ...Grinch stole Warzone contra principia negantem non est disputandum
Super busy, don't expect a timely reply back.
Super busy, don't expect a timely reply back.
-
- Inactive
- Posts: 1695
- Joined: 01 Sep 2006, 19:17
Re: Community testers wanted!
qtscript5-dev depends on qtbase5-dev, not the other way around.vexed wrote:So, if you would have gotten Qt5gui-dev (for example), it would bring in qtbase5-dev and everything else it needs ?
We want information... information... information.
misc stuff moved from testing thread
Yes... who said it was the other way around ?cybersphinx wrote:qtscript5-dev depends on qtbase5-dev, not the other way around.vexed wrote:So, if you would have gotten Qt5gui-dev (for example), it would bring in qtbase5-dev and everything else it needs ?
/facepalm ...Grinch stole Warzone contra principia negantem non est disputandum
Super busy, don't expect a timely reply back.
Super busy, don't expect a timely reply back.
Re: misc stuff moved from testing thread
Oh well... I guess my stable ubuntu 12.04 is too old to play that 1999 game huh ?
Packages you are mentionning are not existing here... I give up now...
Packages you are mentionning are not existing here... I give up now...
Heretic 2.3 improver and proud of it.
Re: misc stuff moved from testing thread
I installed Qt5 for Ubuntu 12.04 not that long ago, I just don't exactly remember how. There may be some other PPA you need to activate. Google will help.
The lack of support for c++11 is surprising. Could you try replacing it in configure.ac with 'gnu++11' instead, see if that works? It may have been supported for longer.
Oh, and that '1999 game' cheap shot is getting real old now.
The lack of support for c++11 is surprising. Could you try replacing it in configure.ac with 'gnu++11' instead, see if that works? It may have been supported for longer.
Oh, and that '1999 game' cheap shot is getting real old now.
Re: misc stuff moved from testing thread
huhuhu... I see what you did there...Per wrote: Oh, and that '1999 game' cheap shot is getting real old now.
cc1plus: error: unrecognized command line option โ-std=gnu++11โ
Heretic 2.3 improver and proud of it.
Re: misc stuff moved from testing thread
What about 'gnu++0x'? That should work, at least, even though it is deprecated by now...
Re: misc stuff moved from testing thread
Ubuntu 12.04 was shipped way before C++11 was ratified, so C++0x would be correct.
The obvious question here is, why are people using such outdated versions of Ubuntu ?
14.04 LTS has been out for awhile now.
I guess some people just like staying in 1999.
The obvious question here is, why are people using such outdated versions of Ubuntu ?
14.04 LTS has been out for awhile now.
I guess some people just like staying in 1999.
/facepalm ...Grinch stole Warzone contra principia negantem non est disputandum
Super busy, don't expect a timely reply back.
Super busy, don't expect a timely reply back.
Re: misc stuff moved from testing thread
It's called a family, I won't buy a spanking new 2015 computer because they are too expensive, i'll go with a 2014 or 2013 cpu. I'd give it to my little brother who constantly play the latest games around and therefore need that kind of hardware, I'd then take his 2013 computer and lend it to my mother who have a 2011 and that's what I'd end up with.vexed wrote:Ubuntu 12.04 was shipped way before C++11 was ratified, so C++0x would be correct.
The obvious question here is, why are people using such outdated versions of Ubuntu ?
14.04 LTS has been out for awhile now.
I guess some people just like staying in 1999.
I now have a september 2009 computer so I wouldn't get much gain from it, nor anyone in that chain. Next year, yeah definitively. But today ? Meh.. nothing wrong with me...
installing 14.04 (2014) on 2009 cpu would likely cost me 5-10% of my already questionnable performances. Just to play warzonne ? no thanks.
Down to buisness (using -std=c++0x") :
I already changed libglew1.5-dev for libglew1.6-dev that's still not good enough ?piestate.cpp: In function โGLuint pie_LoadShader(const char*, const char*, const char*)โ:
piestate.cpp:261:8: error: โGLEW_VERSION_4_3โ was not declared in this scope
piestate.cpp:261:28: error: โGLEW_KHR_debugโ was not declared in this scope
...
Heretic 2.3 improver and proud of it.
Re: Dependencies for master
While it's true that each new version is developed for slightly more modern hardware, allowing for less lightweight interfaces etc. it doesn't automatically become slower. Also, application performance should be largely unaffected.
If the unity interface is too heavy you can always switch it to something like lxde or gnome classic...
If the unity interface is too heavy you can always switch it to something like lxde or gnome classic...
-insert deep philosophical statement here-
- Terminator
- Regular
- Posts: 1077
- Joined: 05 Aug 2006, 13:46
- Location: Ukraine
- Contact:
Re: Dependencies for master
I previously had problems compiling master on my Kubuntu14.04 cause KDE uses qt4, so even if you install all QT5 libs it wont work until you select the right qt.
I have installed qtchooser additionally and used this guide.
thats my experience. if it will help somebody.
I have installed qtchooser additionally and used this guide.
thats my experience. if it will help somebody.
Death is the only way out... sh*t Happens !
Russian-speaking Social network Group http://vk.com/warzone2100
Russian-speaking Social network Group http://vk.com/warzone2100