[sldev] [VWR] Compiling WindLight on MacOS

Nicholaz Beresford nicholaz at blueflash.cc
Tue Dec 25 08:32:22 PST 2007


Hi!

My files up there already had minor modifications (including
with "glh/" or "gl/" and also one MSVC warning fixed) so I just
added Alissa's #ifdef to the ZIP file on my server.

If anyone else finds something that needs tweaked for a good
compile, please let me know.



Nick


Alissa Sabre wrote:
> Has anybody tried compiling WindLight viewer on MacOS?
> 
> I grabbed and compiled the FL-1.18.6.76116 source on MacOS X
> (10.4.11).  The first try failed because glh/glh_linear.h and
> glh/glh_convenience.h were not found.  So, I went to the Nick's site
> and downloaded http://www.blueflash.cc/users/nicholaz/~libs/glh.zip
> 
> Then, I got an error message that says GL/gl.h : No such file or
> directory in glh_convenience.h.  Well, on MacOS (or xcode I should
> say), gl.h is under OpenGL directory but GL, so it must be included as
> <OpenGL/gl.h>.  I edited the file as follows:
> 
> #if LL_DARWIN
> #include <OpenGL/gl.h>
> #else
> #include <GL/gl.h>
> #endif
> 
> The problem here is, that the include <GL/gl.h> is in
> glh_convenience.h, and the comment in glh_convenience.h says "glh is
> platform independent".  Also, the file has NVIDIA copyright.  I have a
> feeling that I should not put SL specific LL_DARWIN or any other
> platform-specific macro/#if's there.
> 
> What should I do?  What Lindens are doing?
> 
> Any idea?
> 
> # I hope Soft makes source QA on WindLight next time...
> 
>     Alissa Sabre
> --------------------------------------
> New Design Yahoo! JAPAN  2008/01/01
> http://pr.mail.yahoo.co.jp/newdesign/
> _______________________________________________
> Click here to unsubscribe or manage your list subscription:
> /index.html


More information about the SLDev mailing list