Hello,
I am unable to link pcre and pcrecpp with a simple cpp application on AIX.
I'm using pcre 7.6.
main.cpp:
#include <string.h>
#define PCRE_STATIC 1
#include "pcrecpp.h"
int main()
{
return pcrecpp::RE("([a-zA-Z0-9])+").FullMatch("kjdshjdfh$%^346");
}
compiling with: /usr/vacpp/bin/xlC -c main.cpp -I./
linking with teh following command: /usr/vacpp/bin/xlC -o main main.o
-L/home/qa/fasihWork/ -lpcrecpp -lpcre
Any help would be appreciated.