Added Mac OSX build instructins for PCRE.
This commit is contained in:
parent
3d3593e6e7
commit
6438f0e273
20
build.txt
20
build.txt
|
@ -11,18 +11,30 @@ Then I built the lib with:
|
||||||
cmake .
|
cmake .
|
||||||
nmake
|
nmake
|
||||||
|
|
||||||
The resulting files can be downloaded here (please try if it works):
|
The resulting files can be downloaded here (please try if it works):
|
||||||
http://cppcheck.sf.net/pcre-8.10-vs.zip
|
http://cppcheck.sf.net/pcre-8.10-vs.zip
|
||||||
|
|
||||||
|
|
||||||
MINGW (Qt 4.7 SDK)
|
MINGW (Qt 4.7 SDK)
|
||||||
|
|
||||||
I downloaded pcre-8.0-lib.zip from here: http://software-download.name/pcre-library-windows/
|
I downloaded pcre-8.0-lib.zip from here: http://software-download.name/pcre-library-windows/
|
||||||
|
|
||||||
|
|
||||||
Linux
|
Linux
|
||||||
|
|
||||||
The normal Makefile should work
|
The normal Makefile should work
|
||||||
|
|
||||||
Install pcre on ubuntu might be needed:
|
Install pcre on ubuntu might be needed:
|
||||||
sudo apt-get install libpcre3 libpcre3-dev
|
sudo apt-get install libpcre3 libpcre3-dev
|
||||||
|
|
||||||
|
|
||||||
|
Mac OSX
|
||||||
|
|
||||||
|
Install pcre:
|
||||||
|
|
||||||
|
sudo port install pcre
|
||||||
|
|
||||||
|
Ensure /path/to/pcre.h is in CXXFLAGS, e.g:
|
||||||
|
|
||||||
|
export CXXFLAGS=${CXXFLAGS}:/opt/local/include
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue