Comments (6)
Yep, it builds now
from zerobranestudio.
Yes, it should be possible, but you'd have to build it yourself (using the included build script). See #745 for details and related arm-build discussion.
from zerobranestudio.
Oh, thanks!
from zerobranestudio.
Welp, i tried to build it, but i can't?
#!/bin/bash
sudo dnf install -y gcc-c++ git cmake gtk3-devel wget sqlite mesa-libGL-devel lua
git clone https://github.com/pkulchenko/ZeroBraneStudio.git ~/ZerobraneSource/
cd ~/ZerobraneSource/build/
./build-linux.sh lua wxwidgets wxlua luasocket
but it fails on building wxlua:
[ 95%] Building CXX object modules/luamodule/CMakeFiles/wxLuaModule.dir/__/wxlua/wxlstate.cpp.o
make[2]: *** No rule to make target "~/Downloads/ZeroBraneStudio-master/build/deps/lib/libwx_gtk3u_gl-3.1.a", needed by "lib/MinSizeRel/libwx.so". Stop
make[2]: *** Waiting for unfinished jobs...
[ 97%] Building CXX object modules/luamodule/CMakeFiles/wxLuaModule.dir/__/wxlua/wxlua_bind.cpp.o
make[1]: *** [CMakeFiles/Makefile2:378: modules/luamodule/CMakeFiles/wxLuaModule.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
Error: failed to build wxLua
cmake ./
I'm not really big expert in cmake, building from source and in bash in general, so i might doing something wrong.
lua, wxwidgets, luasocket, builds without errors. I tried to build it on Raspberry Pi 4 itself, with Fedora Workstation 37, with everything updated.
from zerobranestudio.
It looks like gl
library is not found for some reason; I suspect it may be because some of its dependencies are missing, wxwidgets didn't build it.
you can try removing gl
from the following two lines in build-linux.sh to see if this helps (as gl library is not strictly needed for the IDE):
diff --git a/build/build-linux.sh b/build/build-linux.sh
index b0944b62..a75d1f93 100755
--- a/build/build-linux.sh
+++ b/build/build-linux.sh
@@ -303,8 +303,8 @@ if [ $BUILD_WXLUA ]; then
-DCMAKE_BUILD_TYPE=$WXLUABUILD -DBUILD_SHARED_LIBS=FALSE \
-DCMAKE_SKIP_RPATH=TRUE \
-DwxWidgets_CONFIG_EXECUTABLE="$INSTALL_DIR/bin/wx-config" \
- -DwxWidgets_COMPONENTS="xrc;xml;stc;gl;html;aui;adv;core;net;base" \
- -DwxLuaBind_COMPONENTS="xrc;xml;stc;gl;html;aui;adv;core;net;base" \
+ -DwxWidgets_COMPONENTS="xrc;xml;stc;html;aui;adv;core;net;base" \
+ -DwxLuaBind_COMPONENTS="xrc;xml;stc;html;aui;adv;core;net;base" \
-DwxLua_LUA_LIBRARY_USE_BUILTIN=FALSE \
-DwxLua_LUA_INCLUDE_DIR="$INSTALL_DIR/include" -DwxLua_LUA_LIBRARY="$INSTALL_DIR/lib/liblua.a" .
(cd modules/luamodule; make $MAKEFLAGS) || { echo "Error: failed to build wxLua"; exit 1; }
from zerobranestudio.
You'd only need to rerun the wxlua build: ./build-linux.sh wxlua luasocket
from zerobranestudio.
Related Issues (20)
- Search - Find in files. wxLua Runtime Error when specify file path HOT 2
- Studio .app crashes on M1, Sonoma beta HOT 17
- Live coding in Love2D broken HOT 7
- The search box should accept Ctrl+A to select all text... HOT 1
- Windows: ZeroBrane built-in lua interpreters perform unavoidable command line file globbing HOT 4
- Plugin Settings HOT 3
- ide:ExecuteCommand() weirdness HOT 4
- Zerobrane crash when renaming a file to a name that already exists HOT 3
- [request] column text edition mode HOT 3
- Failed to add image 'zbstudio/res/32/FOLDER-PROJECT.png' to the image list. HOT 8
- minifier plugin or tool?
- Segfault when creating a new file HOT 5
- CadZinho integrated with ZeroBrane Studio
- ZBS stops while debugging HOT 4
- ZBS error while closing child windows HOT 7
- Changing LUA Interpreter for Zerobrane itself
- Console window input problems
- Lua Error While running Chunk HOT 12
- Debug output console don't relay keypress
- Download links are broken HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zerobranestudio.