Dirk Reiners wrote:
>       Hi Patrick,
> 
> On Thu, 2005-09-22 at 17:43 +0200, Patrick Dähne wrote:
> 
>>Patching "OSGSocket.h" is not necessary on my machine, that's the  
>>reason why I didn't change it in the CVS. Are you sure that this  
>>patch is necessary on your machine?
> 
> 
> I tried it on our Mac here (), and it was necessary. 
> 
> 
>>The other patches are indeed necessary, but I do not have enough  
>>knowledge of the build system to create autoconf files for 10.4. And  
>>the -Ddarwin issue still exists, but I don't want to change this  
>>without getting an okay from Dirk.
> 
> 
> My recommendation is to just hack it for 1.6 in OSGConfig.h ('#ifdef
> __APPLE__ #define darwin' before darwin is used), and clean up the
> variable mess in 2.
> 
> I've got it to compile with both of those changes, but now I couldn't
> find GLUT to actually try anything. I don't know if that means it's not
> installed or I just don't know where to look.

The GLUT framework is installed in /System/Library/GLUT.framework, which is
in the default framework search path. It should be installed because, AFAIK,
installing the OpenGL development tools includes the GLUT framework. As I
recall, I had no trouble compiling OpenSG tutorial applications on OS X
except for needing to get -Ddarwin into the mix somewhere. Running
'osg-config --libs GLUT' gives me the output that I expect.

> If you want to, I'd be happy to let you make and commit all the fixes
> necessary to keep stuff working on the Mac, so please go ahead. 
> 
> I would also like to setup a dailybuild on the Mac here, but for that I
> need the configure options that are necessary. Could you send me those?

Here is what I use:

./configure  --prefix=BUILD --enable-glut --enable-png --with-png=/sw
--enable-jpg --with-jpg=/sw --enable-tif --with-tif=/sw --disable-qt
--enable-gif --with-gif=/sw --with-compiler=g++

It looks as though it has been about two weeks since I last build the CVS
version of OpenSG 1.6, but those are the options that I have been using for
many months now.

Note that I am using software installed via Fink into /sw. That may not be
the norm, so YMMV.

 -Patrick


-- 
Patrick L. Hartling                    | VP Engineering, Infiscape Corp.
PGP: http://tinyurl.com/2msw3          | http://www.infiscape.com/

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to