QT += opengl
to wagic-qt.pro because of #include <QtOpenGL> failing.
I also had to add
#include <stdint.h>
to ObjectAnalytics.h because of undefined int types.
Somebody please fix this on master.
I'm on Ubuntu 14.04, Qt 5.2.1.
Yeah and after compilation I get a segmentation fault:
Code: Select all
Uruchamianie /home/luke/Dokumenty/wagic/projects/build-wagic-qt-Desktop_Qt_5_2_1_GCC_64bit-Debug/wagic...
QEventLoop: Cannot be used without QApplication
QDBusConnection: system D-Bus connection created before QCoreApplication. Application may misbehave.
User path /home/luke/.Wagic
System path /home/luke/Dokumenty/wagic/projects/build-wagic-qt-Desktop_Qt_5_2_1_GCC_64bit-Debug/Res
Current path /home/luke/Dokumenty/wagic/projects/build-wagic-qt-Desktop_Qt_5_2_1_GCC_64bit-Debug
FATAL: cannot find modrules.xml
Init ResourceManagerImpl : 0x2824000
21hgeParticleSystemInfo cache resized to 500000 bytes
7JSample cache resized to 1500000 bytes
8JTexture cache resized to 2000000 bytes
Threaded Version
8JTexture cache resized to 20000000 bytes
AttemptNew failed to load. Deleting cache item 0x281eb50
Destroying WCachedResource: menuicons.png
Can't locate
menuicons.png
AttemptNew failed to load. Deleting cache item 0x2824870
Destroying WCachedResource: back.jpg
Can't locate
back.jpg
AttemptNew failed to load. Deleting cache item 0x2824870
Destroying WCachedResource: back_thumb.jpg
Can't locate
back_thumb.jpg
AttemptNew failed to load. Deleting cache item 0x2824870
Destroying WCachedResource: particles.png
Can't locate
particles.png
AttemptNew failed to load. Deleting cache item 0x2825340
Destroying WCachedResource: phasebar.png
Can't locate
phasebar.png
AttemptNew failed to load. Deleting cache item 0x2825340
Destroying WCachedResource: wood.png
Can't locate
wood.png
AttemptNew failed to load. Deleting cache item 0x2824870
Destroying WCachedResource: gold.png
Can't locate
gold.png
AttemptNew failed to load. Deleting cache item 0x2824870
Destroying WCachedResource: goldglow.png
Can't locate
goldglow.png
AttemptNew failed to load. Deleting cache item 0x2824870
Destroying WCachedResource: backdrop.jpg
Can't locate
backdrop.jpg
AttemptNew failed to load. Deleting cache item 0x2824870
Destroying WCachedResource: handback.png
Can't locate
handback.png
AttemptNew failed to load. Deleting cache item 0x2824870
Destroying WCachedResource: shadows.png
Can't locate
shadows.png
size of MTGCardInstance: 1336
size of MTGCard: 32
size of CardPrimitive: 344
size of ExtraCost: 48
size of ManaCost: 144
entergamestate:menuAttemptNew failed to load. Deleting cache item 0x28069d0
Destroying WCachedResource: menutitle.png
inserted item ptr 00000000 at index 2000000011
Can't locate
menutitle.png
AttemptNew failed to load. Deleting cache item 0x2815790
Destroying WCachedResource: spade_ul.png
Can't locate
spade_ul.png
AttemptNew failed to load. Deleting cache item 0x2815790
Destroying WCachedResource: spade_ur.png
Can't locate
spade_ur.png
AttemptNew failed to load. Deleting cache item 0x21da350
Destroying WCachedResource: menuside.png
Can't locate
menuside.png
Program nieoczekiwanie przerwał pracę.
/home/luke/Dokumenty/wagic/projects/build-wagic-qt-Desktop_Qt_5_2_1_GCC_64bit-Debug/wagic zakończył pracę błędem
Code: Select all
memcpy(&info, psi, sizeof(hgeParticleSystemInfo));