My Firmware

My Firmware

Embedded development

© 2020

Header synchronization in CLion 2019.2

Yesterday I spent some time figuring out why after installing some shared libraries on a Raspberry Pi, the remote development functionality in CLion couldn’t find their headers even though they were correctly present and even after trying out many cmake reloads.

The problem seems to be that the header search paths resync behavior changed in this version. The documentation now says that the resync needs to be done manually using Tools -> Resync with Remote Hosts. CLion documentaion screenshot