[ZeroBrane Studio] Re: Zerobrane studio on Raspberry Pi4

  • From: Milind Gupta <milind.gupta@xxxxxxxxx>
  • To: zerobrane@xxxxxxxxxxxxx
  • Date: Sun, 31 Jan 2021 20:35:04 -0800

Ok, yes I was using the script from 1.9. I see the update in the latest
script. I would use that the next time

Thanks,
Milind

On Sat, Jan 30, 2021, 11:46 PM Paul K <paul@xxxxxxxxxxxxx> wrote:

Hi Milind,

In the end of the script the copy did not run smoothly. I think it needs
to create teh BUILD_DIR/clibs directories before it copies stuff in them.

Did you use the latest build script from the master branch? I think I
already fixed that issue, but if not, let me know, as I have a fix for
it.

Paul.

On Sat, Jan 30, 2021 at 10:27 PM Milind Gupta <milind.gupta@xxxxxxxxx>
wrote:

Thanks Paul,
       That did it. In the end of the script the copy did not run
smoothly. I think it needs to create teh BUILD_DIR/clibs directories before
it copies stuff in them.

Milind


On Sat, Jan 30, 2021 at 3:29 PM Paul K <paul@xxxxxxxxxxxxx> wrote:

Hi Milind,

It looks like you are using build scripts from the 1.90 version tag
(which does use `git checkout master` to get wxlua code). Use the
build file from the current master or replace it with `git checkout
v3.0.0.8` for wxlua and it should work.

Paul.

On Sat, Jan 30, 2021 at 3:27 PM Paul K <paul@xxxxxxxxxxxxx> wrote:

Actually I see the script is pulling wxwidgets and wxlua from your
repository. So I don't think the version should mismatch since wxwidgets
last commit there is Dec 2019.

Right; are you sure you are using wxlua 3.0.0.8? I'll check a bit
later, but I'm fairly certain that this combination should
compile/work on all platforms.

Paul.

On Sat, Jan 30, 2021 at 3:22 PM Milind Gupta <milind.gupta@xxxxxxxxx>
wrote:

Actually I see the script is pulling wxwidgets and wxlua from your
repository. So I don't think the version should mismatch since wxwidgets
last commit there is Dec 2019.

Milind

On Sat, Jan 30, 2021 at 3:18 PM Milind Gupta <
milind.gupta@xxxxxxxxx> wrote:

Hi Paul,
        So I did not change any version numbers in the
build-linx.sh script. I have attached the script that I used. Which is
basically the original script the the change to LexLpeg URL.
         I see that it pulls the latest code from github. I will
try to get the 3.1.4 version of wxwidgets and try with that.

Thanks,
Milind


On Sat, Jan 30, 2021 at 2:35 PM Paul K <paul@xxxxxxxxxxxxx> wrote:

Hi Milind,

You seem to be using a mix of wxWidgets and wxlua versions that
may
not work together. If you are using build scripts from ZBS, then
the
version of wxlua used there should be 3.0.0.8, but according to
the
error message, it seems to be a later one.

You either need to use the exact versions that the build scripts
include OR use the latest wxwidgets (3.1.5 from the master
branch) and
the latest wxlua (the current master branch). The latest version
of
wxlua should always work with previous wxwidgets releases (for
example, 3.1.4), but it may not always work with the current
version,
as the master branch of wxwidgets may include changes that
haven't yet
been reflected in the current version of wxlua.

If this still doesn't help, please include the detailed
information
about wxwidgets and wxlua versions (and commit hashes if you are
using
their repositories, as the currently reported version of wxwidgets
hasn't been tagged yet, so its content may change).

I had to update the url to download LexLpeg the old url was not
found.

Good catch; I'll update it to

https://github.com/orbitalquark/scintillua/archive/scintillua_3.6.5-1.zip.
Thanks!

Paul.

On Sat, Jan 30, 2021 at 1:57 PM Milind Gupta <
milind.gupta@xxxxxxxxx> wrote:

A little more information:

I had to update the url to download LexLpeg the old url was not
found. Also the above error is while compiling wxlua.
I ran the build script as:

sudo ./build-linux.sh all 5.3

Thanks,
Milind

On Sat, Jan 30, 2021 at 1:54 PM Milind Gupta <
milind.gupta@xxxxxxxxx> wrote:

Hi Paul, Dinabandhu,
           Reviving this old thread. I tried compiling
Zerobrane on RPi4. I am having problems compiling wxWidgets. I got the
following error when running the script:

[ 15%] Building CXX object
modules/luamodule/CMakeFiles/wxLuaModule.dir/__/wxbind/src/wxadv_bind.cpp.o

/home/pi/Downloads/ZeroBraneStudio-1.90/build/wxlua/wxLua/modules/wxbind/src/wxaui_bind.cpp:
In function ‘int wxLua_wxAuiToolBar_DestroyTool(lua_State*)’:

/home/pi/Downloads/ZeroBraneStudio-1.90/build/wxlua/wxLua/modules/wxbind/src/wxaui_bind.cpp:2311:27:
error: ‘class wxAuiToolBar’ has no member named ‘DestroyTool’; did you mean
‘Destroy’?
     bool returns = (self->DestroyTool(toolId));
                           ^~~~~~~~~~~
                           Destroy

/home/pi/Downloads/ZeroBraneStudio-1.90/build/wxlua/wxLua/modules/wxbind/src/wxaui_bind.cpp:
In function ‘int wxLua_wxAuiToolBar_DestroyToolByIndex(lua_State*)’:

/home/pi/Downloads/ZeroBraneStudio-1.90/build/wxlua/wxLua/modules/wxbind/src/wxaui_bind.cpp:2329:27:
error: ‘class wxAuiToolBar’ has no member named ‘DestroyToolByIndex’; did
you mean ‘FindToolByIndex’?
     bool returns = (self->DestroyToolByIndex(idx));
                           ^~~~~~~~~~~~~~~~~~
                           FindToolByIndex

Is there some version different that may be causing this? I am
using the latest Zerobranestudio package. Which version were you able to
compile previously?

Thanks,
Milind


On Tue, Oct 13, 2020 at 8:02 AM Paul K <paul@xxxxxxxxxxxxx>
wrote:

If I want to run zbstudio on another RPi, should I copy the
whole directory there or is there a minimal subset that I need to copy?

You'd need to copy all the folders except build/ and t/. If
you want
the absolute minimum, then only keep files listed in
zbstudio/MANIFEST
and zbstudio/MANIFEST-bin-linux.

Paul.

On Mon, Oct 12, 2020 at 11:35 PM Dinabandhu Mitra <
dinu.mitra@xxxxxxxxx> wrote:

Hi,

I could successfully build and run zbstudio using the
scripts. Thanks a lot. If I want to run zbstudio on another RPi, should I
copy the whole directory there or is there a minimal subset that I need to
copy?

Thanks & Regards,
Dinabandhu

On Tue, Oct 13, 2020 at 8:25 AM Dinabandhu Mitra <
dinu.mitra@xxxxxxxxx> wrote:

Thanks Paul, I will give it a try.

Dinabandhu

On Sun, Oct 11, 2020 at 10:30 AM Paul K <
paul@xxxxxxxxxxxxx> wrote:

There is no binary available, but you should be able to
compile one
using the build scripts provided in the build/ folder of
the
repository (`./build-linux.sh all` should work).

Paul.

On Sat, Oct 10, 2020 at 9:53 PM Dinabandhu Mitra <
dinu.mitra@xxxxxxxxx> wrote:

Hi,

I wanted to run zerobrane studio on Raspberry Pi 4
running Raspbian OS.I could not find a ARM binary for linux. Is there a way
for me run Zerobrane on RPi?






Other related posts: