Thursday, June 3, 2010

Building a Firebird program

Building a program that connects to a Firebird server with IBPP is a rather simple task.
The IBPP site recommends to compile the IBPP source code together with your program: I put it in a subfolder and followed the recommendation. Everything worked well and I had a program that could connect to the server.

Under Windows there are no other requirements. Under Linux and OS X you also need to link to the Firebird client library, named fbclient or fbembed. This requires adding something like

-lfbembed

to the linker command line.

No comments:

Post a Comment