Overview
Features
Download
Documentation
Community
Add-Ons & Services

MINGW build problem

Please post support and help requests here.

MINGW build problem

Postby marlowa » 14 Aug 2006, 23:00

I tried to build POCO with minGW but got a load of compilation errors to do with DLL export. For example, CppUnit wont build because the macro CppUnit_EXPORTS does not get passed to the compiler, even though it is in the Makefile. Any ideas why?

-Andrew Marlow
marlowa
 
Posts: 36
Joined: 19 Jul 2006, 09:02
Location: United_Kingdom

Re: MINGW build problem

Postby peter » 16 Aug 2006, 14:35

> I tried to build POCO with minGW but got a load of compilation errors to do with DLL export. For example, CppUnit wont build because the macro CppUnit_EXPORTS does not get passed to the compiler, even though it is in the Makefile. Any ideas why?
>
> -Andrew Marlow
>
Hi Andrew, I posted an answer to this question here:
http://www.appinf.com/poco/wiki/tiki-view_forum_thread.php?comments_parentId=44&topics_threshold=0&topics_offset=0&topics_sort_mode=commentDate_desc&topics_find=&forumId=3

Let me know if it helped :-)

best regards,
Peter
peter
 
Posts: 67
Joined: 11 Jul 2006, 16:26
Location: Austria

Re: MINGW build problem

Postby phireis » 24 Oct 2006, 02:26

I can past compiling EventLogChannel in place of SyslogChannel, but i get stuck gettin undefined reference to pcre_free... Any ideas?
I'm used Poco-1.2.5.

Lipe
phireis
 
Posts: 12
Joined: 21 Oct 2006, 03:18

Re: Re: MINGW build problem

Postby devcjohnson » 24 Oct 2006, 04:36

> I can past compiling EventLogChannel in place of SyslogChannel, but i get stuck gettin undefined reference to pcre_free... Any ideas?
> I'm used Poco-1.2.5.
>
> Lipe


http://www.pcre.org/

2.1.13 Regular Expressions
Perl-compatible regular expressions, based on the popular open source
PCRE library and wrapped in an intuitive to use class.

That should get you going.
devcjohnson
 
Posts: 6
Joined: 19 Jul 2006, 23:06
Location: United_States

Re: Re: Re: MINGW build problem

Postby devcjohnson » 24 Oct 2006, 04:47

> http://www.pcre.org/


Also forget to mention to modify $(POCO_ROOT)/build/config/MinGW
(here's a diff if it helps...)
--- MinGW 2006-10-23 08:29:17.000000000 -0500
+++ MinGW.new 2006-10-23 21:41:23.000000000 -0500
@@ -68,4 +68,4 @@
#
# System Specific Libraries
#
-SYSLIBS = -liphlpapi
+SYSLIBS = -liphlpapi -lpcre
devcjohnson
 
Posts: 6
Joined: 19 Jul 2006, 23:06
Location: United_States


Return to Support

Who is online

Users browsing this forum: No registered users and 14 guests

cron