View previous topic :: View next topic |
Author |
Message |
wobbles-grogan
Joined: 24 Sep 2012 Posts: 4
|
Posted: Tue Sep 25, 2012 2:24 pm Post subject: Trying to build on Ubuntu 12.04 64 bit |
|
|
Hi all,
First time poster here, so go easy on me
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 |
|
|
aldacron
Joined: 05 May 2004 Posts: 1322 Location: Seoul, South Korea
|
Posted: Thu Sep 27, 2012 8:58 pm Post subject: |
|
|
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 |
|
|
wobbles-grogan
Joined: 24 Sep 2012 Posts: 4
|
Posted: Fri Sep 28, 2012 1:37 pm Post subject: |
|
|
Ah thank you. It works now! |
|
Back to top |
|
|
|
|
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
|