You are correct, it is in the running process of it. When i do lime build mac, the error message doesn’t appear.
When i installed the openfl-webm, in the ndll folder for mac, it doesn’t have the ndll you mentioned. It appears only in the “windows” folder of ndll. That is the missing ndll, i supposed.
When i run the the build_mac.sh, the result is:
$ bash /Users/s/openfl-webm/0,0,4/build_mac.sh
/Users/s/openfl-webm/0,0,4/build_mac.sh: line 2: pushd: project: No such file or directory
Error: Could not open build file “Build.xml”
/Users/s/openfl-webm/0,0,4/build_mac.sh: line 4: popd: directory stack empty
I’ve also tried running the script: haxelib run hxcpp /users/s/openfl-webm/0,0,4/project/Build.xml -Dmac and the result is:
g++ -Iinclude -Ilibogg/include -Ilibvorbis/include -Ilibvorbis/lib -I…/libs.src/libvpx -c -fvisibility=hidden -stdlib=libstdc++ -Qunused-arguments -O2 -I/Users/stevelim/hxcpp/3,1,39/include -DHX_MACOS -m32 -Wno-parentheses -Wno-unused-value -Wno-format-extra-args -DHXCPP_VISIT_ALLOCS -DHXCPP_API_LEVEL=0 -x c++ -frtti ./common/ExternalInterface.cpp -oobj/darwin/f07302ae_ExternalInterface.o
Error: clang: error: no such file or directory: './common/ExternalInterface.cpp’
clang: error: no input files
Although in the project file where Build.xml is located there is common folder with the file ExternalInterface.cpp
To see I tried it, linux though with g++, three errors I had to fix but otherwise it compiled.
So I wonder if clang or mac does something different.
I’ll try to make hxcpp use clang and retry.
I have no idea. I tried both on my macpro desktop and macpro laptop. Tried moving the whole openfl-webm folders as well as renaming them but still can’t find the cpp file.
I just gave it a try. It had errors about not finding “vpx” headers, and some other things which I was just able to resolve. I have not tried to use the library, but “lime rebuild haxe-openfl-webm mac” is working now.
Here is the pull:
You can also just download the changed source from here: