ceramic-engine / ceramic

Cross-platform 2D framework written in Haxe that can export natively to desktop (windows, mac, linux), mobile (ios, android), web (js + webgl) and to unity projects
MIT License
264 stars 22 forks source link

Missing HXCPP Headers on MacOSX #69

Closed darmie closed 3 years ago

darmie commented 3 years ago

This is what I get when I run ceramic clay run mac --setup

Compiling group: haxe
xcrun --sdk macosx11.1 clang++ -Iinclude -I/Volumes/Vibranium/Users/damilare/ceramic/plugins/clay/runtime/src/backend/linc/ -I/Volumes/Vibranium/Users/damilare/ceramic/git/linc_ogg/lib/ -I/Volumes/Vibranium/Users/damilare/ceramic/git/linc_ogg/linc/ -I/Volumes/Vibranium/Users/damilare/ceramic/git/linc_ogg/lib/ogg/include/ -I/Volumes/Vibranium/Users/damilare/ceramic/git/linc_ogg/lib/vorbis/include/ -I/Volumes/Vibranium/Users/damilare/ceramic/git/linc_ogg/lib/theora/include/ -DNATIVE_TOOLKIT_OGG -DNATIVE_TOOLKIT_VORBIS -DNATIVE_TOOLKIT_THEORA -DLINC_OPENAL -I/Volumes/Vibranium/Users/damilare/ceramic/git/linc_openal/linc/ -I/Volumes/Vibranium/Users/damilare/ceramic/git/linc_opengl/linc/ -I/Volumes/Vibranium/Users/damilare/ceramic/git/linc_opengl/lib/glew/include/ -DLINC_OPENGL_GLEW -DGLEW_STATIC -DLINC_SDL -I/Volumes/Vibranium/Users/damilare/ceramic/git/linc_sdl/linc/ -I/Volumes/Vibranium/Users/damilare/ceramic/git/linc_sdl/lib/sdl/include/ -I/Volumes/Vibranium/Users/damilare/ceramic/git/linc_sdl/lib/sdl/include/configs/mac/ -DHAVE_LIBC -DNATIVE_TOOLKIT_SDL -I/Volumes/Vibranium/Users/damilare/ceramic/git/linc_stb/lib/ -I/Volumes/Vibranium/Users/damilare/ceramic/git/linc_stb/linc/ -I/Volumes/Vibranium/Users/damilare/ceramic/git/linc_timestamp/linc/ -c -fvisibility=hidden -stdlib=libc++ -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk -O2 -I11.1/include -DHX_MACOS -m64 -Wno-parentheses -Wno-null-dereference -Wno-unused-value -Wno-format-extra-args -Wno-overflow -Wno-bool-conversion -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS(haxe) -DHXCPP_CHECK_POINTER(haxe) -DHXCPP_STACK_TRACE(haxe) -DHXCPP_STACK_LINE(haxe) -DHX_SMART_STRINGS(haxe) -DHXCPP_API_LEVEL=400(haxe) ... tags=[haxe,static]
 - src/ceramic/Logger.cpp 
 - src/clay/graphics/Color.cpp 
Error: ./src/clay/graphics/Color.cpp:1:10: fatal error: 'hxcpp.h' file not found
#include <hxcpp.h>
         ^~~~~~~~~
1 error generated.
Failed to compile C++

Path to HXCPP was omitted in the compiler flags

jeremyfa commented 3 years ago

What was the issue?