Search code examples
linuxcmakevalawnck

Installed libwnck-3-dev but still getting error about mising libwnck.h


Have installed libwnck-3-dev but when trying to compile getting:

fatal error: libwnck/libwnck.h: No such file or directory.

Here is CmakeList.txt.

File exists under this path /usr/include/libwnck-3.0/libwnck/libwnck.h


Solution

  • In my case I had to add ${WNCK_CFLAGS} to add_definitions() and ${WNCK_LIBRARIES} to link_libraries().