duckdb_spatial icon indicating copy to clipboard operation
duckdb_spatial copied to clipboard

Can't compile from a folder path with a space in it

Open marklit opened this issue 1 year ago • 1 comments

$ make debug
mkdir -p  build/debug && \
    cmake   -DENABLE_SANITIZER=OFF -DDUCKDB_OOT_EXTENSION_NAMES="spatial" -DDUCKDB_OOT_EXTENSION_SPATIAL_PATH="/Volumes/Seagate/ ./ source/duckdb_spatial/spatial" -DDUCKDB_OOT_EXTENSION_SPATIAL_SHOULD_LINK="TRUE" -DDUCKDB_OOT_EXTENSION_SPATIAL_INCLUDE_PATH="/Volumes/Seagate/ ./ source/duckdb_spatial/spatial/include"  -DEXTENSION_STATIC_BUILD=1 -DCMAKE_BUILD_TYPE=Debug -DEXTENSION_STATIC_BUILD=1   -S ./duckdb/ -B build/debug && \
    cmake --build build/debug --config Debug
-- git hash b00b93f0b1, version v0.7.1
CMake Error at CMakeLists.txt:884 (add_subdirectory):
  add_subdirectory given source "/Volumes/Seagate/ ./
  source/duckdb_spatial/spatial" which is not an existing directory.


-- Configuring incomplete, errors occurred!
See also "/Volumes/Seagate/data open source/duckdb_spatial/build/debug/CMakeFiles/CMakeOutput.log".
See also "/Volumes/Seagate/data open source/duckdb_spatial/build/debug/CMakeFiles/CMakeError.log".
make: *** [debug] Error 1

marklit avatar Apr 06 '23 08:04 marklit