We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello. I tried to run the following source code on Windows 10 and the build failed. I am seeking assistance in resolving this issue.
use pg_query; fn main() { let result = pg_query::parse("SELECT * FROM contacts"); assert!(result.is_ok()); }
The project is located at E:\pg-query-test.
E:\pg-query-test
error: failed to run custom build command for `pg_query v0.8.2` Caused by: process didn't exit successfully: `E:\pg-query-test\target\debug\build\pg_query-4000e504282b2f84\build-script-build` (exit code: 1) --- stdout cargo:rerun-if-changed=.\libpg_query\Makefile cargo:rustc-link-search=native=E:\pg-query-test\target\debug\build\pg_query-b2e470b4f0427967\out cargo:rustc-link-lib=static=pg_query --- stderr Error: Error { kind: NotFound, message: "program not found" }
OS: Windows 10 pg_query: 0.8.2 cargo: 1.75.0-nightly cmake: 3.28.1
The text was updated successfully, but these errors were encountered:
This is probably a known issue: libpg_query currently does not support Windows: pganalyze/libpg_query#44
Sorry, something went wrong.
Windows support has been added in #39 and released as 5.1.0.
Successfully merging a pull request may close this issue.
Hello. I tried to run the following source code on Windows 10 and the build failed. I am seeking assistance in resolving this issue.
Code
Error message
The project is located at
E:\pg-query-test
.Environment
OS: Windows 10
pg_query: 0.8.2
cargo: 1.75.0-nightly
cmake: 3.28.1
The text was updated successfully, but these errors were encountered: