On Tue, Sep 30, 2014 at 2:18 PM, Victor Bombi <son...@telefonica.net> wrote:

> Hello,
>
> I have compiled wxWidgets 3.0.1 on mac osx 10.9 (also widgets sample)
>
>
when compiling wxLuaModule:
>
> ...

> In file included from
> /Users/Morundi/Downloads/wxWidgets-3.0.1/include/wx/string.h:46:
> /Users/Morundi/Downloads/wxWidgets-3.0.1/include/wx/strvararg.h:30:18:
> fatal
> error: 'tr1/type_traits' file not found
>         #include <tr1/type_traits>
>
> Any thoughts?
>

We must be missing some #include path, but that include should be in the
compiler default include path.

It lives here on my Linux box:
/usr/include/c++/4.8.3/tr1/type_traits

I think this describes the problem.
http://stackoverflow.com/questions/9345271/xcode-4-3-and-c11-include-paths

It looks like we need to add "std=c++11 -stdlib=libc++" to the compiler and
linker flags.

What XCode version do you use and what does this print if you add it to the
CMakeLists.txt file?

MESSAGE("AAA ${CMAKE_CXX_COMPILER}")

Thanks,
    John
------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
wxlua-users mailing list
wxlua-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxlua-users

Reply via email to