WeaselGames / godot_luaAPI

Godot LuaAPI
https://luaapi.weaselgames.info
Other
375 stars 28 forks source link

Unable to find library -llua while building html5 custom export template #17

Closed cenullum closed 3 years ago

cenullum commented 3 years ago

I was trying to make custom export template for html5 and I got such an error at the last step. I think this supposed to be -lua not -llua image

Trey2k commented 3 years ago

The issue would be there is no lib for lua on WASM builds currently. -l means link followed by the name of the thing to link. WASM support is one of the things I plan on focusing on. Once I have lua being built form source it should work

Trey2k commented 3 years ago

I was trying to make custom export template for html5 and I got such an error at the last step. I think this supposed to be -lua not -llua image

Can you try the same thing with the dev branch? https://github.com/Trey2k/lua/tree/dev

cenullum commented 3 years ago

same thing image

Trey2k commented 3 years ago

Hmm, well I am not too sure. Because the dev branch is building lua from source. Ill do some testing

cenullum commented 3 years ago

I cloned godot again and ...tree/dev. it builded custom export template without -llua error is gone then I builded my html game but then I got this another error on my game image then I saw faless's comment https://github.com/godotengine/godot/issues/45425#issuecomment-767007486

so deleted part of util.js image

then open mode wm+ error was gone but became full black screen and got this error. now I will clone godot again becuase there was a warning that i underestimated i will take a screenshot of it

image

cenullum commented 3 years ago

there is a problem about audio. I got this warning over 10 times while building Ekran görüntüsü 2021-07-27 233936 emcc also warned about deprecation image

cenullum commented 3 years ago

I tried to build on current godot instead of 3.2.3 and got same audio_server.h error. so the last error is related to my computer so probably lua works on html5. can you release a web custom export template? or it seems I can't test my game until figure it out @Trey2k

Trey2k commented 3 years ago

I tried to build on current godot instead of 3.2.3 and got same audio_server.h error. so the last error is related to my computer so probably lua works on html5. can you release a web custom export template? or it seems I can't test my game until figure it out @Trey2k

I will see what I can do

Trey2k commented 3 years ago

I get the exact same errors on my export templates. Not exactly sure what the issue is

Trey2k commented 3 years ago

Okay @cenullum I got it working! image Export templates and updated release builds will be up tonight!