-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mac build doesn't work #35
Comments
I'm sorry, but I don't know anything about the Mac build. Someone on the allegro forum (at https://www.allegro.cc/forums/thread/616791/0) made it. |
FWIW, the offered Mac download doesn't work. Trying to build following the instructions, I get: do bin/libcirc
do ../src/g_game
do c_compile.o
do precompile.h.gch
do precompile.o
precompile.h:1:10: fatal error: 'allegro5/allegro_acodec.h' file not found
#include "allegro5/allegro_acodec.h"
^~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
do: precompile.o: got exit code 1
do: precompile.h.gch: got exit code 1
do: c_compile.o: got exit code 1
do: ../src/g_game: got exit code 1 |
I just tried it using the "Compiling on macOS" section of the README.md file and I did not see that error. Compiling on macOSTo build on macOS (Sierra (10.12) with latest Homebrew and Xcode) git clone https://github.com/linleyh/liberation-circuit.git
cd liberation-circuit
brew install allegro
./do
cd bin
libcirc Have you got homebrew and Allegro installed? (what does Also by the way @linleyh on the last line it needs |
On Jan 2, 2023, at 00:39, Peter Hull ***@***.***> wrote:
Have you got homebrew and Allegro installed? (what does brew info allegro give you?)
% ./do
Removing previously built files...
do all
do bin/libcirc
do ../src/g_game
do c_compile.o
do precompile.h.gch
do precompile.o
precompile.h:1:10: fatal error: 'allegro5/allegro_acodec.h' file not found
#include "allegro5/allegro_acodec.h"
^~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
do: precompile.o: got exit code 1
do: precompile.h.gch: got exit code 1
do: c_compile.o: got exit code 1
do: ../src/g_game: got exit code 1
Removing stamp files...
% brew info allegro
==> allegro: stable 5.2.8.0 (bottled), HEAD
C/C++ multimedia library for cross-platform game development
https://liballeg.org/
/opt/homebrew/Cellar/allegro/5.2.8.0_2 (146 files, 2.7MB) *
Poured from bottle on 2023-01-01 at 16:47:49
From: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/allegro.rb
License: Zlib
==> Dependencies
Build: cmake ✘
Required: dumb ✔, flac ✔, freetype ✔, libogg ✔, libvorbis ✔, opusfile ✔, physfs ✔, theora ✔, webp ✔
==> Options
--HEAD
Install HEAD version
==> Analytics
install: 227 (30 days), 731 (90 days), 2,321 (365 days)
install-on-request: 227 (30 days), 711 (90 days), 2,193 (365 days)
build-error: 0 (30 days)
|
OK, as you see it can't find the allegro headers (
Alternatively try the Makefile - it will probably fail at the link stage as it's missing allegro_main-5 from the list of packages but if gets further than the do-file, then it's easily fixable. What I get on my mac
|
it says "could not open because of a problem" (yes, very specific) but reason was image not found :
osx is 10.10.5, only tried the compiled build form itch.io
The text was updated successfully, but these errors were encountered: