On Fri, 31 Oct 2014, John Peterson wrote:

> On Fri, Oct 31, 2014 at 9:03 AM, Lorenzo Zanon
> <[email protected]> wrote:
>
>> The error I'm getting has the form:
>>
>> reduced_basis_ex4.x86_64-unknown-linux-gnu.opt.o: In function
>> `SimpleEIMEvaluation::initialize_eim_theta_objects()':
>> reduced_basis_ex4.C:(.text+0xfe50): multiple definition of
>> `SimpleEIMEvaluation::initialize_eim_theta_objects()'
>> rb_classes.x86_64-unknown-linux-gnu.opt.o:rb_classes.C:(.text+0xf790):
>> first defined here
>>
>> for all the SimpleEIM and SimpleRB functions. How could I fix that?
>
> Make sure all the header files you're using (especially ones you've
> created) have include guards at the top.

That would have been a compile-time failure.  For a linker failure my
suspicion would be that we've got something in the header that's
defined outside the class but not declared inline.
---
Roy

------------------------------------------------------------------------------
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to