mostsignificant / duckdb_xml

A DuckDB extension for reading XML files
MIT License
1 stars 0 forks source link

error: 'memory' file not found #1

Open dkdndes opened 23 hours ago

dkdndes commented 23 hours ago

I did the following, which is not documented in your readme in this way; some steps are currently missing.

Installation of vcpkg

brew install vcpkg
git clone https://github.com/microsoft/vcpkg "$HOME/vcpkg"
export VCPKG_ROOT="$HOME/vcpkg"
export VCPKG_TOOLCHAIN_PATH $VCPKG_ROOT/scripts/buildsystems/vcpkg.cmake
echo $VCPKG_TOOLCHAIN_PATH # just to check

Note: I work with an Apple Computer and assume the same applies to Linux.

The make ended up with this error:

Programming/Insight/duckdb_xml/duckdb/src/include/duckdb/common/constants.hpp:11:10: fatal error: 'memory' file not found
   11 | #include <memory>
      |          ^~~~~~~~
1 error generated.
dkdndes commented 23 hours ago

I added the path for the files, and it was compiled.

export CXXFLAGS="-I/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1"

I opened the issue because it is challenging to find/fix, and I thought you might like to add the info somewhere in your documentation.