Please help testing upcoming openMSX release!

Pagina 49/65
42 | 43 | 44 | 45 | 46 | 47 | 48 | | 50 | 51 | 52 | 53 | 54

Van jalu

Master (158)

afbeelding van jalu

23-12-2020, 11:45

Has anyone yet succeeded in building openMSX for the new ARM(M1) based Macs? The intel version runs just fine in Rosetta 2, but it would undoubtedly be more efficient running natively.

I've tried compiling it myself (as a standalone installer). but the process fails when compiling freetype. (ld: missing symbols) It seems to me as if the required libs are just not ready yet for Darwin-arm64, but still, maybe someone else has had more luck?

Van Grauw

Ascended (10684)

afbeelding van Grauw

24-12-2020, 16:38

Hey guys,

I just upgraded to macOS Big Sur and did a quick check on the debugger, and I’m not seeing any display issues at first sight. Are the macOS 11 issues already resolved for yall, or is it perhaps working for me because I’m building with latest XCode, Qt, and build target set to version 10.13?

Van Sylvester

Hero (575)

afbeelding van Sylvester

24-12-2020, 17:07

I only changed OSX_VER to 10.13 in build/main.mk and run make. When I execute derived/openMSX_Debugger.app/Contents/MacOS/openmsx-debugger the code view and memory view are not correct.

Van Grauw

Ascended (10684)

afbeelding van Grauw

24-12-2020, 17:26

What are your XCode and Qt versions?

Mine are XCode 12.3 and Qt 5.15.2. And indeed that main.mk change. Screenshot.

Van ericb59

Paragon (1096)

afbeelding van ericb59

24-12-2020, 17:37

Same as Sylvester.

Van Grauw

Ascended (10684)

afbeelding van Grauw

24-12-2020, 19:09

It was a regression since last month, and it worked for me because I had not updated to latest. Probably unrelated to Big Sur. Fix pushed.

Van Sylvester

Hero (575)

afbeelding van Sylvester

24-12-2020, 19:45

Just updated the source, compiled a new version and can confirm the debugger works again! Thanks grauw for the fixes.

Van Grauw

Ascended (10684)

afbeelding van Grauw

25-12-2020, 01:56

I also pushed fixes for the Qt deprecation warnings in the debugger compilation, and for track pad scrolling in the disassembly and hex views.

Van Sylvester

Hero (575)

afbeelding van Sylvester

25-12-2020, 11:02

Updated the source, it compiled without warnings and works perfect! Thanks again Grauw!

Van Manuel

Ascended (19227)

afbeelding van Manuel

25-12-2020, 13:20

Great job! Just one warning left when I compile it:

src/OpenMSXConnection.cpp: In member function ‘void OpenMSXConnection::processData()’:
src/OpenMSXConnection.cpp:180:12: warning: format ‘%li’ expects argument of type ‘long int’, but argument 3 has type ‘qint64’ {aka ‘long long int’} [-Wformat=]
  180 |   qWarning("Fatal error on line %" PRIi64 ", column %" PRIi64 ": %s",
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  181 |     reader->lineNumber(), reader->columnNumber(),
      |     ~~~~~~~~~~~~~~~~~~~~
      |                       |
      |                       qint64 {aka long long int}
src/OpenMSXConnection.cpp:180:12: warning: format ‘%li’ expects argument of type ‘long int’, but argument 4 has type ‘qint64’ {aka ‘long long int’} [-Wformat=]
Pagina 49/65
42 | 43 | 44 | 45 | 46 | 47 | 48 | | 50 | 51 | 52 | 53 | 54