[odb-users] Compile Error using Hello Example

Boris Kolpackov boris at codesynthesis.com
Thu Jul 19 03:41:20 EDT 2012


Hi Sukhbir,

Sukhbir Singh <linux_sle at yahoo.co.uk> writes:

> This error also results if the example in "hello" folder is compiled 
> following the instructions in the manual. Running "c++ -c person-odb.cxx"
> compiles with no error. However, running "c++ -c driver.cxx" results in
> an error with the message 'db' is out of scope.

Can you show the complete error message that you see (i.e., everything
from the "c++ -c driver.cxx" command until the shell prompt).

Also, can you send the output of these two commands:

c++ --version
g++ --version

Boris



More information about the odb-users mailing list