Using RE2

Pretty new to using GNU. Always used Visual Studio in the past.

I've been struggling with using Google's RE2 project.

http://code.google.com/p/re2/wiki/Install

I'm on Windows 7 and am using mingw on g++ 4.7.1


When I attempt to do make test, it throws a bunch of errors at me

-> util/pcre.cc:465:1 error: 'LOG_0' was not declared in this scope

I have looked through the file and can't find any LOG_0 (not that I even know what that is).

When I attempt to build the project in Netbeans, it builds just fine, but I don't know how to use it in another Netbeans c++ project. I tried including the re2.h file and that just threw a bundle of errors. I tried including the project in the linker, and it wouldn't let me.

What I can do is make and make install (using GNU Make 3.81 that came with mingw in msys).

I am just completely lost on what to do. I've googled for the past 6 hours to try and find some hint, but I have yet to find anything : (.

Any help would be appreciated ; ).
Last edited on
Topic archived. No new replies allowed.