I completely failed to build the POCO library (Data component) with MinGW on windows (XP).I used the last version of MinGW (4.6.2). Is there any trusted way to do that since I need the (Data component) very much in order to (ODBC) connect to a database?I build all libraries successfully on Linux, but in window - using MinGw - repeated failure.

I prefere using MinGW not VC++ compiler, since MinGW supports more C++11 standards - which I need to do all my coming code with it - . Also, MinGW enables me to write code that can be easily compiled in both Windows and Linux.So, still the question is: did any one do compiling the Poco in windows using the MinGW????

mlotfy wrote:I completely failed to build the POCO library (Data component) with MinGW on windows (XP).I used the last version of MinGW (4.6.2). Is there any trusted way to do that since I need the (Data component) very much in order to (ODBC) connect to a database?I build all libraries successfully on Linux, but in window - using MinGw - repeated failure.

First, as SalvorHardin said, please update to rev 1834 for you MingW build. Without this POCO can not be built on you MingW 4.6.2.

And for ODBC build, I just updated the Makefile for branch 1.4.4 (rev 1854), would you please check it ?

If you can not use branch 1.4.4, just change your ODBC Makefile like this patch file: