Induction/Induction — Issue #19: Building the Adapters using MacPorts
Author: Fusion
Created: 2012-03-06 09:58:07+00:00
State: open

Here is what I did to work around complaints about MySQL and SQLite:

Shell:
sudo port install mysql5-server-devel sqlite3

In XCode, edit MysqlAdapter.xcodeproj
Header Search Paths: /opt/local/include/mysql5/mysql
Library Search Paths: /opt/local/lib/mysql5/mysql

In XCode, edit SQLiteAdapter.xcodeproj
Remove DBAdapter.h and SQLAdapter.h because their path is canonical in the project file.
Right-click, select "Add Files...", go up one level, add both files.

Build.