I'm trying to compile & install a C++ library using Cygwin. I've properly installed the library's dependencies. However, ./configure is throwing an error:
checking for protobuf... no configure: error: Package requirements (protobuf >= 3.3) were not met:
No package 'protobuf' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.
I then checked config.log, and found a suggestion to point PKG_CONFIG_PATH
at the lib/pkgconfig
directory. I promptly set PKG_CONFIG_PATH
to /usr/local/lib/pkgconfig
, the directory where protobuf.pc
is located on my system. The error persisted. Some checking of similar questions here showed that some people had to use the Windows filepath, so I switched PKG_CONFIG_PATH
to c:\\cygwin64\\usr\\local\\lib\\pkgconfig
. The error persisted. I even tried setting PKG_CONFIG_PATH
to /cygdrive/c/cygwin64/usr/local/lib/pkgconfig
. Which didn't work.
What am I doing wrong here?