[Dune] error: ‘GridFactory’ in namespace ‘Dune::Dune’ does not name a template type
Andreas Dedner
a.s.dedner at warwick.ac.uk
Fri Sep 26 12:44:56 CEST 2014
Hi Aleksejs.
Two other things I noticed:
- Use <config.h> instead of "config.h" (at least I think one should do
that...)
- Get your editor to replace tabs with spaces (google it). Opening your
files with vi to check leads to
weird looking indentation).
Best
Andreas
On 26/09/14 11:31, Aleksejs Fomins wrote:
> Thanks, I will :)
>
> On 09/26/2014 12:29 PM, Christian Engwer wrote:
>> On Fri, Sep 26, 2014 at 12:21:19PM +0200, Aleksejs Fomins wrote:
>>> Dear All,
>>>
>>> I have found the error.
>>> I have forgotten to close the bracket after namespace dune {}
>>> Sadly I have insufficient experience to see this from compiler messages.
>>>
>>> I am sorry to have bothered you.
>> as a quick tipp...
>>
>> write
>>
>> namespace Dune {
>>
>> ...
>>
>> } // end namespace Dune
>>
>> this thelps to keep track of closing brackets
>>
>> Christian
>>
>>> Regards,
>>> Aleksejs
>>>
>>> On 09/26/2014 12:06 PM, Aleksejs Fomins wrote:
>>>> Dear Christoph,
>>>>
>>>> Thank you for your reply.
>>>>
>>>> I have checked both all files I have written inside dune-curvilineargrid
>>>> (3 of them). All of them have includes before namespace dune {}
>>>>
>>>> Regards,
>>>> Aleksejs
>>>>
>>>> On 09/26/2014 11:52 AM, Christoph Grüninger wrote:
>>>>> Hi Aleksejs,
>>>>> probably you included a header inside a namespace Dune {}.
>>>>>
>>>>> Bye
>>>>> Christoph
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Dune mailing list
>>>>> Dune at dune-project.org
>>>>> http://lists.dune-project.org/mailman/listinfo/dune
>>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Dune mailing list
>>>> Dune at dune-project.org
>>>> http://lists.dune-project.org/mailman/listinfo/dune
>>>>
>>
>>
>>> _______________________________________________
>>> Dune mailing list
>>> Dune at dune-project.org
>>> http://lists.dune-project.org/mailman/listinfo/dune
>>
>
>
> _______________________________________________
> Dune mailing list
> Dune at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20140926/607f688b/attachment.htm>
More information about the Dune
mailing list