Giter Club home page Giter Club logo

Comments (2)

botoxparty avatar botoxparty commented on June 16, 2024 1

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.

salkinium avatar salkinium commented on June 16, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.