ncannasse / webidl

Haxe support for WebIDL
MIT License
90 stars 16 forks source link

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

Closed WolfieWerewolf closed 5 years ago

WolfieWerewolf commented 5 years ago

Hi Guys.. I'm trying to build the sample on Linux Mint (Ubuntu derivative). I am using 4.0.0-rc.1 which I cloned and built from github and emscripten incoming as per the previous post. Any assistance would be appreciated. Kind Regards /W

zicklag commented 5 years ago

Are you building it by running the make js in the sample/ directory?

WolfieWerewolf commented 5 years ago

@zicklag Thanks for responding.. yes I've gone through each of the build steps in the Makefile excluding the one for windows and it fails when I attempt to execute make js or the command line it executes manually.

Thanks

zicklag commented 5 years ago

No problem. :slightly_smiling_face:

So I just installed Haxe 4.0.0-rc1 and it works for me on Ubuntu 16.04. In the webidl repo try running haxelib dev webidl . and then running make js in the sample dir again.

WolfieWerewolf commented 5 years ago

@zicklag Magic! I had previously pulled an older version into my haxelib folder and so that was being referenced.. Thank you!