I have a cpp working program using libsecret-1 which was compiled on ubuntu 20.04. Due to some requirements, now I need to compile the code in ubuntu 14.04. While compiling, it is not declared in this scope
error. I narrowed down the problematic code and with the below line added in header file it can be reproducible.
GError *getSecretCollection(SecretCollection **collection);
This is the error log
error: 'SecretCollection' was not declared in this scope
GError *getSecretCollection(SecretCollection **collection);
I linked the program with libsecret while compilation. How to fix this?
0 Replies