Makefile project cannot resolve include dirs CLion 2020.2


I imported an existing Makefile project into CLion 2020.2. The compilation works as expected from the CLion 2020.2.

When I'm editing some src files, I'm seeing a lot of error messages: `file not found` to headers file.

As a results symbols are not resolved:.


What could be the problem?



Hi Lior!

How have you opened the project? Here is an instruction for working with Makefile projects in CLion - Have you done the same actions?


Hi Anna,


Thank you for your comment.

I followed those steps and the build process works as expected from the CLion.
The red marks are still exists.




Lior, please send the idea.log file (`Help | Show Log in ...`) to clion-support at Note that logs might contain private user's information (like file paths and names). 


Anna, I sent the log to the requested address. In reply I got this message:

Your request (#2798824) has been received and is being reviewed by our support staff.


Yes, I see it, thanks. We will investigate the situation.


Posting the answer here too:

The problem with Bitcoin project is that it uses libtool (and also ccache), making CLion unable (so far) to recognize compiler invocations. See for more details. We have it in CLion 2020.3 roadmap:

Additionally, the project uses Automake macros, so even if you configure it with --disable-ccache, CLion will recognize nothing.


Please sign in to leave a comment.