Closed issue by LinArcX on void-packages repository https://github.com/void-linux/void-packages/issues/36855 Description: I created the thread in reddit: https://www.reddit.com/r/cpp_questions/comments/ua8xof/my_program_crashes_when_want_to_call_clplatformget/ I think it's a distro-based issue. Because i installed lots of packages that you can imagine to make clinfo and my program works! Is there any setting or file missed from void graphic packages that cause this issue?