Skip to content
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

Installation Failed on fresh windows 10 #47

Open
danielfm123 opened this issue Dec 24, 2024 · 0 comments
Open

Installation Failed on fresh windows 10 #47

danielfm123 opened this issue Dec 24, 2024 · 0 comments

Comments

@danielfm123
Copy link

when in run .\test_connection_odbc.exe

i get an error:

PS C:\duckdb_odbc-windows-amd64> .\test_connection_odbc.exe -s
[0/1] (0%): Test SQLConnect with Ini File

test_connection_odbc.exe is a Catch v2.13.7 host application.
Run with -? for options

-------------------------------------------------------------------------------
Test SQLConnect with Ini File
-------------------------------------------------------------------------------
D:\a\duckdb-odbc\duckdb-odbc\test\tests\connect_with_ini.cpp(9)
...............................................................................

D:\a\duckdb-odbc\duckdb-odbc\test\common.cpp(131): PASSED:
  REQUIRE( ret == 0 )
with expansion:
  0 == 0

D:\a\duckdb-odbc\duckdb-odbc\test\common.cpp(9): PASSED:
  REQUIRE( 1 )

D:\a\duckdb-odbc\duckdb-odbc\test\common.cpp(9): PASSED:
  REQUIRE( 1 )

D:\a\duckdb-odbc\duckdb-odbc\test\common.cpp(9): PASSED:
  REQUIRE( 1 )

D:\a\duckdb-odbc\duckdb-odbc\test\common.cpp(9): PASSED:
  REQUIRE( 1 )

SQLExecDirect (FROM string_values): Error: Error
D:\a\duckdb-odbc\duckdb-odbc\test\common.cpp(27): FAILED:
  REQUIRE( (((ret)&(~1))==0) )
with expansion:
  false

[1/1] (100%): Test SQLConnect with Ini File
===============================================================================
test cases: 1 | 1 failed
assertions: 6 | 5 passed | 1 failed

ODBC.ini and ODBCINST.ini look 32bit

ODBC.INI
[ODBC 32 bit Data Sources]
DuckDB=DuckDB Driver (32 bit)
[DuckDB]
Driver32=C:\duckdb_odbc-windows-amd64\duckdb_odbc.dll


ODBCINST.INI
[DuckDB Driver (32 bit)]
Driver=C:\duckdb_odbc-windows-amd64\duckdb_odbc.dll
Setup=C:\duckdb_odbc-windows-amd64\duckdb_odbc_setup.dll
32Bit=1
[ODBC 32 bit Drivers]
DuckDB Driver (32 bit)=Installed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant