Failed to Link - Mysql
BlitzMax Forums/BlitzMax Programming/Failed to Link - Mysql
| ||
I'm using bruceys sql module. I have sql installed and running. But i'm getting this error: C:/Program Files/BlitzMax/bin/ld.exe: cannot find -lmysql Build Error: Failed to link C:/Program Files/BlitzMax/mod/bah.mod/dbmysql.mod/tests/test_01.debug.exe what am I missing here? |
| ||
Well, if you'd read on his site, you'd know you need the client libraries from here: http://dev.mysql.com/downloads/ |
| ||
.. I failed to read that on his site, but I already have them. Don't believe I said that this is my first time coding blitz with sql =(. First time attempting to use his module. Any other suggestions? |
| ||
Still, you don't have them in the right place. That -lmysql suggests to me that there should be a file called libmysql.a and it should either be in the same folder as the module or more usually, in BlitzMax\Lib\ I don't use the module or mysql, but I think I'm reading the import syntax correctly there. |
| ||
There we go. Thanks a lot |