Re: [pcre-dev] how to use pcre.lib on win32 platform?

Top Page
Delete this message
Author: s2ilveszter
Date:  
To: Christian Ehrlicher
CC: pcre-dev
Subject: Re: [pcre-dev] how to use pcre.lib on win32 platform?
Sorry I was not correct,
I mean every .a from lib dir
I put these:
File name         Size             
--------------    ---------------  
libpcre.a                 212,454  
libpcrecpp.a               37,362  
libpcreposix.a              3,120  
total files 3    total size         252,936
there is no pcre.a  that is why I do not understand,
why I have to add pcre to my IDE
(it just add -lpcre switch to gcc If I am correct)
If anyone knows please mail me.
I still did not solve using pcre with Visual Studio 2008 express.


Christian Ehrlicher írta:
> s2ilveszter schrieb:
>
>> I use codeblocks with gcc compiler.
>> I had to put "pcre" into "link libraries" I do not know why,
>> I had every .lib added before and get some link errors as well.
>> With vc++ I could not solve it yet.
>>
>>
> When you're using gcc you won't use pcre compiled against msvc (i.e you
> must not link against .lib but against .a).
> Make sure to use the correct libs compiled with the correct compiler!
>
>
> Christian
>
>