aardappel / lobster

The Lobster Programming Language

Home Page:http://strlen.com/lobster

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build failure on OpenBSD

samebchase opened this issue · comments

In file included from /home/samuel/src/lobster/dev/include/Box2D/Particle/b2ParticleAssembly.cpp:18:
In file included from /home/samuel/src/lobster/dev/include/Box2D/Particle/b2ParticleAssembly.h:21:
/home/samuel/src/lobster/dev/include/Box2D/Common/b2GrowableBuffer.h:24:10: fatal error: 'algorithm' file not found
#include <algorithm>
         ^~~~~~~~~~~
[ 51%] Building CXX object CMakeFiles/lobster.dir/include/Box2D/Particle/b2VoronoiDiagram.cpp.o
1 error generated.
In file included from /home/samuel/src/lobster/dev/include/Box2D/Particle/b2ParticleSystem.cpp:18:
In file included from /home/samuel/src/lobster/dev/include/Box2D/Particle/b2ParticleSystem.h:21:
/home/samuel/src/lobster/dev/include/Box2D/Common/b2SlabAllocator.h:23:10: fatal error: 'new' file not found
#include <new>
         ^~~~~
[ 52%] Building CXX object CMakeFiles/lobster.dir/include/Box2D/Rope/b2Rope.cpp.o
In file included from /home/samuel/src/lobster/dev/include/Box2D/Particle/b2ParticleGroup.cpp:19:
In file included from /home/samuel/src/lobster/dev/include/Box2D/Particle/b2ParticleSystem.h:21:
/home/samuel/src/lobster/dev/include/Box2D/Common/b2SlabAllocator.h:23:10: fatal error: 'new' file not found
#include <new>
         ^~~~~
*** Error 1 in target 'CMakeFiles/lobster.dir/include/Box2D/Particle/b2ParticleAssembly.cpp.o'
1 error generated.
*** Error 1 in target 'CMakeFiles/lobster.dir/include/Box2D/Particle/b2ParticleGroup.cpp.o'
1 error generated.
*** Error 1 in target 'CMakeFiles/lobster.dir/include/Box2D/Particle/b2ParticleSystem.cpp.o'
*** Error 1 in . (CMakeFiles/lobster.dir/build.make:2008 'CMakeFiles/lobster.dir/include/Box2D/Particle/b2ParticleSystem.cpp.o': /usr/bin/c+...)
*** Error 1 (CMakeFiles/lobster.dir/build.make:1994 'CMakeFiles/lobster.dir/include/Box2D/Particle/b2ParticleGroup.cpp.o': /usr/bin/c++ -DFT...)
*** Error 1 (CMakeFiles/lobster.dir/build.make:1980 'CMakeFiles/lobster.dir/include/Box2D/Particle/b2ParticleAssembly.cpp.o': /usr/bin/c++ -...)
*** Error 2 in . (CMakeFiles/Makefile2:102 'CMakeFiles/lobster.dir/all')
*** Error 2 in /home/samuel/src/lobster/dev (Makefile:146 'all': make -s -f CMakeFiles/Makefile2 all)

It's using clang version 11.1.0.

err.. those headers have been in C++ since forever.. something not quite right about the std lib setup on this machine? what is the command-line that produces these errors?