If someone wonder, then solution to my described problem is in link: Pimoroni Explorer: problem setup C/C++ project