You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PCRE is a (default) dependency of Swig under linux
We can detect it's availability in our swig prior to fetching / attempting to build swig from source.
configure: error: in `/home/ptheywood/code/flamegpu/flamegpu2/build/_deps/swig-src':
configure: error:
Cannot find pcre-config script from PCRE (Perl Compatible Regular Expressions)
library package. This dependency is needed for configure to complete,
Either:
- Install the PCRE developer package on your system (preferred approach).
- Download the PCRE source tarball, build and install on your system
as you would for any package built from source distribution.
- Use the Tools/pcre-build.sh script to build PCRE just for SWIG to statically
link against. Run 'Tools/pcre-build.sh --help' for instructions.
(quite easy and does not require privileges to install PCRE on your system)
- Use configure --without-pcre to disable regular expressions support in SWIG
(not recommended).
See `config.log' for more details
If not available, we can either:
Continue doing nothing, and let Swig fail at build time with an error
Emit an error to users, asking them to install pcre-dev
Fetch PCRE ourselves and install into the CMake directory & tell swig where to find it
Adjust our build local swig to pass --without-pcre (if this produces valid pyflamegpu wheels) if PCRE is not detected
The text was updated successfully, but these errors were encountered:
PCRE is a (default) dependency of Swig under linux
We can detect it's availability in our swig prior to fetching / attempting to build swig from source.
If not available, we can either:
--without-pcre
(if this produces valid pyflamegpu wheels) if PCRE is not detectedThe text was updated successfully, but these errors were encountered: