Open sonygod opened 4 years ago
before I try to build I've installed emcc . haxe version Haxe Compiler 4.1.0-rc.1+4bf5cce05
1:
haxelib git webidl https://github.com/ncannasse/webidl.git
2:
git clone https://github.com/ncannasse/webidl.git
3
cd webidl/sample
4
haxelib dev webidl .
5
make js
root@cloud-q5l9gc-cyse:~/test/webidl/sample# make js haxe -lib webidl --macro "SampleModule.buildLibCpp()" haxe -lib webidl --macro "SampleModule.buildLibJS()" > python /root/libs/emsdk/upstream/emscripten//emcc.py -O2 -c point.cpp -o point.bc > python /root/libs/emsdk/upstream/emscripten//emcc.py -O2 -c libpoint.cpp -o libpoint.bc > make -f Makefile.tmp make[1]: Entering directory '/root/test/webidl/sample' python "/root/libs/emsdk/upstream/emscripten//emcc.py" point.bc libpoint.bc -O2 -s EXPORT_NAME="'libpoint'" --memory-init-file 0 -o libpoint.js make[1]: Leaving directory '/root/test/webidl/sample' haxe -js sample.js -lib webidl -main Sample -dce full Sample.hx:2: characters 8-20 : Module SampleModule does not define type SampleModule Makefile:10: recipe for target 'js' failed make: *** [js] Error 1
//////////
which step was wrong?
before I try to build I've installed emcc . haxe version Haxe Compiler 4.1.0-rc.1+4bf5cce05
1:
2:
3
4
5
//////////
which step was wrong?