Comments (2)
Ok it was definitely something to do with my GCC/Python.
I ended up uninstalling conda, python and gcc, and then reinstalling python and gcc.
I removed any paths that weren't needed from my .zshrc
I reinstalled xcode-select
I installed gcc with MacPorts
Not sure what fixed it but now it works 😆
from modm.
Hm, interesting. On my MBA M2 without modifications:
$ cd modm/examples/linux/build_info
$ lbuild -D :target=hosted-darwin build && scons
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
╭────Jinja2──── modm/modm_tools/info.c.in
╰───Template──> modm/src/info_build.c
Compiling C++·· release/main.o
Compiling C++·· release/modm/src/modm/debug/logger/hosted/default_style.o
Compiling C++·· release/modm/src/modm/driver/io/terminal.o
Compiling C++·· release/modm/src/modm/io/iostream.o
Compiling C++·· release/modm/src/modm/io/iostream_printf.o
Compiling C++·· release/modm/src/modm/math/utils/bit_operation.o
Compiling C++·· release/modm/src/modm/math/utils/pc/operator.o
Compiling C++·· release/modm/src/modm/platform/core/assert.o
Compiling C++·· release/modm/src/modm/platform/core/memory.o
Compiling C···· release/modm/ext/printf/printf.o
Compiling C···· release/modm/src/info_build.o
Archiving······ release/modm/libmodm.a
Indexing······· release/modm/libmodm.a
Linking········ modm/build/linux/build_info/scons-release/build_info.elf
Info: Project: build_info
Machine: blacky
User: niklas
Os: macOS 13.5.2 (arm64)
Compiler: g++-12 (Homebrew GCC 12.2.0) 12.2.0
scons: done building targets.
Adding env.Append(CXXFLAGS="-std=c++2b")
to SConstruct works too.
Are you sure you're using Homebrew GCC and not LLVM? I definitely remember linker issues when trying to use the macOS native LLVM.
from modm.
Related Issues (20)
- Using SPI on Linux/Darwin target HOT 3
- CMake usage in recommended project structure HOT 3
- lbuild fails when relative paths are on different Windows drives HOT 1
- Fibers not implemented on ARM64
- CI Failling in a apprently nor related point HOT 2
- Documentation / example for "safely" accessible flash HOT 2
- [STM32G4] flash dual bank ignored during erase HOT 3
- ifdef Doxygen guard in SPI_Master - why???
- Linker issues with newlib version 4.4.0 HOT 3
- std::scoped_lock not declared in my environment (Fedora 14.1.0-1.fc40) HOT 3
- stm32f723 related issues HOT 4
- LIS3MDL SPI driver: address reading is not advanced
- CAN messages set to extended by default in only one constructor HOT 1
- GCC 13 memcpy warning in can_message.hpp HOT 1
- GCC 13 warning: Redefinition of __FPU_PRESENT in CMSIS module HOT 2
- openocd.py on Windows HOT 2
- STM32C011F6P6 HOT 1
- STM32U0 Support HOT 1
- CMSIS DSP error when targeting hosted platforms HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from modm.