You need to log in to create posts and topics.

Apple Silicon M1 build - it's working!

PreviousPage 3 of 3

Nice, seems that it is working.

The display showing 0 is because the leds are connected to ground with no resistance (or very small).
You can configure it in Led Bar properties -> Electric -> Resistance.

 

Hi community / Santiago / team,

I have successfully migrated the SimulIDE 1.2.0-SR1 codebase to compile 100%
cleanly (modulo the many warnings) and link flawlessly on Apple Silicon (ARM64)
under Qt6.

Since I am strictly a user of this software and cannot commit to long-term
maintenance for a variety of reasons, I want to offer my MacQt6 branch on
https://github.com/Ekkehard/SimulIDE to the upstream project.

Key fixes include:

1. Fully migrating deprecated QStringRef and splitRef calls over to QStringView
template containers across the GUI components.

2. Replacing legacy text rendering and event logic
(QFontMetrics::width -> horizontalAdvance and
QWheelEvent::delta -> angleDelta).

3. Completely stripping the Intel x86 JIT assembler layer from AngelScript using
strict architecture gates (#ifdef __x86_64__) and falling back to native
engine execution blocks (.Execute()).

4. Modernizing the audio core by swapping out the deprecated QAudioOutput system
for the type-safe QAudioSink pipeline.

5. Fixing global recursive compilation wildcard loops that were accidentally
pulling in a standalone developer tool (generateheader.cpp) and triggering
main entry point duplication linker conflicts.

All GUI, Core, and Scripting systems pass minimal native testing using a
selection of the supllied examples cleanly.

Hopefully, and if you so wish, this blueprint can be integrated into the primary
release branch for future macOS and Qt6 users!

Cheers

Ekkehard

Hi.

Thanks for sharing, but seems that the repo https://github.com/Ekkehard/SimulIDE does not exist (or is private?).

Oops, my bad - forgot to make it public.  It should work now.

thank you @Ekkehard for your great work. 

I pulled your repo, and fixed some problems:

  1. Working with Arduino IDE 2.3 cli
  2. Fixed an issue where numerical values ​​could not be adjusted via keyboard input.. 

The repository: https://github.com/iwzoo/SimulIDE

@arcachofo - please see https://github.com/dakom/SimulIDE-dev/pull/1/changes (this is just between a fresh fork with up-to-date master and a branch where I made a small change to unlock compiling on Apple Silicon)

No code changes at all, just a few lines of config changes in SimulIDE.pri‎ and it all works 🙂

Details - I asked Claude to look at all the prior work done here and see what it can do on a fresh fork. The resulting changes are surprisingly _very_ minimal. I wasn't allowed to open a PR upstream because I don't have maintainer permissions, but you can see the diff above.

The other thing is compilation instructions, which I suppose would go in the readme or something (needs qt, homebrew, etc.). That's explained in the "Building on Apple Silicon" section in the PR comments: https://github.com/dakom/SimulIDE-dev/pull/1

(by "works" I mean compiles and runs... haven't kicked the tires in any way, I'm brand-new to SimulIDE, which is why I'm installing it for the first time, hehe)

PreviousPage 3 of 3