Compiling the source code

User avatar
Heiko
Site Admin
Posts: 1548
Joined: Wed Mar 11, 2009 6:26 pm

Re: Lua syntax error

Post by Heiko »

1.2.0 doesn't crash at all if you link against the proper qt-4.6-sdk libs.
Install the SDK into you home directory and then use qmake from the sdk to create a makefile that links against the sdk libs. The problem is an old one and depends on the quality of qt libs in your particular Linux distribution. It was the reason why we offer binary installers for Linux now for our main releases. You get the sdk as a binary installer from qt.nokia.com. You can install it into your home directory and it doesn't touch your system qt installation.

Also note that you have to run mudlet-1.2.0 from the mudlet/src directoy like this: ./mudlet
Installing 1.2.0 system wide on Linux from source code isn't supported anymore.

To answer your question, you have to use a newer version of Mudlet to use this code.

redt
Posts: 36
Joined: Mon Jul 12, 2010 7:19 pm

Re: Compiling the source code

Post by redt »

Ok man

Got that sdk bin file installed in home directory and created the makefile

Yes, I did ran Mudlet from ./mudlet previously

So far did not crush, but then I spent more time in my terminal than in my game...

Now, I get the following after the map gets loaded:
Xlib: extension "GLX" missing on display ":0.0".
ATCP enabled
MCCP v2 negotiated!
checking mccp start seq...
MCCP version 1 starting sequence
-1,-6,86,-1,-16
COMPRESSION START sequence found
Warning: QGLContext::makeCurrent(): Cannot make invalid context current.
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
And of course no map displayed.

User avatar
Vadi
Posts: 5050
Joined: Sat Mar 14, 2009 3:13 pm

Re: Compiling the source code

Post by Vadi »

your OS doesn't seem to support OpenGL properly

User avatar
Heiko
Site Admin
Posts: 1548
Joined: Wed Mar 11, 2009 6:26 pm

Re: Compiling the source code

Post by Heiko »

sudo apt-get install libgl-dev libglu-dev

Make sure you have the hardware drivers for your 3D car installed properly and that it works correctly.

User avatar
Vadi
Posts: 5050
Joined: Sat Mar 14, 2009 3:13 pm

Re: Compiling the source code

Post by Vadi »

I'm sure all cars are 3D but what Heiko probably meant is a video card

redt
Posts: 36
Joined: Mon Jul 12, 2010 7:19 pm

Re: Compiling the source code

Post by redt »

Man, you have patience...
red@red-desktop:/$ sudo apt-get install libgl-dev libglu-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libgl-dev is a virtual package provided by:
libgl1-mesa-swx11-dev 7.7.1-1ubuntu3
libgl1-mesa-dev 7.7.1-1ubuntu3
You should explicitly select one to install.
E: Package libgl-dev has no installation candidate
I already have libgl1-mesa-dev 7.7.1-1ubuntu3 installed

I tried to look at my xorg.conf and strangely enough I don't have one... so, the problem might be right there as I understand it

@Vadi - Yep, just checked and my car is still 3D... though sometimes I wonder...

User avatar
Vadi
Posts: 5050
Joined: Sat Mar 14, 2009 3:13 pm

Re: Compiling the source code

Post by Vadi »

Missing xorg.conf is normal; newest versions of Ubuntu do auto-detection and thus isn't not required unless you need specific chahnges. Seems you have all packages installed as well that are necessary...

redt
Posts: 36
Joined: Mon Jul 12, 2010 7:19 pm

Re: Compiling the source code

Post by redt »

Yes, I noticed that it's replaced by xorg.conf.failsafe

It says that I have fbdev video driver. Shouldn't I be using nvidia?

User avatar
Vadi
Posts: 5050
Joined: Sat Mar 14, 2009 3:13 pm

Re: Compiling the source code

Post by Vadi »

yeah. install the nvidia binary drivers from system - administration - hardware drivers

redt
Posts: 36
Joined: Mon Jul 12, 2010 7:19 pm

Re: Compiling the source code

Post by redt »

Thanks Vadi, unfortunately it's not that simple here...

So far I only managed to sink into a "low-graphics mode", now reading all available manuals - don't really wish to sink any further -

Mudlet though is still working - what a great system!

Post Reply