HI all,
i have some strange requirement.
I wanted to open a database(mysql) during flightgear startup. I want to use
to to query some parameters like pilots name, date of flight, duration etc.
for that i have created a small c++ code to access the database which works
fine.

It is a very small piece of code but for compiling it have to specify the
mysql include directory and the library path like this:
(g++ -o db db.cc -L/usr/include/mysql -lmysqlclient -I/usr/include/mysql)
As u can see i have to give the include path and library path.

however i have to integrate it to flightgear(preferably fg_command.cxx). i
don't have any idea as how can i give these paths in flightgear source code.
what i think i have to add it some where in the Makefile.(i am not sure)
How can i do this????????????
Plz suggest me how can i proceed..

raghav
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Flightgear-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to