Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ SQL » MySQL link error
Re: MySQL link error [message #28291 is a reply to message #28290] Thu, 26 August 2010 14:46 Go to previous messageGo to previous message
cbpporter is currently offline  cbpporter
Messages: 1401
Registered: September 2007
Ultimate Contributor
The problem is that you did not add the correct packages to your own package. You are using 3 packages, which is currently the minimum for console applications. "mysqlconsapp" is probably your own package. Core is the core of U++, and plugin/z is a dependency of Core, allowing it to provide compression and decompression services. Core does not feature Sql integration by itself. That is a job for another package.

You need to get used to the whole package idiom. Try to figure out what your project is made out of. So if you only have you code and the basics, you need to add a package that allows for Sql. This package is called Sql. You probably need the MySql package instead because you are using mysql.

PS: The fact that you can compile fine, but fail at linking is an unfortunate consequence of the way include paths work and you can include any file, even if you are not using the package if it is in the right location on disk.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Connect to TWO databases
Next Topic: PostgreSQL and Mingw
Goto Forum:
  


Current Time: Mon Apr 29 10:51:30 CEST 2024

Total time taken to generate the page: 0.03294 seconds