Hiya
I've followed the instructions in the 'installing LaserBoy on OSX 10.8 post -
https://laserboy.org/forum/index.php?topic=555.0 - albeit that I've installed macPorts for Big Sur and boost is now python v3.1...
but I'm getting the following compilation errors...
lewis-mbp@lewis-MBP-2 src % make -f Makefile.osx
g++ -c LaserBoy.cpp -o ../build/LaserBoy.osx -D__WITH_SDL2__ -std=c++17 -O3 -msse2 -mfpmath=sse -Wall -Wextra -frounding-math -fsignaling-nans -Wno-unused-parameter -Wno-implicit-fallthrough -Wno-missing-field-initializers -Wno-misleading-indentation -Wno-unused-but-set-variable -fexpensive-optimizations -static -I/opt/local/include -L/opt/local/lib -L/opt/local/lib -lSDL -lSDLMain -lboost_system-mt -lboost_filesystem-mt -pg -g3 -framework Cocoa
clang: warning: -lSDL: 'linker' input unused [-Wunused-command-line-argument]clang: warning: -lSDLMain: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lboost_system-mt: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lboost_filesystem-mt: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -framework Cocoa: 'linker' input unused [-Wunused-command-line-argument]clang: warning: optimization flag '-fsignaling-nans' is not supported [-Wignored-optimization-argument]
clang: warning: optimization flag '-fexpensive-optimizations' is not supported [-Wignored-optimization-argument]
clang: warning: argument unused during compilation: '-L/opt/local/lib' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-L/opt/local/lib' [-Wunused-command-line-argument]
warning: unknown warning option '-Wno-unused-but-set-variable'; did you mean '-Wno-unused-const-variable'? [-Wunknown-warning-option]
In file included from LaserBoy.cpp:30:
./LaserBoy_SDL_GUI.hpp:35:10: fatal error: 'SDL2/SDL.h' file not found
#include <SDL2/SDL.h>
^~~~~~~~~~~~
1 warning and 1 error generated.
make: *** [../build/LaserBoy.osx] Error 1
I only have limited experience of compiling apps from the command line... so trying to resolve these errors is a bit beyond me...
Any advice and/or info that might help would be much appreciated.
Best
Lewis