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

Top Page
Delete this message
Author: WangWeiGuo(王卫国)
Date:  
To: s2ilveszter, Christian Ehrlicher
CC: pcre-dev
Subject: [pcre-dev] reply: how to use pcre.lib on win32 platform?
hi,

About how to use pcre with Visual Studio 2008 express or other win32 compiler, I have tried many times but not successful. So if everyone has the information about it ,please tell me .


________________________________

From: pcre-dev-bounces@??? 代表 s2ilveszter
Sent: 2009-4-11 (星期六) 4:51
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
>
>



--
## List details at http://lists.exim.org/mailman/listinfo/pcre-dev