Home News Features Games Authoring Community Forums About Contact
   

May 24, 2013, 01:07:40 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: 1 [2]
  Print  
Author Topic: Sludge Compilation failing on Ubuntu.  (Read 2021 times)
Spummy
Newbie
*
Offline Offline

Posts: 8


« Reply #15 on: January 02, 2011, 05:20:14 PM »

I'm using the Ubuntu 10.10 debs on Ubuntu 9.10. Don't know why it didn't work for you.

Well then that's very very strange. Well. Xubuntu 10.04. But I doubt there's THAT much difference in the underlying system.
Logged
BigMc
SLUDGE Linux/GTK+ Maintainer
Sr. Member
****
Offline Offline

Posts: 266



« Reply #16 on: January 02, 2011, 05:29:52 PM »

Yeah it's really strange. Shouldn't make a difference that it's Xubuntu. I even know of another person using the debs without problems on Ubuntu 10.04.

But the graphics driver could still make the difference. I have an Intel graphics card. Could you please try installing the package nvidia-current-dev and then giving the debs another try?
Logged
Spummy
Newbie
*
Offline Offline

Posts: 8


« Reply #17 on: January 02, 2011, 05:40:20 PM »

Well that did it. I've never had to install that for any other OpenGL stuff... Oh well. Thanks.
Logged
BigMc
SLUDGE Linux/GTK+ Maintainer
Sr. Member
****
Offline Offline

Posts: 266



« Reply #18 on: January 02, 2011, 05:43:30 PM »

Oh cool. Smiley It was a desperate last attempt. After suggesting it I looked what files are in that package and didn't find it very promising, but well...
Logged
Trumgottist
Maker of SLUDGE
Longtime Member
*****
Offline Offline

Gender: Male
Posts: 1162



WWW
« Reply #19 on: January 02, 2011, 05:49:55 PM »

Since my last guess seemed to be right, I'll attempt to guess why things are behaving the way they are. (Again, my only knowledge is how these things work on Mac and Windows, but it should be similar.) It doesn't seem that strange to me.

What's happening is that the GLee you tried with first wasn't compiled to match your system. The missing functions that corresponds to the errors you got are only created by GLee if the OpenGL version is 1.2 or lower. GLee then uses these functions to make the functionality available anyway. The GLee you first tried was compiled on a computer with a higher version of OpenGL than you have so it didn't have those functions, while the GLee header wanted them because they're needed on your system. When you compiled GLee yourself, the functions were included. As BigMc says, a driver upgrade might make a difference if that changes what OpenGL version you have.

Edit: Indeed. While I was typing this, two new posts appeared (when I wrote the above, BigMc's post at 00:29 was the last one in this thread) that showed that a driver upgrade did make the difference.
« Last Edit: January 02, 2011, 05:51:37 PM by Trumgottist » Logged

"Programming is the computer game that makes all others possible." - Ron Newcomb
Spummy
Newbie
*
Offline Offline

Posts: 8


« Reply #20 on: January 02, 2011, 05:52:27 PM »

nvidia-current-dev isn't actually an upgrade. Just header files. I was already using OpenGL 3.3.0.
Logged
Trumgottist
Maker of SLUDGE
Longtime Member
*****
Offline Offline

Gender: Male
Posts: 1162



WWW
« Reply #21 on: January 02, 2011, 05:55:35 PM »

In that case, the header files were probably needed to let your compiler know that you have OpenGL 3.
Logged

"Programming is the computer game that makes all others possible." - Ron Newcomb
Spummy
Newbie
*
Offline Offline

Posts: 8


« Reply #22 on: January 02, 2011, 06:03:41 PM »

Alrighty then. Well, thanks for all the help! Smiley Now to try some sludge games!
Logged
Pages: 1 [2]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.8 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!
 
Unauthorised reproduction of anything on this website is not allowed without our written consent.
Materials on this site are the property of their respective owners. Copyright © Adventure Developers. All rights reserved.