You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cd 00-Showcase/
$ ls
Run.bat build-static.hxml copy_dlls.bat src
assets build.hxml hxWidgets.hxproj
$ haxe build.hxml
haxelib run hxcpp Build.xml haxe -Dhaxe3="1" -Dhaxe_ver="3.402" -DhxWidgets="1.0.0" -Dhxcpp="3.4.188" -Dhxcpp_api_level="331" -Dsource-header="GeneratedByHaxe" -Dsource_header="GeneratedByHaxe" -I"src/" -I"/usr/local/lib/haxe/lib/hxcpp/3,4,188/" -I"/usr/local/lib/haxe/lib/hxWidgets/git/src/" -I"/usr/lib/haxe/extraLibs/" -I"/usr/local/lib/haxe/extraLibs/" -I"" -I"/usr/lib/haxe/std/cpp/_std/" -I"/usr/share/haxe/std/cpp/_std/" -I"/usr/local/lib/haxe/std/cpp/_std/" -I"/usr/lib/haxe/std/" -I"/usr/share/haxe/std/" -I"/usr/local/lib/haxe/std/"
Creating /usr/local/lib/haxe/lib/hxWidgets/git/samples/00-Showcase/bin/obj/darwin64/__pch/haxe/hxcpp.h.gch...
Compiling group: haxe
g++ -Iinclude -I/usr/local/lib/wx/include/osx_cocoa-unicode-3.1 -I/usr/local/include/wx-3.1 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXMAC__ -D__WXOSX__ -D__WXOSX_COCOA__ -I/usr/local/lib/haxe/lib/hxWidgets/git/src/../include -mmacosx-version-min=10.7 -std=c++11 -stdlib=libc++ -c -fvisibility=hidden -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk -O2 -I/usr/local/lib/haxe/lib/hxcpp/3,4,188/include -DHX_MACOS -m64 -Wno-parentheses -Wno-unused-value -Wno-format-extra-args -Wno-overflow -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS(haxe) -DHXCPP_API_LEVEL=331(haxe) ... tags=[haxe,static]
- src/wx/widgets/styles/TextCtrlStyle.cpp
- src/wx/widgets/styles/WindowStyle.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
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 for your help.
The text was updated successfully, but these errors were encountered:
Hello,
Here is the compilation I have under OSX.
I've installed wxwidgets via github + make and also tried via brew.
Haxe 3.4.2
hxcpp: [3.4.188]
hxWidgets: Git version master branch
haxeui-core: [0.0.3]
haxeui-hxwidgets: [0.0.2]
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 for your help.
The text was updated successfully, but these errors were encountered: