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.
@@ -15,7 +15,9 @@
SYSLIBS += -L/usr/local/lib/odbc -L/usr/lib/odbc -L/usr/lib -L/usr/local/lib
-# Lack of unixODBC or iODBC is not an error for MinGW platform since it uses Windows odbc32.lib
+# -DODBCVER=0x0300: SQLHandle declaration issue
+# -DNOMINMAX : MIN/MAX macros defined in windows conflict with libstdc++
+CXXFLAGS += -DODBCVER=0x0300 -DNOMINMAX
# -DODBCVER=0x0300: SQLHandle declaration issue
Users browsing this forum: No registered users and 1 guest