Re: Building issues with gcc


Jeff Clifford <j...@...>
 

Yep good for me now too thanks.  Both gcc412 and gcc433 build fine and using -D CMAKE_CXX_FLAGS= passes through too.

Richard Shaw wrote:

On Thu, Dec 8, 2011 at 8:06 PM, Jeremy Selan <jere...@...> wrote:
  
I pushed a fix to my local master that detects what gcc is being used, and
acts accordingly.

Would you test with both of your gcc versions and confirm this works?  I
wasn't sure if -fPIC should still be used on gcc4.1, so I left it on
(current behavior).

diff:
https://github.com/jeremyselan/OpenColorIO/commit/f0f45901178462287b713de1d9c51e0fc517ab47

Download the updated CMakeLists.txt:
https://raw.github.com/jeremyselan/OpenColorIO/f0f45901178462287b713de1d9c51e0fc517ab47/CMakeLists.txt
    
Built with no errors on my system (GCC 4.6.1)

Richard
  

Join ocio-dev@lists.aswf.io to automatically receive all group messages.