zorba-coders team mailing list archive
-
zorba-coders team
-
Mailing list archive
-
Message #26365
Re: [Merge] lp:~paul-lucas/zorba/pjl-misc into lp:zorba
Review: Needs Fixing
I'm on OSX Mountain Lion 10.8.5, completely clean of this branch and I was getting file not found on #include <type_traits> . I added -stdlib=libc++ to the compiler flags and it fixes the error:
IF (CMAKE_COMPILER_IS_GNUCXX OR CLANG)
- SET(CMAKE_CXX_FLAGS "-std=c++11 ${CMAKE_CXX_FLAGS}")
+ SET(CMAKE_CXX_FLAGS "-std=c++11 -stdlib=libc++ ${CMAKE_CXX_FLAGS}")
ENDIF (CMAKE_COMPILER_IS_GNUCXX OR CLANG)
So as it stands right now without this fix, the mac build fails for me.
--
https://code.launchpad.net/~paul-lucas/zorba/pjl-misc/+merge/193255
Your team Zorba Coders is subscribed to branch lp:zorba.
References