Problems with openMSX debugger symbols

Página 2/2
1 |

Por Grauw

Ascended (10823)

Imagen del Grauw

13-03-2023, 20:05

BadWolf359 wrote:

@Grauw: Could you perhaps tell me how I can download (and possibly compile) that newer version in Ubuntu? Because I don't think I can use the APT package manager for this. Or could I?

Building should be easy on Linux, clone with:

git clone https://github.com/openMSX/debugger.git

And then, according to the README:

Quote:

Build with:

make

Por BadWolf359

Resident (38)

Imagen del BadWolf359

13-03-2023, 21:30

Grauw wrote:

Building should be easy on Linux, ....

You would think so. But apparently it's not that simple. I've tried a lot but keep getting the same errors:

$ make
Generating ui_BitMapViewer.h...
make: /usr/lib/qt5/bin/uic: No such file or directory
make: *** [build/main.mk:310: derived/src/ui_BitMapViewer.h] Error 127

QT5 is installed but apparently something is wrong. My knowledge in this area is unfortunately "NULL". So I guess I'll just try to get by with manually adjusting the .sym case each time.

I was trying Dezog by Sourceror but that brings a lot of new confusing problems Smile

Por Manuel

Ascended (19691)

Imagen del Manuel

13-03-2023, 21:31

You also need the development package of qt5, often call libqt5-dev or similar.

Por BadWolf359

Resident (38)

Imagen del BadWolf359

13-03-2023, 21:53

YES!

sudo apt-get install qtbase5-dev

Now it builds! But now it's not yet "installed". At least I can't find it as an Ubuntu application.
I can start it when I go to the newly filled "derived/bin/openmsx-debugger"

It now loads the .sym file correctly so that's very nice! Thanx!

So we're almost there!

Is there a way to "install" this application so I can see & start it from the Ubuntu Applications menu?

Por pizzapower

Master (172)

Imagen del pizzapower

14-03-2023, 00:35

You will probably need to create a desktop file (you can call it openmsx-debugger.desktop) similar to this one:

[Desktop Entry]
Type=Application
Encoding=UTF-8
Name=OpenMSX-Debugger
Comment=MSX Debugger that connects to a running OpenMSX instance
Icon=$HOME/debugger/resources/icons/openMSX-debugger-logo-64.png
Exec=$HOME/debugger/derived/bin/openmsx-debugger
Terminal=false
Categories=Development;Debugger

This sample assumes that the code is on $HOME/debugger. Update it accordingly. You need to put it on ~/.local/share/applications/

Por DarkSchneider

Paragon (1030)

Imagen del DarkSchneider

14-03-2023, 14:38

I have it compiled also for MacOS Apple Silicon version for brew version of qt5.

Por DarkSchneider

Paragon (1030)

Imagen del DarkSchneider

14-03-2023, 16:11

DarkSchneider wrote:

I have it compiled also for MacOS Apple Silicon version for brew version of qt5.

here

Por BadWolf359

Resident (38)

Imagen del BadWolf359

15-03-2023, 11:56

Thanks everyone for your help!
I can now happily continue with coding and debugging.

Página 2/2
1 |