Hi,
I'm trying to embed libmysqld into a program ( think xampp ) and kind of struggling with getting to grips with it. Does anyone have experience embedding either this or regular MySQL?
To start with, I've wrapped the C example into a class, but I'm getting runtime errors, which is a bit confusing. It compiles and links without any problems, but when the program is run I get an invalid pointer error (EXC_BAD_ACCESS) followed up by the debugger saying:
GDB: Error: XCode could not locate source file: is_prefix.c (line: 30)
I don't understand why its telling me this at runtime.
Sorry, I realise I may be asking a lot of different things here, but that is the main question above... why does GDB tell me that it cant find the .c file, instead of it coming up at compile time?
Any help appreciated,
Cheers!