haxeui / haxeui-hxwidgets

The hxWidgets backend of the HaxeUI framework -
http://haxeui.org
MIT License
23 stars 7 forks source link

OSX compilation error tr1/type_traits #20

Closed kiroukou closed 4 years ago

kiroukou commented 6 years ago

Hello all,

I'm considering compiling a test project with this nice library, but under OSX. I'm using a compiled version of wxWidgets, using the latest git version.

Haxe 3.4.2 hxcpp: [3.4.188] hxWidgets: [1.0.0] haxeui-core: [0.0.3] haxeui-hxwidgets: [0.0.2]

 - src/wx/widgets/styles/TextCtrlStyle.cpp
Error: In file included from ./src/wx/widgets/styles/WindowStyle.cpp:5:
In file included from include/wx/widgets/styles/WindowStyle.h:11:
In file included from /usr/local/include/wx-3.1/wx/window.h:18:
In file included from /usr/local/include/wx-3.1/wx/event.h:16:
In file included from /usr/local/include/wx-3.1/wx/object.h:19:
In file included from /usr/local/include/wx-3.1/wx/memory.h:15:
In file included from /usr/local/include/wx-3.1/wx/string.h:37:
/usr/local/include/wx-3.1/wx/strvararg.h:27:18: fatal error: 'tr1/type_traits' file not found
        #include <tr1/type_traits>
                 ^~~~~~~~~~~~~~~~~
1 error generated.
Error: Build failed
Le processus du terminal s'est achevé avec le code de sortie 1

I saw some people here with compiled project under OSX, so I'm pretty sure it is doable, but for some reasons I can't figure it out how to fix that compilation error (checked the web before, but didn't manage to apply the fix correctly if valid)

Thanks

ianharrigan commented 6 years ago

Hmmm, not good. Can you try and run the hxWidgets sample project (https://github.com/haxeui/hxWidgets/tree/master/samples/00-Showcase)? My guess is the same will happen there, and it may be a better idea to duplicate this log there as i feel like this may not have anything to with haxeui directly.

Cheers, Ian

kiroukou commented 6 years ago

Hello. You were right, I'm duplicating the issue there.

https://github.com/haxeui/hxWidgets/issues/53

melMass commented 5 years ago

@kiroukou Can you close this issue now ?