pkulchenko / ZeroBraneStudio

Lightweight Lua-based IDE for Lua with code completion, syntax highlighting, live coding, remote debugger, and code analyzer; supports Lua 5.1, 5.2, 5.3, 5.4, LuaJIT and other Lua interpreters on Windows, macOS, and Linux
http://studio.zerobrane.com/
Other
2.62k stars 518 forks source link

error loading module 'wx' in Linux app under chromebook #1009

Open weiqj opened 5 years ago

weiqj commented 5 years ago

I am using the Linux app under chromebook. uname -a Linux penguin 4.19.44-04937-gd773af751792 #1 SMP PREEMPT Thu Aug 8 21:43:29 PDT 2019 x86_64 GNU/Linux

I know it is not supported but I think if there is an easy fix it will certain reach more audience.

bin/linux/x64/lua: error loading module 'wx' from file 'bin/linux/x64/clibs/libwx.so': libGL.so.1: cannot open shared object file: No such file or directory stack traceback: [C]: at 0x0047e7a2 [C]: in function 'require' src/main.lua:38: in main chunk [C]: at 0x00404f08

pkulchenko commented 5 years ago

This is caused by one of the dependencies (opengl in this case) not being available.

I'm curious if this is the only dependency to make it run on your system. I'm going to provide a different binary that doesn't include opengl dependency to check if it's possible to launch it without it. I'll update the ticket when it's available.

weiqj commented 5 years ago

Hello Paul, Thank you for your quick response. I look forward to your update. I will test it and give you feedback.