Unresolved symbols during linking with DBTools static libraries

Article ID: 855
Last updated: 05 Feb, 2008
Article ID: 855
Last updated: 05 Feb, 2008
Revision: 1
Views: 3857
Posted: 13 Oct, 1997
by Dean J.
Updated: 05 Feb, 2008
by Dean J.
Problem


When I try to link my program with DBTools.h++ static libraries, I get unresolved symbols.


Cause


Missing the necessary libraries or objective files in the link line.


Action


To use DBTools.h++ static libraries, you need to link with a number of files: 
your Tools.h++ library,
DBTools.h++ Core library,
DBTools.h++ Access Library,
DBTools.h++ Access database object file,
and any appropriate vendor database import library.

If you're confused about which libraries you need to link with,
one of the easiest ways to find out what you need is to install and build your DBTools.h++ examples,
and then look at the makefile in the same directory as the built examples.
Feel free to use that makefile as a starting point for your own work.
Also, be sure to review your Tools.h++ and DBTools.h++ build guides,
as they have all the information you need to properly compile and build your software with our libraries.
This article was:   Helpful | Not helpful
Report an issue
Article ID: 855
Last updated: 05 Feb, 2008
Revision: 1
Views: 3857
Posted: 13 Oct, 1997 by Dean J.
Updated: 05 Feb, 2008 by Dean J.

Others in this category