Building dbmysql.mod

BlitzMax Forums/Brucey's Modules/Building dbmysql.mod

DavidDC(Posted 2008) [#1]
Hi Brucey :-) Just downloaded the dbmysql.mod and hit build mods and it spat this back at me:

Building Modules
Compiling:mysqlhelper.cpp
/Applications/BlitzMax/mod/bah.mod/dbmysql.mod/mysqlhelper.cpp:6:23: error: my_global.h: No such file or directory
/Applications/BlitzMax/mod/bah.mod/dbmysql.mod/mysqlhelper.cpp:8:19: error: mysql.h: No such file or directory
/Applications/BlitzMax/mod/bah.mod/dbmysql.mod/mysqlhelper.cpp:13: error: 'MYSQL_FIELD' was not declared in this scope


Is there a dependency I'm missing? Thanks!


DavidDC(Posted 2008) [#2]
Oops - just read this...

http://www.blitzmax.com/Community/posts.php?topic=75632#845091

Sorry. Must be "Leopard and Linux users need to make sure they also install the MySQL "dev" package, which contains the includes and shared objects for compiling against."


Brucey(Posted 2008) [#3]
Yeah, sorry... read *nix users, to include OS X and Linux ;-)