FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Trying to build on Ubuntu 12.04 64 bit

 
Post new topic   Reply to topic     Forum Index -> Derelict
View previous topic :: View next topic  
Author Message
wobbles-grogan



Joined: 24 Sep 2012
Posts: 4

PostPosted: Tue Sep 25, 2012 2:24 pm    Post subject: Trying to build on Ubuntu 12.04 64 bit Reply with quote

Hi all,

First time poster here, so go easy on me Smile

Im having trouble building Derelict2 on Ubuntu. Im running the make file as is specified on
http://svn.dsource.org/projects/derelict/branches/Derelict2/doc/index.html

The exact command im running is:
make -flinux.mak DC=dmd

However, it fails every time on the following:
"derelict/opengl/glx.d(246): Error: expected 3 function arguments, not 2
... ...
derelict/opengl/glx.d(267): Error: expected 3 function arguments, not 2"
and every line between 246 and 267 also.

Had a look at the source code on those lines and they all look like:
bindFunc(cast(void**)&glXChooseVisual, "glXChooseVisual");

What else is bindFunc expecting?

Or am i doing something wrong?

Cheers
Back to top
View user's profile Send private message
aldacron



Joined: 05 May 2004
Posts: 1322
Location: Seoul, South Korea

PostPosted: Thu Sep 27, 2012 8:58 pm    Post subject: Reply with quote

Hi. Sorry for the late reply. Haven't been checking in here every day like I normally do.

If you checkout the Derelict 2 branch again, it should work for you now. Compilation broke with DMD 2.060 and I had fixed it for Windows, but overlooked the Posix side. So I've corrected that and committed it. However, my Linux box is unavailable right now so I didn't compile or test it. It's a simple fix, so it shouldn't fail unless I did something silly.
_________________
The One With D | The One With Aldacron | D Bits
Back to top
View user's profile Send private message Send e-mail
wobbles-grogan



Joined: 24 Sep 2012
Posts: 4

PostPosted: Fri Sep 28, 2012 1:37 pm    Post subject: Reply with quote

Ah thank you. It works now!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Derelict All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group