-
Notifications
You must be signed in to change notification settings - Fork 53
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
macOS installed headers include non-existing files (e.g. <iODBC/sqltypes.h>) #92
Comments
Update: I now notice that the headers installed in /usr/local/iODBC/include/ does not use the indirection via |
(I looked for details about how to use the headers in Developing ODBC Compliant Applications but it does not provide any such details and seems quite dated.) |
I will have a look and report back to you... |
The workaround we used before to be able to use
i.e. create a symbolic link so |
This is more or less a duplicate of issue #17. As a result of that the (Some documentation on how to build against the installed iODBC on macOS would be nice, though). |
Running the installer
ODBC-SDK-3.52.16-macOS11.dmg
(on macOS 12.7 Intel) creates header files in/Library/Frameworks/iODBC.framework/Versions/3.52/Headers/
.The installed headers, e.g.
sql.h
contain include statements like:#include <iODBC/sqltypes.h>
This will not work, since there is no
iODBC
directory.The effect is that it is not possible to compile against the installed header files, making the macOS installer unusable.
Since the including files and the files they attempt to include are all in the same directory, one possible fix is to replace any occurrence of
#include <iODBC/some_file.h>
with#include "some_file.h"
, i.e. without "system-brackets" and without referring to the missing directoryiODBC
.This is an old bug, and has been reported before.
The text was updated successfully, but these errors were encountered: