HI, you have to provide "external linkage" information to your compiler
Try with
extern "C" {
#include "library.h"
}
extern "C" {
#include "library.h"
}
To copy to clipboard, switch view to plain text mode
Notice that the correct syntax for linking libraries in .pro file is
LIBS += -L<library_path> -l<library_basename>
LIBS += -L<library_path> -l<library_basename>
To copy to clipboard, switch view to plain text mode
Eg
LIBS += -Llibs/ -llibrary
LIBS += -Llibs/ -llibrary
To copy to clipboard, switch view to plain text mode
Bookmarks