-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SNOW-1795105: SNOW-864140 Issues building the code #774
Comments
thank you for raising this - i was also struggling a little bit with various attempts but cannot seem to make it work outside of Snowflake CI. Discussing with the team what are the working build steps and will update accordingly. |
while this is under fixing / documentation, dev team provided the following workaround. Would it be possible for you to please try?
hope it works for you and can get you unblocked but please let us know. |
Looks like it worked thanks! Am i right in guessing I need to link in the static library built under libsnowflakeclient/deps-build/linux/Release/libsnowflakeclient/lib into my cmake project? |
(https://github.com/snowflakedb/libsnowflakeclient/tree/SNOW-864140-update-build-scripts-instruction has now the working version for Linux and Windows; fixing the Mac steps is in progress before merging the change) |
@sfc-gh-dszmolka awesome thanks! Is there any docs or examples on library use anywhere? I was looking in the examples folder but it seems like it only has an example for creating the conn |
nvm, think I can figure it out from the code docs in the header files, thanks! |
PR is merged! |
What version of libsnowflakeclient are you using?
1.1.0
What operating system and processor architecture are you using?
Ubuntu 24.04.1 LTS AMD64
What version of C complier are you using?
gcc 13.2.0
What did you do?
I ran the build script
./scripts/build_libsnowflakeclient.sh
and am getting errors about missing dependencies.I then ran the
./scripts/build_dependencies.sh
but it looks like it doesn't build all the dependencies.After the dependency build
Some more context: I'm sorry if I'm doing something wrong, I'm fairly new to C++. I'm trying to build a duckdb snowflake extension and am trying to include this library in my CMake project. I'm not sure what the best way to do this is. Would appreciate any pointers or examples you could provide.
What did you expect to see?
I expected the build to succeed and the artifacts to be generated
The text was updated successfully, but these errors were encountered: