List:MySQL++« Previous MessageNext Message »
From:Warren Young Date:February 25 2009 6:19pm
Subject:Re: compiling the manual code
View as plain text  
søren pedersen wrote:
> hi im getting alot of linker errors while compiling the first example from
> the mysql++ manual. linker errors like:
> 
> [Linker error] undefined reference to `parse_command_line(int, char**, char
> const**, char const**, char const**, char const**, char const*)'

The MySQL++ examples are designed to be built along with the library. 
This particular routine is in a convenience library built along with 
MySQL++ to make the example code clearer.

You're welcome to dig into the MySQL++ project files to see how to build 
this library, but when learning to build programs from scratch, it's 
simpler to just start with fresh code.

If you just want to modify one of the MySQL++ examples so you can see 
how your change affects what it does, it's best to do it within the 
MySQL++ source tree and build it there.
Thread
compiling the manual codesøren pedersen25 Feb
  • Re: compiling the manual codeWarren Young25 Feb
    • Re: compiling the manual codesøren pedersen25 Feb
      • Re: compiling the manual codeWarren Young25 Feb
        • Re: compiling the manual codesøren pedersen25 Feb
          • Re: compiling the manual codesøren pedersen26 Feb
            • Re: compiling the manual codeWarren Young26 Feb
              • Re: compiling the manual codesøren pedersen26 Feb