[odb-users] No such file after upgrading to 1.4.0

Bright Dadson losintikfos at yahoo.co.uk
Mon Jul 11 18:16:25 EDT 2011


I have generated persistence classes using 1.4.0. in netbeans. Everything works fine, but when I try to build the project.
I get below error:


/root/Documents/project/eduProj/education-odb.cxx:5:23: warning: odb/pre.hxx: No such file or directory
In file included from /root/Documents/project/eduProj/education-odb.cxx:12:
/root/Documents/project/eduProj/education-odb.hxx:8:27: warning: odb/version.hxx: No such file or directory
/root/Documents/project/eduProj/education-odb.hxx:11:2: error: #error ODB runtime version mismatch
                 from /root/Documents/project/eduProj/education-odb.cxx:12:
In file included from /root/Documents/project/eduProj/education-odb.hxx:21,
/root/Documents/project/eduProj/education.h:14:24: warning: odb/core.hxx: No such file or directory
In file included from /root/Documents/project/eduProj/education-odb.cxx:12:
/root/Documents/project/eduProj/education-odb.hxx:27:26: warning: odb/traits.hxx: No such file or directory
/root/Documents/project/eduProj/education-odb.hxx:28:34: warning: odb/pointer-traits.hxx: No such file or directory
/root/Documents/project/eduProj/education-odb.hxx:29:38: warning: odb/tr1/pointer-traits.hxx: No such file or directory
/root/Documents/project/eduProj/education-odb.hxx:30:36: warning: odb/container-traits.hxx: No such file or directory
/root/Documents/project/eduProj/education-odb.hxx:31:26: warning: odb/result.hxx: No such file or directory
/root/Documents/project/eduProj/education-odb.hxx:33:34: warning: odb/details/buffer.hxx: No such file or directory
/root/Documents/project/eduProj/education-odb.hxx:35:33: warning: odb/mysql/version.hxx: No such file or directory
/root/Documents/project/eduProj/education-odb.hxx:36:33: warning: odb/mysql/forward.hxx: No such file or directory
/root/Documents/project/eduProj/education-odb.hxx:37:37: warning: odb/mysql/mysql-types.hxx: No such file or directory
/root/Documents/project/eduProj/education-odb.hxx:38:31: warning: odb/mysql/query.hxx: No such file or directory
/root/Documents/project/eduProj/education-odb.hxx:242:24: warning: odb/post.hxx: No such file or directory
/root/Documents/project/eduProj/education-odb.cxx:16:32: warning: odb/cache-traits.hxx: No such file or directory
/root/Documents/project/eduProj/education-odb.cxx:17:34: warning: odb/details/unused.hxx: No such file or directory
/root/Documents/project/eduProj/education-odb.cxx:18:38: warning: odb/details/shared-ptr.hxx: No such file or directory
/root/Documents/project/eduProj/education-odb.cxx:20:32: warning: odb/mysql/traits.hxx: No such file or directory
/root/Documents/project/eduProj/education-odb.cxx:21:34: warning: odb/mysql/database.hxx: No such file or directory
/root/Documents/project/eduProj/education-odb.cxx:22:37: warning: odb/mysql/transaction.hxx: No such file or directory
/root/Documents/project/eduProj/education-odb.cxx:23:36: warning: odb/mysql/connection.hxx: No such file or directory
/root/Documents/project/eduProj/education-odb.cxx:24:35: warning: odb/mysql/statement.hxx: No such file or directory
/root/Documents/project/eduProj/education-odb.cxx:25:41: warning: odb/mysql/statement-cache.hxx: No such file or directory
/root/Documents/project/eduProj/education-odb.cxx:26:43: warning: odb/mysql/object-statements.hxx: No such file or directory
/root/Documents/project/eduProj/education-odb.cxx:27:46: warning: odb/mysql/container-statements.hxx: No such file or directory
/root/Documents/project/eduProj/education-odb.cxx:28:36: warning: odb/mysql/exceptions.hxx: No such file or directory
/root/Documents/project/eduProj/education-odb.cxx:29:32: warning: odb/mysql/result.hxx: No such file or directory
/root/Documents/project/eduProj/education-odb.cxx:30:30: warning: odb/mysql/enum.hxx: No such file or directory
                 from /root/Documents/project/eduProj/education-odb.cxx:12:
In file included from /root/Documents/project/eduProj/education-odb.hxx:21,
/root/Documents/project/eduProj/education.h:24: error: ‘odb’ has not been declared
/root/Documents/project/eduProj/education.h:24: error: friend declaration does not name a class or function
In file included from /root/Documents/project/eduProj/education-odb.cxx:12:
/root/Documents/project/eduProj/education-odb.hxx:45: error: ‘access’ is not a class or namespace
/root/Documents/project/eduProj/education-odb.hxx:45: error: expected unqualified-id before ‘<’ token
                 from /root/Documents/project/eduProj/education-odb.cxx:12:
make[2]: Leaving directory `/root/Documents/project/eduProj'
In file included from /root/Documents/project/eduProj/education-odb.hxx:235,
/root/Documents/project/eduProj/education-odb.ixx:16: error: ‘access’ is not a class or namespace
make[1]: Leaving directory `/root/Documents/project/eduProj'
/root/Documents/project/eduProj/education-odb.ixx:16: error: expected initializer before ‘<’ token
/root/Documents/project/eduProj/education-odb.ixx:24: error: ‘access’ is not a class or namespace
/root/Documents/project/eduProj/education-odb.ixx:24: error: expected initializer before ‘<’ token
/root/Documents/project/eduProj/education-odb.ixx:30: error: ‘access’ is not a class or namespace
/root/Documents/project/eduProj/education-odb.ixx:30: error: expected initializer before ‘<’ token
/root/Documents/project/eduProj/education-odb.ixx:37: error: ‘access’ is not a class or namespace
/root/Documents/project/eduProj/education-odb.ixx:37: error: expected initializer before ‘<’ token
/root/Documents/project/eduProj/education-odb.ixx:44: error: ‘access’ is not a class or namespace
/root/Documents/project/eduProj/education-odb.ixx:44: error: expected initializer before ‘<’ token
/root/Documents/project/eduProj/education-odb.cxx:37: error: ‘mysql’ has not been declared
/root/Documents/project/eduProj/education-odb.cxx:37: error: expected initializer before ‘<’ token
/root/Documents/project/eduProj/education-odb.cxx:43: error: ‘mysql’ has not been declared
/root/Documents/project/eduProj/education-odb.cxx:43: error: expected initializer before ‘<’ token
/root/Documents/project/eduProj/education-odb.cxx:49: error: ‘mysql’ has not been declared
/root/Documents/project/eduProj/education-odb.cxx:49: error: expected initializer before ‘<’ token
/root/Documents/project/eduProj/education-odb.cxx:55: error: ‘mysql’ has not been declared
/root/Documents/project/eduProj/education-odb.cxx:55: error: expected initializer before ‘<’ token
/root/Documents/project/eduProj/education-odb.cxx:61: error: ‘mysql’ has not been declared
/root/Documents/project/eduProj/education-odb.cxx:61: error: expected initializer before ‘<’ token
/root/Documents/project/eduProj/education-odb.cxx:67: error: ‘mysql’ has not been declared
/root/Documents/project/eduProj/education-odb.cxx:67: error: expected initializer before ‘<’ token
/root/Documents/project/eduProj/education-odb.cxx:73: error: ‘mysql’ has not been declared
/root/Documents/project/eduProj/education-odb.cxx:73: error: expected initializer before ‘<’ token
/root/Documents/project/eduProj/education-odb.cxx:79: error: ‘access’ is not a class or namespace
/root/Documents/project/eduProj/education-odb.cxx:79: error: expected constructor, destructor, or type conversion before ‘<’ token
/root/Documents/project/eduProj/education-odb.cxx:92: error: ‘access’ is not a class or namespace
/root/Documents/project/eduProj/education-odb.cxx:92: error: expected initializer before ‘<’ token
/root/Documents/project/eduProj/education-odb.cxx:779: error: expected ‘}’ at end of input


Do anyone know what I have done wrong?


More information about the odb-users mailing list