Skip to content
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

Makefiles don’t work on macOS #117

Closed
SuperChamp234 opened this issue Feb 17, 2024 · 2 comments
Closed

Makefiles don’t work on macOS #117

SuperChamp234 opened this issue Feb 17, 2024 · 2 comments
Labels
good first issue Good for newcomers

Comments

@SuperChamp234
Copy link
Member

SuperChamp234 commented Feb 17, 2024

Describe the bug
Makefiles fail to work on macOS after #107. A libsdl2 error is raised.

To Reproduce
Steps to reproduce the behaviour:
0. Try this on macOS Sonoma

  1. Compile any code using Makefiles like 4_cv_basics/1_image_representation/Makefile.
  2. Get main.cpp:28:10: fatal error: 'SDL2/SDL.h' file not found

Expected behavior
The file should have compiled successfully to give an executable.

Screenshots
image

Desktop (please complete the following information):

  • OS: macOS
@SuperChamp234 SuperChamp234 added the good first issue Good for newcomers label Feb 17, 2024
@SuperChamp234 SuperChamp234 changed the title Makefiles don’t work on macOS after #107 Makefiles don’t work on macOS Feb 17, 2024
@Ritika128
Copy link
Contributor

I'll work on this issue

Ritika128 added a commit to Ritika128/Pixels_Seminar that referenced this issue Feb 18, 2024
Update build configuration to include SDL2

Changed CFLAGS to include SDL2 directories using `pkg-config --cflags sdl2`.
Changed LIBS to include SDL2 libraries using `pkg-config --libs sdl2`.

Fixes SRA-VJTI#117
Ritika128 added a commit to Ritika128/Pixels_Seminar that referenced this issue Feb 18, 2024
Update build configuration to include SDL2

Changed CFLAGS to include SDL2 directories using `pkg-config --cflags sdl2`.
Changed LIBS to include SDL2 libraries using `pkg-config --libs sdl2`.

Fixes SRA-VJTI#117
@AryanNanda17
Copy link
Contributor

@aPR0T0, you may also close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants