Open Carter0 opened 3 days ago
@Carter0 I also had the same issue; I couldn't build raylib or run the Makefile on Mac OS 14.2.1 or on Sequoia 15.1.1.
I got around the issue by using CMake in CLion; here's my CMakeLists.txt:
cmake_minimum_required(VERSION 3.29)
project(20gc_raylib_flappybird C)
set(CMAKE_C_STANDARD 99)
include(FetchContent)
set(FETCHCONTENT_QUIET FALSE)
set(BUILD_EXAMPLES OFF CACHE BOOL "" FORCE)
set(BUILD_GAMES OFF CACHE BOOL "" FORCE)
FetchContent_Declare(
raylib
GIT_REPOSITORY "https://github.com/raysan5/raylib.git"
GIT_TAG 5.5
GIT_PROGRESS TRUE
)
FetchContent_MakeAvailable(raylib)
add_executable(20gc_raylib_flappybird main.c)
target_sources(${PROJECT_NAME} PRIVATE ${PROJECT_SOURCES})
target_include_directories(${PROJECT_NAME} PRIVATE ${PROJECT_INCLUDE})
target_link_libraries(${PROJECT_NAME} PRIVATE raylib)
It doesn't resolve the issue of not being able to run the Makefile but it does enable me to build and use raylib on my Mac; I hope this helps.
Issue description
I downloaded the source code for ray lib 5.5, go into the src directory in raylib, and run
make
. When I do I get a whole bunch of compiler errors. Since the output was so long I threw it in this text file. I also took a screenshot of some of the output below too.output.txt
Environment
macOS Sonoma 14.2.1
Issue Screenshot