Overview
Features
Download
Documentation
Community
Add-Ons & Services

Building POCO on Windows without MFC

Please post support and help requests here.

Building POCO on Windows without MFC

Postby dougswanson » 11 Feb 2013, 21:09

There have been several threads discussing building POCO without MFC dependencies:

viewtopic.php?f=12&t=5589&hilit=mfc
viewtopic.php?f=12&t=5446

Those threads focus primarily on building the unit tests, which actually depend on MFC (WinTestRunner depends on MFC). But the problem is worse than this, because not only will none of the unit tests build, but none of the core POCO libraries will build as shared libraries (DLLs) because they have a dependency on winres.h (MFC) too:

..\DLLVersion.rc(5): fatal error RC1015: cannot open include file 'winres.h'.

This MFC dependency doesn't even seem to be necessary -- there's no reason 'windows.h' couldn't be used instead.

Is fixing this in the queue? Thanks,
dougswanson
 
Posts: 34
Joined: 16 Feb 2011, 04:49

Re: Building POCO on Windows without MFC

Postby alex » 12 Feb 2013, 00:35

dougswanson wrote:Is fixing this in the queue? Thanks,

So far, we've only heard from many people with the itch; nobody, however, seems to be itching enough to actually scratch it. This is an annoyance but not our most urgent itch; anyone is welcome to fork it, fix it (properly and thoroughly, without breaking existing stuff), send pull request and we'll merge it. Anyone willing to put in some work and/or needing any assistance, feel free to contact me.
alex
 
Posts: 1087
Joined: 11 Jul 2006, 16:27
Location: United_States

Re: Building POCO on Windows without MFC

Postby dougswanson » 12 Feb 2013, 00:50

OK, thanks. I'll see what I can do.
dougswanson
 
Posts: 34
Joined: 16 Feb 2011, 04:49


Return to Support

Who is online

Users browsing this forum: No registered users and 2 guests

cron