[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Getfem-users] uintcompilation problem on Mac OS 10.6.3
From: |
Phil Cummins |
Subject: |
[Getfem-users] uintcompilation problem on Mac OS 10.6.3 |
Date: |
Wed, 7 Apr 2010 14:01:57 +1000 |
Hello,
I am trying to install getfem4.0.0 on my iMac that is running Mac Os 10.6.3. My
apologies for not thanking Yves to my earlier configuration problem. Configure
can now find the blas library using the "--with-blas" option.
My problem is described below, but I just noticed it was posted to the list in
Sept. Has anyone found a way around the problem?
...
However, I now seem to be running into a compilation problem. My gcc version
is:
% gcc -v
Using built-in specs.
Target: i686-apple-darwin10
Configured with: /var/tmp/gcc/gcc-5646.1~2/src/configure --disable-checking
--enable-werror --prefix=/usr --mandir=/share/man
--enable-languages=c,objc,c++,obj-c++
--program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib
--build=i686-apple-darwin10 --with-gxx-include-dir=/include/c++/4.2.1
--program-prefix=i686-apple-darwin10- --host=x86_64-apple-darwin10
--target=i686-apple-darwin10
Thread model: posix
gcc version 4.2.1 (Apple Inc. build 5646) (dot 1)
I think this should be compiling 64-bit code, and I want to use the Python
interface and my Python is 64-bit.
Everything seems fine until 'make' tries to compile getfem_interpolated_fem.cc:
% g++ -m64 -DHAVE_CONFIG_H -I. -I.. -I../src -I../src -I.. -DGMM_USES_BLAS
-DGMM_USES_LAPACK -O3 -Wall -W -fmessage-length=0 -ftemplate-depth-40 -pedantic
-Wshadow -Wpointer-arith -Wcast-qual -Wwrite-strings -Wconversion
-Wredundant-decls -Wno-long-long -MT getfem_interpolated_fem.lo -MD -MP -MF
.deps/getfem_interpolated_fem.Tpo -c getfem_interpolated_fem.cc -fno-common
-DPIC -o .libs/getfem_interpolated_fem.o
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
Can anyone please suggest any way around this problem?
Thanks,
Phil
- [Getfem-users] uintcompilation problem on Mac OS 10.6.3,
Phil Cummins <=