You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by David Scarchilli <da...@altair.com> on 2012/04/27 20:03:10 UTC
Cannot find regex.h when building with Developer Studio 2010
Hello,
I'm trying to build apr-1.4.6 with apr-util-1.4.1 and apr-iconv-1.2.1 using Developer Studio 2010. I'm getting this error:
apr_dbd_freetds.c(48): fatal error C1083: Cannot open include file: 'regex.h': No such file or directory
I loaded and converted aprutil.dsw into Dev Studio.
I looked at pcre-8.3, but did not find regex.h. Am I missing some other third party library? I could not find regex.h anywhere under apr/apr-util/apr-iconv. And I don't believe it is part of Dev Studio 2010.
Thanks for the help.
Re: Cannot find regex.h when building with Developer Studio 2010
Posted by "William A. Rowe Jr." <wr...@rowe-clan.net>.
On 4/30/2012 11:26 AM, shathawa@e-z.net wrote:
>>
>> I looked at pcre-8.3, but did not find regex.h. Am I missing some other
>> third party library? I could not find regex.h anywhere under
>> apr/apr-util/apr-iconv. And I don't believe it is part of Dev Studio 2010.
regex is older than gnu and was reinvented several times. Packages like pcre
make you go through extra steps if you are using it as a regex provider, since
there are so many, and since the OS vendor usually makes the election.
pcreposix.h is the magic sauce to make pcre fulfill the 'regex.h' functionality.
You could either have a regex.h simply #include that header, install a second
copy or add a symlink.
Re: Cannot find regex.h when building with Developer Studio 2010
Posted by sh...@e-z.net.
> Hello,
>
> I'm trying to build apr-1.4.6 with apr-util-1.4.1 and apr-iconv-1.2.1
> using Developer Studio 2010. I'm getting this error:
>
> apr_dbd_freetds.c(48): fatal error C1083: Cannot open include file:
> 'regex.h': No such file or directory
>
> I loaded and converted aprutil.dsw into Dev Studio.
>
> I looked at pcre-8.3, but did not find regex.h. Am I missing some other
> third party library? I could not find regex.h anywhere under
> apr/apr-util/apr-iconv. And I don't believe it is part of Dev Studio 2010.
>
> Thanks for the help.
>
>
I don't know APR, but <regex.h> is known to be a header file for the
GNU regular expressions library.
Steven J. Hathaway