Dear Long CHENG,

Are you sure you did not mix the source files with some more recent files (git repository files). Normally in 5.2 version, the line should be

/bgeot::pgeometric_trans pgt = bgeot::pyramidal_geotrans(1);

(pyramidal instead of pyramid now).

Best regards,

Yves

/
Le 07/11/2017 à 17:58, Long Cheng a écrit :

Dear Colleagues

I would like to become a new GetFem user and am trying to install the latest stable version getfem-5.2 whose sources have been downloaded from the official website. However, some errors appear during the installation for which I cannot find a solution. Could you please help me to look at it? Thanks in advance.

Specifically, the source has been configured, but during the compilation step:

/$ make/

the errors are described as follows:

//Applications/Xcode.app/Contents/Developer/usr/bin/make all-recursive/

/Making all in m4/

/make[2]: Nothing to be done for `all'./

/Making all in cubature/

/make[2]: Nothing to be done for `all'./

/Making all in superlu/

/make[2]: Nothing to be done for `all'./

/Making all in src/

/make[2]: Nothing to be done for `all'./

/Making all in tests/

/make[2]: Nothing to be done for `all'./

/Making all in interface/

/Making all in src/

/Making all in ./

//bin/sh ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../interface/src -I../.. -I../../../src -I../../src -DGMM_USES_BLAS -DGMM_USES_BLAS_INTERFACE -DGMM_USES_LAPACK -I/usr/local/include  -O3 -Wall -W -fmessage-length=0 -fvisibility-inlines-hidden -ftemplate-depth-100 -std=c++11 -fPIC -pedantic -Wshadow -Wno-terminate -Wno-implicit-fallthrough -Wno-unknown-pragmas -Wno-variadic-macros -Wno-unused-but-set-variable -Wpointer-arith -Wcast-qual -Wwrite-strings -Wconversion -Wredundant-decls -Wno-long-long -MT gf_mesh.lo -MD -MP -MF .deps/gf_mesh.Tpo -c -o gf_mesh.lo gf_mesh.cc/

/libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../../interface/src -I../.. -I../../../src -I../../src -DGMM_USES_BLAS -DGMM_USES_BLAS_INTERFACE -DGMM_USES_LAPACK -I/usr/local/include -O3 -Wall -W -fmessage-length=0 -fvisibility-inlines-hidden -ftemplate-depth-100 -std=c++11 -fPIC -pedantic -Wshadow -Wno-terminate -Wno-implicit-fallthrough -Wno-unknown-pragmas -Wno-variadic-macros -Wno-unused-but-set-variable -Wpointer-arith -Wcast-qual -Wwrite-strings -Wconversion -Wredundant-decls -Wno-long-long -MT gf_mesh.lo -MD -MP -MF .deps/gf_mesh.Tpo -c gf_mesh.cc  -fno-common -DPIC -o gf_mesh.o/

/gf_mesh.cc: In function 'void pyramidal_mesh(getfem::mesh*, getfemint::mexargs_in&)':/

/gf_mesh.cc:136:33: error: 'pyramid_geotrans' is not a member of 'bgeot'/

/bgeot::pgeometric_trans pgt = bgeot::pyramid_geotrans(1);/

/^/

/At global scope:/

/cc1plus: warning: unrecognized command line option "-Wno-implicit-fallthrough"/

/cc1plus: warning: unrecognized command line option "-Wno-terminate"/

/make[4]: *** [gf_mesh.lo] Error 1/

/make[3]: *** [all-recursive] Error 1/

/make[2]: *** [all-recursive] Error 1/

/make[1]: *** [all-recursive] Error 1/

/make: *** [all] Error 2/

Thanks again in advance for your kind response.

Yours sincerely

--
Long CHENG
ENSG - Université de Lorraine <http://ensg.univ-lorraine.fr/>
GeoRessources - UMR 7359 <http://georessources.univ-lorraine.fr/>
2, Rue du Doyen Marcel Roubault
54505 Vandoeuvre-lès-Nancy cedex, FRANCE
TEL: +33 3 72 74 45 58


--

  Yves Renard ([email protected])       tel : (33) 04.72.43.87.08
  Pole de Mathematiques, INSA-Lyon             fax : (33) 04.72.43.85.29
  20, rue Albert Einstein
  69621 Villeurbanne Cedex, FRANCE
  http://math.univ-lyon1.fr/~renard

---------

Reply via email to