You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The following works on Mac/Linux to import the MySQL library, but does not work on Windows.
Is there a specific requirement for specifying Windows paths in the cflags/ldflags?
Windows paths have drive letters, spaces, etc, and resemble the following: //%cflags:-std=c99 -L"C:program Files/.../mysql/lib"
I tried changing the path to "./program Files/.../mysql/lib" with variants of "\" or "//", but this still throws errors that the files cannot be found.
Any suggestion for a fix would be appreciated.
The text was updated successfully, but these errors were encountered:
The following works on Mac/Linux to import the MySQL library, but does not work on Windows.
Is there a specific requirement for specifying Windows paths in the cflags/ldflags?
//%cflags:-std=c99 -L/usr/local/mysql/lib -I/usr/local/mysql/include -lmysqlclient
Windows paths have drive letters, spaces, etc, and resemble the following:
//%cflags:-std=c99 -L"C:program Files/.../mysql/lib"
I tried changing the path to "./program Files/.../mysql/lib" with variants of "\" or "//", but this still throws errors that the files cannot be found.
Any suggestion for a fix would be appreciated.
The text was updated successfully, but these errors were encountered: