duckdb: `Make` fails on Windows: recipe for target 'debug' failed

Sorry for pestering with frequent problems but I don’t seem to be able to build DuckDb on Windows using MingW. It throws me the error. While on Mac it is perfectly fine. Any pointers?

cmake       - DBUILD_PARQUET_EXTENSION=TRUE -DCMAKE_BUILD_TYPE=Debug ../.. & \
cmake --build .
The syntax of the command is incorrect.
Makefile:61: recipe for target 'debug' failed
mingw32-make: *** [debug] Error 1

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 28 (22 by maintainers)

Most upvoted comments

I had a brief look and can confirm I get the same errors on Windows. The errors are in the dynamic sqlite3_api_wrapper which is actually not used in the system. For now I have pushed a fix that simply disables compiling this since it is not required and have also added a switch to disable compilation of the shell (#1192). These errors should not actually matter, though, since the regular library and shell does still seem to get build correctly.

Perhaps refresh your CMake cache and do a clean rebuild, for me the extension pops up in duckdb\build\extension\parquet\Debug\parquet_extension.lib after building.