[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: project progress
From: |
c. |
Subject: |
Re: project progress |
Date: |
Thu, 12 Sep 2013 12:29:54 +0200 |
On 12 Sep 2013, at 12:27, c. <address@hidden> wrote:
>
> On 12 Sep 2013, at 11:46, marco Vassallo <address@hidden> wrote:
>
>> Ok thanks,
>>
>> On my systems the HyperElasticity examples work fine.
>> I'm sure that the error is generated because of the form.h file is not
>> included.
>> In fact, I can reproduce your error if I delete the form.h file.
>
> I tried to run the makefile from the shell:
>
> ----------------------------------------
> Elasticity$ make -f Makefile_HyperElasticity
>
> mkoctfile HyperElasticity_BilinearForm.cc
> -I/Users/carlo/octave/fem-fenics-0.0.0/private/ -I. -ldolfin
> HyperElasticity_BilinearForm.cc: In function ‘octave_value_list
> FHyperElasticity_BilinearForm(const octave_value_list&, int)’:
> HyperElasticity_BilinearForm.cc:24: error: ‘form_type_loaded’ was not
> declared in this scope
> HyperElasticity_BilinearForm.cc:26: error: ‘form’ has not been declared
> HyperElasticity_BilinearForm.cc:85: error: expected type-specifier before
> ‘form’
> HyperElasticity_BilinearForm.cc:85: error: expected `;' before ‘form’
> make: *** [HyperElasticity_BilinearForm.oct] Error 1
> ----------------------------------------
>
> but the file form.h is in /Users/carlo/octave/fem-fenics-0.0.0/private/:
>
> ----------------------------------------
> Elasticity$ ls /Users/carlo/octave/fem-fenics-0.0.0/private/
> Plot_2d.h boundarycondition.h expression.h
> function.h generate_fs.m generate_lhs.m
> generate_rhs.m
> Plot_3d.h coefficient.h form.h
> functionspace.h generate_fun.m generate_makefile.m mesh.h
>
> Elasticity$
> ----------------------------------------
>
> so the problem is something else.
>
> c.
It seems the problem is with the parsing of options by mkoctfile, because the
following works:
CPPFLAGS=-I/Users/carlo/octave/fem-fenics-0.0.0/private/:${CPPFLAGS} mkoctfile
HyperElasticity_BilinearForm.cc -I. -ldolfin
c.
- RE: project progress, (continued)
- Re: project progress, c., 2013/09/12
- RE: project progress, marco Vassallo, 2013/09/12
- Re: project progress, c., 2013/09/12
- RE: project progress, marco Vassallo, 2013/09/12
- Re: project progress, c., 2013/09/12
- Message not available
- Re: project progress, c., 2013/09/12
- Re: project progress, c., 2013/09/12
- Re: project progress,
c. <=
- Re: project progress, c., 2013/09/12
- RE: project progress, marco Vassallo, 2013/09/12
- Re: project progress, c., 2013/09/12
- Re: project progress, c., 2013/09/12