Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

titaniumdecoy

macrumors member
Original poster
Oct 13, 2005
86
0
Hi all,

I am trying to build the latest version of XMoto. I fixed the first two configuration problems by installing libjpeg and libpng. But now I get the following error:

Code:
[B]$[/B] ./configure
<snip>
checking for gluBuild2DMipmaps in -lGLU... no
configure: error: glu required

I did a search which came up with something called SDL, so I installed that too. But I am still getting the same error. Does anyone know what glu refers to?
 

yeroen

macrumors 6502a
Mar 8, 2007
944
2
Cambridge, MA
Hi all,

I am trying to build the latest version of XMoto. I fixed the first two configuration problems by installing libjpeg and libpng. But now I get the following error:

Code:
[B]$[/B] ./configure
<snip>
checking for gluBuild2DMipmaps in -lGLU... no
configure: error: glu required

I did a search which came up with something called SDL, so I installed that too. But I am still getting the same error. Does anyone know what glu refers to?

The clue here is the reference to gluBuild2DMipmaps. (A bit of google searching reveals that) This is part of glu, which is the OpenGL Utilities Library.

I'm not at my Mac right now, but on Linux/X11, the symbol gluBuild2DMipmaps is found in /usr/X11R6/lib/libGLU.so. Are you compiling this for X11 or for Aqua?
 

titaniumdecoy

macrumors member
Original poster
Oct 13, 2005
86
0
I managed to fix the problem by appending --with-apple-opengl-framework to the ./configure command. Although now I have more problems to deal with. :(
 

titaniumdecoy

macrumors member
Original poster
Oct 13, 2005
86
0
@yeroen: To answer your question, I am trying to compile for OS X, although clearly it is apparently using a number of X11 libraries.

I can't seem to figure out the problem here...

Code:
checking for library containing lua_pushboolean... no
configure: error: liblua5.1
./configure: line 7514: exit: liblua50: numeric argument required
./configure: line 7514: exit: liblua50: numeric argument required
Thanks for any suggestions.
 

Cromulent

macrumors 604
Oct 2, 2006
6,810
1,100
The Land of Hope and Glory
@yeroen: To answer your question, I am trying to compile for OS X, although clearly it is apparently using a number of X11 libraries.

I can't seem to figure out the problem here...

Code:
checking for library containing lua_pushboolean... no
configure: error: liblua5.1
./configure: line 7514: exit: liblua50: numeric argument required
./configure: line 7514: exit: liblua50: numeric argument required
Thanks for any suggestions.

Lua is a scripting language. You need to compile and install it to get it to work (or the library at least).
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.