GENIVI / CANdevStudio

Development tool for CAN bus simulation
Mozilla Public License 2.0
939 stars 253 forks source link

building for macOS-arm64 but attempting to link with file built for macOS-x86_64 #243

Closed D300 closed 1 year ago

D300 commented 1 year ago

Hey, i´m on an M1. is there a way to build the library for x86_64?

cd /Users/d300/Qt5.12.0/5.12.0/Src 
./configure -developer-build -xplatform macos-clang-arm64 -nomake examples -nomake tests

console printed:

willson556 commented 1 year ago

I just built this project. I installed Qt5, CMake, & Ninja using Homebrew:

brew install qt5 cmake ninja

Then I was able to configure and build the project:


git clone https://github.com/GENIVI/CANdevStudio.git
cd CANdevStudio
cmake -S. -Bbuild -GNinja -DCMAKE_PREFIX_PATH=$(brew --prefix qt5)/lib/cmake
cd build
ninja
``
rkollataj commented 1 year ago

Thanks @willson556 for the clear instructions. I will update the readme respectively.