I'm trying to build SWORD in an environment without a system regex.h. The library build itself goes great, but diatheke fails to find the internal regex.h file, ending with this error.
sword-x86_64-w64-mingw32> corediatheke.cpp:29:10: fatal error: regex.h: No such file or directory sword-x86_64-w64-mingw32> 29 | #include <regex.h> sword-x86_64-w64-mingw32> | ^~~~~~~~~ sword-x86_64-w64-mingw32> compilation terminated. The offending invocation of the compiler is: x86_64-w64-mingw32-g++ -DHAVE_CONFIG_H -I. -I../../include -Ofast -fPIC -D_ICU_ -DCURLAVAILABLE -I/nix/store/mkzj31p69kxrhar1b2l5vq7hkd1n45i4-curl-x86_64-w64-mingw32-8.9.1-dev/include -DCURLSFTPAVAILABLE -DUSEICUREGEX -Wno-address -Wno-nonnull-compare -Wno-unused-but-set-variable -Wno-unknown-warning-option -DU_USING_ICU_NAMESPACE=1 -Wint-to-pointer-cast -fpermissive -D_ICUSWORD_ -DCURL_STATICLIB -ftemplate-depth=100 -c -o corediatheke.o corediatheke.cpp I have tried this both with the -DUSEICUREGEX and with only the internal version, but that doesn't seem to affect this. It looks like the diatheke compile invocation needs to include -I../include/interna/regex when the internal regex.h is requested. Am I missing something to set that flag? --Greg
_______________________________________________ sword-devel mailing list: sword-devel@crosswire.org http://crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page