Re: Build Issue Toyota IVI-home screen on MacOS M1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Joel,
thanks for the suggestions we'll give it a whirl and see how we go - keep you posted
and must say I'm rather relieved to hear you're also going down the M1 track 

cheers
Bern

Bernard Craddock
Co-founder Pumped Fuel
L2, 11 York Street Sydney 2000


On Fri, Nov 12, 2021 at 3:48 AM Joel Winarske <joel.winarske@xxxxxxxxx> wrote:
Hi Bernard,

Two scenarios:
1. Run emulated x86_64 on arm64 via QEMU (Lamprey AGL emulator image, use cross compiled bits; deal with performance loss - maybe not bad if virtualgl passthrough works)
2. In parallels environment that runs Wayland cross compile flutter-engine for host (arm64).  Build ivi-homescreen to use this flutter-engine by overriding/setting variables during cmake invocation.  This is supported today.  The "ci" branch of https://github.com/jwinarske/flutter_embedded will help with building the flutter-engine.

I might suggest focusing on scenario 1 as that has the least amount of variation.  Only unknown is if/how-well virtualgl passthrough works - or not.

That said, I'm expecting a new MBP M1X (64GB) in a few weeks, so I will be trying both myself at that time.

Cheers,
Joel


On Tue, Nov 9, 2021 at 8:01 AM Bernard <bernard@xxxxxxxxxxxxxx> wrote:
Hello Joel and AGL members,
for our flutter dev we use Mac's as it's a mandatory requirement within Apple's walled garden of iOS apps. So for the Linux desktop we adopted Mac Parallels Ubuntu 20.04.2.

I have Mac intel (x86_64) and was able to get Pumped Fuel working on Toyota IVI homescreen easily enough albeit looks kind of sketchy compared to standard linux desktop, needs beautifying

However my colleague, our flutter developer, who has a Mac M1 (arm) is blocked on the build. Can anyone help us out and advise what can be done to get this working on the M1.

Hi Bernard,
I was trying to build https://github.com/toyota-connected/ivi-homescreen on the Parallels ubuntu, where I've hit a roadblock.
I was following the Readme steps. One thing I noticed was that the notes are for x86_64 architecture, but my ubuntu is arm64. I am not sure if that is the reason for the failure. While following GCC/libstdc++ Build in the Readme.md it failed in make install -j step
The error thrown was 
/usr/bin/ld: ../libflutter_engine.so: error adding symbols: file in wrong format
collect2: error: ld returned 1 exit status
make[2]: *** [shell/CMakeFiles/homescreen.dir/build.make:596: shell/homescreen] Error 1
make[1]: *** [CMakeFiles/Makefile2:94: shell/CMakeFiles/homescreen.dir/all] Error 2
make: *** [Makefile:152: all] Error 2


Seems like it is because of the architecture difference x86_64 vs ARM64. if possible can you confirm this from the writer (if you have contacts / access).

Regards


Bernard Craddock
Co-founder Pumped Fuel
L2, 11 York Street Sydney 2000

_._,_._,_

Links:

You receive all messages sent to this group.

View/Reply Online (#9532) | Reply To Group | Reply To Sender | Mute This Topic | New Topic
Your Subscription | Contact Group Owner | Unsubscribe [list-automotive-discussions82@xxxxxxxxxxx]

_._,_._,_

[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux