[odb-users] Netbeans build error

Boris Kolpackov boris at codesynthesis.com
Wed Feb 16 09:09:39 EST 2011


Hi Bright,

Bright Dadson <losintikfos at yahoo.co.uk> writes:

> Quick one though! I can compile Driver.cpp without any issues, but if i 
> right-click on the project name and select Build, I end up with below 
> exception. Do you know what what could be the issue?

Most likely you are linking-in the same object file twice or include
.cpp file somewhere instead of .h. I tried to compile and link (using
the g++ command line, not your project) just these three files: Member.cpp
Member-odb.cxx, and Driver.cpp, and everything links without any issues.

Boris



More information about the odb-users mailing list