Add GTK to Cmake

Answered

Hi.

I am actually trying to use gtk with Clion.

After some research, I found that I have to modify the cmake file (https://intellij-support.jetbrains.com/hc/en-us/community/posts/205823349-Using-GTK-library-in-CLion).

But it does not work for me, I have an error that appears that I cannot understand.

It seems that Clion has found Gtk, but something goes wrong.

Does anyone have an idea how to solve this problem?

Thanks in advance

 

PS: Sorry, English is not my main language

0
1 comment

Hello!

There seems to be a problem with CMake and pkg-config on Windows. See, for example, https://gitlab.kitware.com/cmake/cmake/-/issues/21629 and the issues mentioned in the comments there.

 

0

Please sign in to leave a comment.