List:MySQL++« Previous MessageNext Message »
From:Dovid Kopel Date:November 9 2004 11:13pm
Subject:Can't run examples by themselves
View as plain text  
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I realized I can't compile the examples by themselves...I tried
compiling simple1.cc and got this:

munky@lappy ~/examples $ g++ -o simple simple1.cc
In file included from /usr/local/include/mysql++.h:3,
~                 from util.h:4,
~                 from simple1.cc:1:
/usr/local/include/defs.h:6:19: mysql.h: No such file or directory
In file included from /usr/local/include/mysql++.h:3,
~                 from util.h:4,
~                 from simple1.cc:1:
/usr/local/include/defs.h:21: error: syntax error before `;' token
In file included from /usr/local/include/coldata.h:12,
~                 from /usr/local/include/mysql++.h:5,
~                 from util.h:4,
~                 from simple1.cc:1:
/usr/local/include/type_info.h:6:19: mysql.h: No such file or directory
In file included from /usr/local/include/coldata.h:12,
~                 from /usr/local/include/mysql++.h:5,
~                 from util.h:4,
~                 from simple1.cc:1:
/usr/local/include/type_info.h:71: error: `enum_field_types' was not
declared
~   in this scope
/usr/local/include/type_info.h:71: error: parse error before `,' token
/usr/local/include/type_info.h:85: error: parse error before `t'
/usr/local/include/type_info.h:88: error: parse error before `&' token
/usr/local/include/type_info.h:152: error: parse error before `t'
/usr/local/include/type_info.h:157: error: parse error before `&' token
/usr/local/include/type_info.h:161: error: `int
~   mysqlpp::mysql_type_info::_length' is not a static member of `class
~   mysqlpp::mysql_type_info'
/usr/local/include/type_info.h:161: error: `f' was not declared in this
scope
/usr/local/include/type_info.h:162: error: `int
~   mysqlpp::mysql_type_info::_max_length' is not a static member of `class
~   mysqlpp::mysql_type_info'
/usr/local/include/type_info.h:162: error: `f' was not declared in this
scope
/usr/local/include/type_info.h:163: error: parse error before `}' token
/usr/local/include/type_info.h:167: confused by earlier errors, bailing out

- --
- -=mUnky=-
- -Dovid Kopel
(516)-655-0489
munky@stripped
http://www.munkys.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBkU8rCecRKprSbsERAgieAJoDUsoZSApB9gblrE2xWKTjKt3aawCfXbXJ
NO/bNYv7ZiKYuOlNaFC03bw=
=mq1N
-----END PGP SIGNATURE-----

Thread
Can't run examples by themselvesDovid Kopel10 Nov
  • Re: Can't run examples by themselvesChris Frey10 Nov
    • Re: Can't run examples by themselvesDovid Kopel10 Nov
      • Re: Can't run examples by themselvesChris Frey10 Nov
        • Re: Can't run examples by themselvesBryan W. Headley10 Nov
          • Re: Can't run examples by themselvesDovid Kopel10 Nov
            • Re: Can't run examples by themselvesWarren Young10 Nov
    • Re: Can't run examples by themselvesWarren Young10 Nov