[Gmsh] compiling gmsh on Aix gets error

Christophe Geuzaine cag32 at case.edu
Mon Feb 27 23:48:38 CET 2006


Tiong Lim wrote:
> I am trying to compile gmsh 1.63.2 on aix 5.3 using xlc/xlC (V7.0) . 
> Unfortunately I am getting the error below . Anyone come across this and 
> have a fix ?

Since the error is in Netgen, you can try to compile without Netgen, i.e.

./configure --disable-netgen
make clean
make


>       xlC_r -q64 -g -D_BSD -DHAVE_NO_DLL -DHAVE_GSL -DHAVE_MATH_EVAL 
> -DHAVE_NETGEN -DHAVE_METIS -DHAVE_ANN_   -I/usr/local/include 
> -I../../Common -Ilibsrc/include -Ilibsrc/interface -DNO_PARALLEL_THREADS 
> -UWIN32 -c libsrc/gprim/transform3d.cpp -o libsrc/gprim/transform3d.o
> "libsrc/gprim/transform3d.cpp", line 100.3: 1540-0218 (S) The call does 
> not match any parameter list for "::netgen::CalcInverse".
> "libsrc/include/../gprim/geomfuncs.hpp", line 92.13: 1540-1283 (I) 
> "netgen::CalcInverse(const Mat<2,2> &, Mat<2,2> &)" is not a viable 
> candidate.
> "libsrc/gprim/transform3d.cpp", line 100.26: 1540-0256 (I) A parameter 
> of type "const netgen::Mat<2,2> &" cannot be initialized with an 
> expression of type "netgen::DenseMatrix".
> "libsrc/include/../gprim/geomfuncs.hpp", line 108.6: 1540-1283 (I) 
> "netgen::CalcInverse(const Mat<3,3> &, Mat<3,3> &)" is not a viable 
> candidate.
> "libsrc/gprim/transform3d.cpp", line 100.26: 1540-0256 (I) A parameter 
> of type "const netgen::Mat<3,3> &" cannot be initialized with an 
> expression of type "netgen::DenseMatrix".
> "libsrc/include/../gprim/geomfuncs.hpp", line 110.13: 1540-1283 (I) 
> "netgen::CalcInverse(const Mat<2,3> &, Mat<3,2> &)" is not a viable 
> candidate.
> "libsrc/gprim/transform3d.cpp", line 100.26: 1540-0256 (I) A parameter 
> of type "const netgen::Mat<2,3> &" cannot be initialized with an 
> expression of type "netgen::DenseMatrix".
> "libsrc/include/../gprim/geomfuncs.hpp", line 120.13: 1540-1283 (I) 
> "netgen::CalcInverse(const Mat<3,2> &, Mat<2,3> &)" is not a viable 
> candidate.
> "libsrc/gprim/transform3d.cpp", line 100.26: 1540-0256 (I) A parameter 
> of type "const netgen::Mat<3,2> &" cannot be initialized with an 
> expression of type "netgen::DenseMatrix".
> "libsrc/include/../linalg/densemat.hpp", line 131.15: 1540-1298 (I) 
> "void CalcInverse(const DenseMatrix &, DenseMatrix &)" needs to be 
> declared in the containing scope to be found by name lookup.
> make: The error code from the last command is 1.
> 
> 
> Stop.
> make: The error code from the last command is 2.
> 
> Tiong
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh
> 


-- 
Christophe Geuzaine
Assistant Professor, Case Western Reserve University, Mathematics
http://www.case.edu/artsci/math/geuzaine