Anyone build glportal on osx (mavericks)? I'd like some hints before I attempt to figure it out by myself! Thx.


Sure I will. However, I assumed I could build on Linux. I just tried and I am having trouble there too! Messages seem to indicate code is not c++ compliant. Maybe I need to try an older version of the gcc compiler....I will study your guide first.

I managed to build on my miniMac (early 2009, Mavericks with Xcode)! However, my methods are crude and the exe is sluggish.
I will update if I find a nicer way... First, on Linux, I have a recent g++ in a nonstandard place, so I needed to modify the CMakeCache.txt file to point to my newest. Then, that worked.

On OSX, the most difficult part was installing FreeImage (its makefile needed much editing). Then I had to install libassimp, which was somewhat tricky. I already had freeglut installed. After these were installed, I made a build directory, and from there I did cmake ../source. Then I had to edit CMakeCache.txt to define 3 items.
A) the architecture I wanted ( CMAKE_OSX_ARCHITECTURE:STRING= x86_64 )
B) CMAKE_CXX_FLAGS:STRING= -std=c++11 -I/usr/include/glew -I/opt/X11/include -I/usr/local/include
in order to define the include paths to glew, freeglut, FreeImage, and assimp.
C) define the library path to satisfy: -lglut, -lfreeimage, -lassimp, -lGL, -lGLU
using the parameter CMAKE_EXE_LINKER_FLAGS:STRING=

Thusly, make succeeded for me.