Giter Site home page Giter Site logo

Comments (4)

timfel avatar timfel commented on July 21, 2024 1

I got access to a mac over the weekend, and figured I'd quickly take a look ;)

from stratagus.

RulerOf avatar RulerOf commented on July 21, 2024

Just confirming this still happens on the most-recent updates:

[ 82%] Building CXX object CMakeFiles/stratagus.dir/src/ui/botpanel.cpp.o
/Users/andrewbobulsky/Projects/personal/stratagus/src/stratagus/util.cpp:44:10: fatal error: malloc.h: No such file or directory
   44 | #include <malloc.h>
      |          ^~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/stratagus.dir/src/stratagus/util.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/stratagus.dir/all] Error 2
make: *** [all] Error 2
(2) 17s andrewbobulsky ~/Projects/personal/build-stratagus
% git -C ../stratagus rev-parse HEAD
361ee0b05c9cb28a827a0385c36dadb8b132434b

from stratagus.

timfel avatar timfel commented on July 21, 2024

Hi, thanks for the report. Unfortunately none of the devs have macs anymore, so we cannot really test. If you figure it out, I would be very happy to merge a fix :)

from stratagus.

timfel avatar timfel commented on July 21, 2024

Ah, just remembered, the usage of memalign is a performance optimization, so you might get away with simply using malloc and free in those functions

from stratagus.

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.