Build Problems with Master (QT)

Do you need help? Ask here!

Bug reporting belongs here: http://developer.wz2100.net/newticket
NRoach44
Trained
Trained
Posts: 43
Joined: 25 Jan 2011, 06:09

Build Problems with Master (QT)

Post by NRoach44 »

Basically I need to know what packages I would need to install that

Code: Select all

apt-get build-dep warzone2100
wont. Specifically What is the package name for the required QT4?
Having trouble using Wz2100 on Ubuntu? My compile guide is here : http://bit.ly/mNlqd2
NRoach44
Trained
Trained
Posts: 43
Joined: 25 Jan 2011, 06:09

Re: Build Problems with Master (QT)

Post by NRoach44 »

All good now, The package I was missing was libqt4-dev.
Having trouble using Wz2100 on Ubuntu? My compile guide is here : http://bit.ly/mNlqd2
NRoach44
Trained
Trained
Posts: 43
Joined: 25 Jan 2011, 06:09

Re: Build Problems with Master (QT)

Post by NRoach44 »

Ok, New Problem, When building for windows, I get the following:

Code: Select all

make[1]: Entering directory `/home/nroach44/built/wz2100master/20110320/win32/libs/theora'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/nroach44/built/wz2100master/20110320/win32/libs/theora'
make -C qt4 TOPDIR=../.. -w --jobserver-fds=3,4 -j -- DOWNLOADS=/home/nroach44/built/wz2100master/20110320/win32/downloads HOST_TRIPLET=i586-mingw32msvc all
make: Entering an unknown directory
make: *** qt4: No such file or directory.  Stop.
make: Leaving an unknown directory
make: *** [all-recursive] Error 2
make: Leaving directory `/home/nroach44/built/wz2100master/20110320/win32/libs'
AFAIK Those folders exist.

Also, congrats on the new renderer. Also, when you get fullscreen working, does that mean I can Use my volume controls again?
Having trouble using Wz2100 on Ubuntu? My compile guide is here : http://bit.ly/mNlqd2
User avatar
Buginator
Professional
Professional
Posts: 3285
Joined: 04 Nov 2007, 02:20

Re: Build Problems with Master (QT)

Post by Buginator »

You need to compile qt4 for windows...or set the path to it.
and it ends here.
NRoach44
Trained
Trained
Posts: 43
Joined: 25 Jan 2011, 06:09

Re: Build Problems with Master (QT)

Post by NRoach44 »

Aha, where can I find instructions to do that and put it in the right folder?
Having trouble using Wz2100 on Ubuntu? My compile guide is here : http://bit.ly/mNlqd2
Safety0ff
Trained
Trained
Posts: 397
Joined: 18 Jul 2009, 23:23

Re: Build Problems with Master (QT)

Post by Safety0ff »

We're using the following for building Warzone for windows:
http://developer.wz2100.net/wiki/Compil ... gwCrossEnv
NRoach44
Trained
Trained
Posts: 43
Joined: 25 Jan 2011, 06:09

Re: Build Problems with Master (QT)

Post by NRoach44 »

Ummm yeah.... I'm hopeless with that..
Could I just use a QT dll from another application (OPHCrack) and reference that?
Having trouble using Wz2100 on Ubuntu? My compile guide is here : http://bit.ly/mNlqd2
Safety0ff
Trained
Trained
Posts: 397
Joined: 18 Jul 2009, 23:23

Re: Build Problems with Master (QT)

Post by Safety0ff »

NRoach44 wrote:Ummm yeah.... I'm hopeless with that..
Could I just use a QT dll from another application (OPHCrack) and reference that?
I suppose you could get it to use DLL's (I'm not sure how).

Though I wouldn't just use the dll's from another app especially when you could get the correct version dlls from the qt site.
NRoach44
Trained
Trained
Posts: 43
Joined: 25 Jan 2011, 06:09

Re: Build Problems with Master (QT)

Post by NRoach44 »

Okay, where could I get them (this would have been much easier to know earlier) And what do I do with them?
Having trouble using Wz2100 on Ubuntu? My compile guide is here : http://bit.ly/mNlqd2
stiv
Warzone 2100 Team Member
Warzone 2100 Team Member
Posts: 876
Joined: 18 Jul 2008, 04:41
Location: 45N 86W

Re: Build Problems with Master (QT)

Post by stiv »

Okay, where could I get them (this would have been much easier to know earlier) And what do I do with them?
If you are going to compile WZ, you still need the header files, not just the DLLs.
NRoach44
Trained
Trained
Posts: 43
Joined: 25 Jan 2011, 06:09

Re: Build Problems with Master (QT)

Post by NRoach44 »

Again, where do I get them, and what (in moderately simple terms) do I do with them?
Having trouble using Wz2100 on Ubuntu? My compile guide is here : http://bit.ly/mNlqd2
User avatar
Buginator
Professional
Professional
Posts: 3285
Joined: 04 Nov 2007, 02:20

Re: Build Problems with Master (QT)

Post by Buginator »

NRoach44 wrote:Again, where do I get them, and what (in moderately simple terms) do I do with them?
Hmm ?
You pull down Qt, and all the Qt dev related stuff. Same as with any other lib you are using.
and it ends here.
NRoach44
Trained
Trained
Posts: 43
Joined: 25 Jan 2011, 06:09

Re: Build Problems with Master (QT)

Post by NRoach44 »

Oaky, lets start again, I can build master for Ubuntu, but not for windows as I Don't know how to get QT compiling for windows, what exactly do I have to do?
Having trouble using Wz2100 on Ubuntu? My compile guide is here : http://bit.ly/mNlqd2
User avatar
Buginator
Professional
Professional
Posts: 3285
Joined: 04 Nov 2007, 02:20

Re: Build Problems with Master (QT)

Post by Buginator »

NRoach44 wrote:Oaky, lets start again, I can build master for Ubuntu, but not for windows as I Don't know how to get QT compiling for windows, what exactly do I have to do?
Get on Qt's site, get their build system for windows.
As for using mingw on windows, we don't have anyone who does that AFAIK. No idea if that still works or not.
and it ends here.
Safety0ff
Trained
Trained
Posts: 397
Joined: 18 Jul 2009, 23:23

Re: Build Problems with Master (QT)

Post by Safety0ff »

Buginator wrote:As for using mingw on windows, we don't have anyone who does that AFAIK. No idea if that still works or not.
I think he meant mingw on ubuntu for windows.
Anyways, you could either adapt this (http://hg.savannah.gnu.org/hgweb/mingw- ... /src/qt.mk) to our old build system, or just use mingw-cross-env (link already posted.)

I did use mingw on windows before qt was merged, it was painfully slow because of the configure step.
Post Reply