armory3d / armortools

3D Content Creation Tools
https://armorpaint.org
Other
3.29k stars 336 forks source link

Could not load krom.js on linux #1556

Closed maxtar closed 1 year ago

maxtar commented 1 year ago

ArmorPaint version: e8b7d18c57c82d02c9b76d6618e8837473b08737

Issue description: When I try to run armorpaint I've got error "Could not load krom.js, aborting."

Steps to reproduce:

Run the following commands:

git pull origin main
git submodule update --init --recursive
rm -rf build
armorcore/Kinc/make --from armorcore -g opengl --compiler clang --compile
cd armorcore/Deployment
strip ArmorPaint
 ./ArmorPaint ../../build/krom

After that I've got mentioned error.

luboslenco commented 1 year ago

Hello,

armorcore/Kinc/make --from armorcore -g opengl --compiler clang --compile

This looks like it's from an outdated instructions. Please check the latest build instructions here: https://github.com/armory3d/armortools/blob/main/armorpaint/README.md

maxtar commented 1 year ago

@luboslenco Ok. Tried instruction from this page. Have got the following compile error compile.log