help openmsx debugger

Página 8/8
1 | 2 | 3 | 4 | 5 | 6 | 7 |

Por Francisco Gálvez

Resident (36)

imagem de Francisco Gálvez

24-04-2021, 13:25

Hi folks...
My name is Paco. I write from Seville (Spain). I'm trying to leave windows and use only linux (I'm using linux Mint).
I already installed OpenMSX 16 and catapult.
I'm having problems with the debugger.

Unzipping in documents I tried the make command and I got:

root@porlatillinux:/home/paco/Documentos/debugger-master# make
Up to date: derived/config/Version.ii
Compiling CPURegsViewer.cpp...
src/CPURegsViewer.cpp: In member function ‘virtual void CPURegsViewer::paintEvent(QPaintEvent*)’:
src/CPURegsViewer.cpp:41:31: error: ‘class QFontMetrics’ has no member named ‘horizontalAdvance’
  int regWidth = fontMetrics().horizontalAdvance("HLW");
                               ^~~~~~~~~~~~~~~~~
src/CPURegsViewer.cpp:42:31: error: ‘class QFontMetrics’ has no member named ‘horizontalAdvance’
  int valWidth = fontMetrics().horizontalAdvance("FFFFWW");
                               ^~~~~~~~~~~~~~~~~
src/CPURegsViewer.cpp: In member function ‘virtual QSize CPURegsViewer::sizeHint() const’:
src/CPURegsViewer.cpp:83:37: error: ‘class QFontMetrics’ has no member named ‘horizontalAdva
....

Any Idea to solve it please? ... I tried to install Qt5.12 and Qt6

I've been searching for a workaround without sucess..

Any help is welcome.

Thanks in advance

Por Manuel

Ascended (19299)

imagem de Manuel

24-04-2021, 16:10

I think the debugger is available as a package in Linux Mint. Try to install openmsx-debugger. At least it's available in Debian, so I suppose also in Mint.
On Debian I can compile it fine with Qt 5.15.

Por Francisco Gálvez

Resident (36)

imagem de Francisco Gálvez

25-04-2021, 15:42

Hi Manuel...
It worked but not as I expected.. I installed the openmsx 16 version but the debugger install automatically the 14 version and only connect with that version.
I don't find a way to connect de debugger to the version I installed.
I'll try to figure it out before use wine.
Thank you very much anyway.

Por Manuel

Ascended (19299)

imagem de Manuel

25-04-2021, 18:16

There should be no need to use wine at all. This software is developed on Linux... would be absurd to run it in wine to make it work on Linux Smile

What exactly is going wrong then? Older debuggers should connect fine to newer openMSX versions. There is no check on version.

Por Francisco Gálvez

Resident (36)

imagem de Francisco Gálvez

25-04-2021, 21:00

Hi... Thanks for your answers...
I'm a bit embarrased.... When you install the debugger It is mandatory to install de openmsx from the repository (version 14). When I start the catapult that I installed It start the default system openmsx (It is to say v14). So the debugger connect to the v14.
I just discovered (testing more posibilities) the problem is not the debugger that I tried to configure. The workaround is configuring catapult to use v16 and after start the debugger.

Once more time thanks....
Best wishes

PS: it work smooth, I have to do more tests but It could be a good environment.

Por NYYRIKKI

Enlighted (6033)

imagem de NYYRIKKI

22-08-2021, 20:32

Hi, I have a new tip!

When you download openMSX Debugger for Windows from the official page there is a problem that they have not changed output type from "Console Application" to "Windows Application" in the linker and therefore you always get a stupid extra console window that you can't close without closing debugger and if you minimize it it still prevents you from easily just clicking the debugger on task bar to bring it on top.

Naturally you can fix this by compiling the debugger your self, but I found easier workaround... These are the steps I used to solve the problem:

- Open Notepad
- Copy/paste this line to it:
CreateObject("Wscript.Shell").Run "cmd /c openmsx-debugger.exe", 0, False
- Save it to you debugger installation folder as "openmsx-debugger.vbs"
- Go to the folder, right click "openmsx-debugger.exe" and select "Create shortcut"
- right click "openmsx-debugger.exe - Shortcut", click "Change icon" & "Ok"
- Go to "Target" and from end of line change the ".exe" to ".vbs" & click "Ok"
- Drag the "openmsx-debugger.exe - Shortcut" to your desktop, hit "F2" and rename it to "openMSX Debugger"

Página 8/8
1 | 2 | 3 | 4 | 5 | 6 | 7 |