Closed ghost closed 5 years ago
FreeBASIC Extended Library
make && make MT=1 && make install
fbc -lib -i ../../../include/freebasic database.o -x ../../../lib/linux/libext-database.a fbc -c -w all -g -i ../../../include/freebasic drivers/sqlite3.bas -o drivers/sqlite3.o fbc -lib -i ../../../include/freebasic -x ../../../lib/linux/libext-database-driver-sqlite3.a drivers/sqlite3.o fbc -c -w all -g -i ../../../include/freebasic drivers/mysql.bas -o drivers/mysql.o drivers/mysql.bas(25) error 23: File not found, "mysql/mysql.bi" in '#include once "mysql/mysql.bi"' make[2]: * [drivers/mysql.o] Error 1 make[2]: Leaving directory `/home/plt/fb-extended-lib-aa67357faa0d/src/modules/database' make[1]: * [build-database] Error 2 make[1]: Leaving directory`/home/plt/fb-extended-lib-aa67357faa0d/src/modules' make: *\ [build] Error 2
uname -a Linux laptop 3.13.0-40-generic #69-Ubuntu SMP Thu Nov 13 17:53:56 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
How can I fix this issue? I am using the current version of linux.
it seems recent versions of fbc don't include headers for mysql, i have ported the current mariadb headers which are compatible and will upload them after i can test them.
FreeBASIC Extended Library
make && make MT=1 && make install
fbc -lib -i ../../../include/freebasic database.o -x ../../../lib/linux/libext-database.a fbc -c -w all -g -i ../../../include/freebasic drivers/sqlite3.bas -o drivers/sqlite3.o fbc -lib -i ../../../include/freebasic -x ../../../lib/linux/libext-database-driver-sqlite3.a drivers/sqlite3.o fbc -c -w all -g -i ../../../include/freebasic drivers/mysql.bas -o drivers/mysql.o drivers/mysql.bas(25) error 23: File not found, "mysql/mysql.bi" in '#include once "mysql/mysql.bi"' make[2]: * [drivers/mysql.o] Error 1 make[2]: Leaving directory `/home/plt/fb-extended-lib-aa67357faa0d/src/modules/database' make[1]: * [build-database] Error 2 make[1]: Leaving directory`/home/plt/fb-extended-lib-aa67357faa0d/src/modules' make: *\ [build] Error 2
uname -a Linux laptop 3.13.0-40-generic #69-Ubuntu SMP Thu Nov 13 17:53:56 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
How can I fix this issue? I am using the current version of linux.