Hi,
I am trying to build OpenSG (and pyopensg) on MacOS.
I noticed that in the CMake file GLUT is disabled by default on MacOs.

    IF(NOT APPLE)
      OSG_CONFIGURE_GLUT()

      IF(GLUT_FOUND)
        OSG_SET(OSG_WITH_GLUT 1)
        OSG_SET(OSG_GLUT_INC_DIR ${GLUT_INCLUDE_DIR})
        OSG_SET(OSG_GLUT_LIBS ${GLUT_LIBRARIES})
      ELSE(GLUT_FOUND)
        OSG_SET(OSG_WITH_GLUT 0)
        OSG_SET(OSG_GLUT_INC_DIR "")
        OSG_SET(OSG_GLUT_LIBS "")
      ENDIF(GLUT_FOUND)

    ENDIF(NOT APPLE)

Thus by Removing those two lines it seems to work..

Any particular reason why it is disabled?

Thank You

--------------------------
Luck favors the prepared mind. (Pasteur)

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to