Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

ExoticFish

macrumors 6502a
Original poster
i've been learning C++ and building some command line applications using mysql and mysql++(the C++ bindings for mysql), everything is hunky dory until i try to use xcode as my IDE (using vi currently). when i try to compile my program using xcode it comes back with a long list or errors which i can contribute to one in particular error: mysql.h not found. now it finds mysql++ just fine but in the mysql++ headers it calls for mysql.h, which is fine because it compiles just find from the command line. in xcode i have my header search paths for mysql and mysql++ and the library search paths for mysql and the "Other Linker Flags" set to "-lmysqlpp -lmysqlclient -lz" which is the same setup i use to compile it from the command line. anyone else run into a problem like this?

(sorry to be long winded :cool: )
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.