Can't build cmake project in clion

已完成

I have a project including librdkafka which builds fine in wsl2 on the command line but I'm getting “cannot resolve symbol” errors when trying to build in clion. Any help would be appreciated. Thanks, Keith.

0

Found it. I had tried to create a new project from the c source file which messed up everything. I created a new blank project then copied the c code into the main.c and then was able to build.

0

请先登录再写评论。