xcode - Build error when using Mac C++ to connect to sqlite3 -


i attempting learn how connect sqlite3 using c++ on mac xcode compiler.

i have following include files..

#include <iostream> #include "sqlite3.h" 

i have tried 2 sqlite3 open functions…

sqlite3_open , sqlite3_open_v2

the xcode tool finds no errors until try compile. “build failed” error no further explanation.

what cause , how can track down error?

the cause code incorrect (eg. #include "sqlite3.h" should #include <sqlite3.h>, etc). without posting exact error nobody here can tell why.

how track down error pointed out in documention:

choose view > navigators > show log navigator view reports xcode generates during development process. alternatively, can click log navigator button in navigator selector bar of workspace window.

finding , fixing issues log viewer


Comments