~/code/SDL2-2.0.3$ pkg-config --cflags sdl2 SDL2_image SDL2_mixer
Package SDL2_image was not found in the pkg-config search path.
Perhaps you should add the directory containing `SDL2_image.pc'
to the PKG_CONFIG_PATH environment variable
No package 'SDL2_image' found
Package SDL2_mixer was not found in the pkg-config search path.
Perhaps you should add the directory containing `SDL2_mixer.pc'
to the PKG_CONFIG_PATH environment variable
No package 'SDL2_mixer' found

What does the -I flag do?

I found the header files in this location:
/usr/local/include/SDL2$ ls
begin_code.h          SDL.h             SDL_pixels.h       SDL_test_compare.h
close_code.h          SDL_haptic.h      SDL_platform.h     SDL_test_crc32.h
SDL_assert.h          SDL_hints.h       SDL_power.h        SDL_test_font.h
SDL_atomic.h          SDL_joystick.h    SDL_quit.h         SDL_test_fuzzer.h
SDL_audio.h           SDL_keyboard.h    SDL_rect.h         SDL_test.h
SDL_bits.h            SDL_keycode.h     SDL_render.h       SDL_test_harness.h
SDL_blendmode.h       SDL_loadso.h      SDL_revision.h     SDL_test_images.h
SDL_clipboard.h       SDL_log.h         SDL_rwops.h        SDL_test_log.h
SDL_config.h          SDL_main.h        SDL_scancode.h     SDL_test_md5.h
SDL_cpuinfo.h         SDL_messagebox.h  SDL_shape.h        SDL_test_random.h
SDL_endian.h          SDL_mouse.h       SDL_stdinc.h       SDL_thread.h
SDL_error.h           SDL_mutex.h       SDL_surface.h      SDL_timer.h
SDL_events.h          SDL_name.h        SDL_system.h       SDL_touch.h
SDL_filesystem.h      SDL_opengles2.h   SDL_syswm.h        SDL_types.h
SDL_gamecontroller.h  SDL_opengles.h    SDL_test_assert.h  SDL_version.h
SDL_gesture.h         SDL_opengl.h      SDL_test_common.h  SDL_video.h

Reply via email to