Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Prodical

Pages: [1]
1
LaserBoy !!! / Re: Installing LaserBoy on macOS Big Sur 11.6.5
« on: April 29, 2022, 05:50:09 pm »
Hiya James


It's LaserBoy-03-18-2022...


I'm kinda busy with other projects for the next couple of weeks... but sure... looking forward to catching you on the VB FB group after that once I've had a proper play with LaserBoy - and have some questions ;-)


Thanks again...


Best


Lewis

2
LaserBoy !!! / Re: Installing LaserBoy on macOS Big Sur 11.6.5
« on: April 29, 2022, 01:51:29 pm »
Hey James


OK... that worked... LaserBoy running... yay ;-)


Thanks for all the advice and support... and do pass that on to whoever compiled it for me from the Vector Synthesis group... I'll be sure to checkin there once I read through the LaserBoy docs and try things out for myself.


Best


Lewis

3
LaserBoy !!! / Re: Installing LaserBoy on macOS Big Sur 11.6.5
« on: April 29, 2022, 04:26:30 am »
Hi James


Thanks for trying to sort that for me... unfortunately I get a 'Permission denied' error in Terminal when I run it.


I've tried changing file permissions to match the compiled .exe but no joy...


I will checkout the Facebook Vector Synthesis group - I know a few people involved with the VectorHack Festival - so there's likely some crossover there.


Will ask for some advice there too...


You can delete the executable now...


Best


Lewis




4
LaserBoy !!! / Re: Installing LaserBoy on macOS Big Sur 11.6.5
« on: April 27, 2022, 07:21:20 am »
Sorry... mucked up the post formatting at the end of that last post...


When I run ./LaserBoy 1600 980[/size][size=78%] [/size]


I get the error:


[/size]zsh: no such file or directory: ./LaserBoy[size=78%]


Any ideas? I appreciated you don't use macOS... though it is UNIX based...


Best


Lewis

5
LaserBoy !!! / Re: Installing LaserBoy on macOS Big Sur 11.6.5
« on: April 27, 2022, 07:17:12 am »
Hey James


OK... I followed the instructions in the 'doc' > 'Compiling_for_MacOS.txt' file - and I have gotten further... though not quite there yet..


Homebrew wouldn't install for the root user...


lewis-mbp@lewis-MBP-2 ~ % sudo su
Password:
sh-3.2# /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
==> Checking for `sudo` access (which may request your password)...
Don't run this as root!
sh-3.2#


and neither would SDL2...


sh-3.2# brew install SDL2
Error: Running Homebrew as root is extremely dangerous and no longer supported.
As Homebrew does not drop privileges on installation you would be giving all
build scripts full access to your system.
sh-3.2#


So I installed SDL2 & boost as my regular user, navigated to the 'LaserBoy' > 'src' folder and ran time make -f Makefile.osx
[/size]
It compiled (I can see a bunch of new files in the 'build' directory)... and yes threw up multiple warnings in the process... but also this final error... and it didn't launch the app...


[/size]ld: symbol(s) not found for architecture x86_64clang: error: linker command failed with exit code 1 (use -v to see invocation)make: *** [../LaserBoy] Error 1make -f Makefile.osx  133.81s user 4.58s system 99% cpu 2:19.04 total[size=78%]


After navigating back to the LaserBoy root directory I ran [/size]./LaserBoy 1600 980[/size] [/size]but got the error...
[/size]
[/size]zsh: no such file or directory: ./LaserBoyAny other ideas? I do appreciate you don't use macOS... though it is UNIX based... [/font][/font][/size][/font][/font][/size]Best[/font][/font][/size][/font][/font][/size]Lewis[/font][/font][/size]

6
LaserBoy !!! / Re: Installing LaserBoy on macOS Big Sur 11.6.5
« on: April 27, 2022, 06:03:14 am »
Hey James


Thanks for the prompt response and heads up...


Sure... I'll check the instructions in the current download... and let you know how I get on.


Really keen to try out LaserBoy for myself...


Best


Lewis




7
LaserBoy !!! / Re: Installing LaserBoy on macOS Big Sur 11.6.5
« on: April 26, 2022, 03:07:23 pm »
I've subsequently tried a Homebrew install method as per this "Building in OS X 10.10 with homebrew" post - https://laserboy.org/forum/index.php?topic=626.0 - but also no joy...


The compile errors look almost identical:


lewis-mbp@lewis-MBP-2 src % make -f Makefile.brew 
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/usr/local/include -L/usr/local/lib -lSDL2 -lSDL2Main -lboost_filesystem -lboost_system -lpthread -framework Cocoa
clang: warning: -lSDL2: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lSDL2Main: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lboost_filesystem: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lboost_system: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: -lpthread: '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/usr/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


Again... any info or advice appreciated.

Best


Lewis

8
LaserBoy !!! / Installing LaserBoy on macOS Big Sur 11.6.5
« on: April 26, 2022, 02:40:42 pm »
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

Pages: [1]
SMF spam blocked by CleanTalk
SimplePortal 2.3.7 © 2008-2024, SimplePortal