getfem-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Getfem-users] Failure in the compilation of Getfem-4.0.0


From: Gianluca Moro
Subject: Re: [Getfem-users] Failure in the compilation of Getfem-4.0.0
Date: Sun, 20 Sep 2009 14:32:12 +0200

Hi all,



2009/9/20 Clair Poignard <address@hidden>:
> Dear Yves,
>
> thanks a lot for your advices. Actually I am working on MacOSX 10.5.8. I use
> the compiler gcc I think...I don't know why such error occurs.
>

I tried to compile the svn snapshot of getfem on Mac OX 10.6 (Snow
Leopard) with:
~ $ uname -a
Darwin nemesis.local 10.0.0 Darwin Kernel Version 10.0.0: Fri Jul 31
22:47:34 PDT 2009; root:xnu-1456.1.25~1/RELEASE_I386 i386
~ $ gcc -V
gcc-4.0: argument to `-V' is missing
~ $ gcc -v
Using built-in specs.
Target: i686-apple-darwin10
Configured with: /var/tmp/gcc_40/gcc_40-5493~95/src/configure
--disable-checking -enable-werror --prefix=/usr --mandir=/share/man
--enable-languages=c,objc,c++,obj-c++
--program-transform-name=/^[cg][^.-]*$/s/$/-4.0/
--with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib
--build=i686-apple-darwin10 --with-arch=apple --with-tune=generic
--host=i686-apple-darwin10 --target=i686-apple-darwin10
Thread model: posix
gcc version 4.0.1 (Apple Inc. build 5493)
~ $

I got the same errors (version 3.1 of getfem compiles correctly)

I'll try to verify the reason of the failure in the near future, as I'd like
to have it working on MacOS, but at the moment I'm working on Linux
(where everything goes well).

bye
Gianluca


> Best regards
>
> Clair
>
> Renard Yves a écrit :
>>
>>
>> Dear Clair.
>>
>> Strange, 'uint' is an alias for 'unsigned int' in c. I never heard that it
>> was deprecated.
>> What compiler do you use ?
>> Of course, you can replace 'uint' by 'unsigned' and it should work.
>>
>> Yves.
>>
>>
>> Clair Poignard <address@hidden> a écrit :
>>
>>     Hello,
>>
>> I am trying to compile the latest version of getfem. When I type
>> make, the following errors appear. I am looking in the  file
>> getfem_interpotated _fem.cc and it seems there is a problem with uint,
>> which is not declared...Am I doing something wrong (I am working on
>> macOSX)?
>>
>> Best regards,
>>
>> Clair
>> PS: I had no pb with the last version 3.1
>>
>> getfem_interpolated_fem.cc: In member function 'virtual void
>> getfem::interpolated_fem::real_base_value(const
>> getfem::fem_interpolation_context&, bgeot::base_tensor&, bool) const':
>> getfem_interpolated_fem.cc:208: error: 'uint' was not declared in
>> this scope
>> getfem_interpolated_fem.cc:208: error: expected `;' before 'rdim'
>> getfem_interpolated_fem.cc:213: error: 'rdim' was not declared in
>> this scope
>> getfem_interpolated_fem.cc:215: error: 'mdim' was not declared in
>> this scope
>> getfem_interpolated_fem.cc:222: error: 'uint' was not declared in
>> this scope
>> getfem_interpolated_fem.cc:222: error: expected `;' before 'rdim'
>> getfem_interpolated_fem.cc:230: error: 'rdim' was not declared in
>> this scope
>> getfem_interpolated_fem.cc:230: error: 'mdim' was not declared in
>> this scope
>> getfem_interpolated_fem.cc: In member function 'virtual void
>> getfem::interpolated_fem::real_grad_base_value(const
>> getfem::fem_interpolation_context&, bgeot::base_tensor&, bool) const':
>> getfem_interpolated_fem.cc:260: error: 'uint' was not declared in
>> this scope
>> getfem_interpolated_fem.cc:260: error: expected `;' before 'rdim'
>> getfem_interpolated_fem.cc:268: error: 'rdim' was not declared in
>> this scope
>> getfem_interpolated_fem.cc:273: error: 'mdim' was not declared in
>> this scope
>> getfem_interpolated_fem.cc:274: error: 'mdim' was not declared in
>> this scope
>> getfem_interpolated_fem.cc:279: error: 'rdim' was not declared in
>> this scope
>> getfem_interpolated_fem.cc:282: error: 'mdim' was not declared in
>> this scope
>> getfem_interpolated_fem.cc:295: error: 'uint' was not declared in
>> this scope
>> getfem_interpolated_fem.cc:295: error: expected `;' before 'rdim'
>> getfem_interpolated_fem.cc:305: error: 'rdim' was not declared in
>> this scope
>> getfem_interpolated_fem.cc:305: error: 'mdim' was not declared in
>> this scope
>> getfem_interpolated_fem.cc:317: error: 'rdim' was not declared in
>> this scope
>> getfem_interpolated_fem.cc:317: error: 'mdim' was not declared in
>> this scope
>> make[2]: *** [getfem_interpolated_fem.lo] Error 1
>> make[1]: *** [all-recursive] Error 1
>> make: *** [all] Error 2
>>
>>
>>
>>
>
>
> _______________________________________________
> Getfem-users mailing list
> address@hidden
> https://mail.gna.org/listinfo/getfem-users
>
>



-- 
Gianluca Moro                  http://www.giammy.com
Ph.D. Student                   http://www.math.unipd.it/~giammy/
Department of Pure and Applied Mathematics - University of Padova



reply via email to

[Prev in Thread] Current Thread [Next in Thread]