Exception when running sample "8.guest_2020_skeletal_animation" on MacOS

Author: elix22Created Aug 24, 2025Updated Aug 24, 2025

When running Sample "8.guest_2020_skeletal_animation" which utilizes the Assimp library on MacOS , is causing an bad memory Exception . The root cause is that CMake is taking the wrong include headers from LearnOpenGL/includes/assimp , which are only valid for Windows. On Mac is should take the include headers from the Homebrew assimp installation . for anyone interested , I made a local fix in my repo , see link below

https://github.com/elix22/LearnOpenGL/commit/52cb4c4b577cb723919d94f3141455b1a0787beb

My guess is that also on Linux it will fail and will cause some exception/panic .