Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sample.hx:2: characters 8-20 : Module SampleModule does not define type SampleModule #22

Open
sonygod opened this issue Mar 5, 2020 · 0 comments

Comments

@sonygod
Copy link

sonygod commented Mar 5, 2020

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant