Re: Building issues with gcc


Jeremy Selan <jeremy...@...>
 

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

-- Jeremy


On Thu, Dec 8, 2011 at 12:27 PM, Jeff Clifford <j...@...> wrote:
Hi Jeremy,

Thanks for getting back to me so fast.

I can confirm already that omitting the -fvisibility-inlines-hidden from just CMakeLists.txt works.

I can also confirm that the issue doesn't occur for our gcc4.3.3 build - only for our gcc4.1.2 build.

Thanks,

Jeff.

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