Skip to content

Commit bdb36cd

Browse files
committed
WIP
1 parent 753617f commit bdb36cd

File tree

1 file changed

+7
-19
lines changed

1 file changed

+7
-19
lines changed

build-windows/Dockerfile

Lines changed: 7 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -113,28 +113,12 @@ RUN tar xzf poco-${poco_version}-all.tar.gz
113113
WORKDIR ${WORK_DIR}/poco-${poco_version}-all/
114114

115115
# Some workarounds on Poco 1.14.2
116+
# Issue [#5174](https://github.com/pocoproject/poco/issues/5174)
116117
RUN sed -i 's/#include <Windows.h>/#include <windows.h>/' \
117118
Foundation/include/Poco/FileStreamRWLock_WIN32.h
119+
# Issue [#5176](https://github.com/pocoproject/poco/issues/5176)
118120
RUN sed -i '/#include "Poco\/UnWindows.h"/a #include <limits>' \
119121
Foundation/src/SharedMemory_WIN32.cpp
120-
RUN sed -i '/#include <sql.h>/a #include <sqlext.h>' \
121-
Data/ODBC/src/Binder.cpp
122-
RUN sed -i '/#include "Poco\/Data\/ODBC\/Utility.h"/a #include <sqlext.h>' \
123-
Data/ODBC/src/ODBCMetaColumn.cpp
124-
125-
### TODO J'en suis là
126-
127-
### Issue Poco en cours de rédaction (enfin pour l'instant ça marche pas)
128-
# I'm trying to build Poco 1.14.2 from Linux (Debian-12) for Windows.
129-
130-
# I encounter some issues :
131-
132-
# - in `Foundation/src/SharedMemory_WIN32.cpp`, `std::numeric_limits` is used but `<limits>`is not included.
133-
# - in `Data/ODBC/src/Binder.cpp`, `SQL_GUID` is used but `<sqlext.h>` is not included
134-
# - in `Data/ODBC/src/ODBCMetaColumn.cpp`, `SQL_GUID` is used but `<sqlext.h>` is not included
135-
136-
137-
138122

139123
RUN cmake \
140124
-G Ninja \
@@ -144,8 +128,12 @@ RUN cmake \
144128
-DCMAKE_BUILD_TYPE=Release \
145129
-DBUILD_SHARED_LIBS=OFF \
146130
-DENABLE_JSON=OFF \
147-
-DENABLE_MONGODB=OFF \
131+
-DENABLE_DATA=OFF \
132+
-DENABLE_DATA_ODBC=OFF \
148133
-DENABLE_DATA_SQLITE=OFF \
134+
-DENABLE_DATA_MYSQL=OFF \
135+
-DENABLE_DATA_POSTGRESQL=OFF \
136+
-DENABLE_MONGODB=OFF \
149137
-DENABLE_REDIS=OFF \
150138
-DENABLE_PROMETHEUS=OFF \
151139
-DENABLE_PDF=OFF \

0 commit comments

Comments
 (0)