Skip to content

Compiling with recent moose #3

@1runer

Description

@1runer

Dear all,
I updated the moose-version and tried to clone and recompile MeshIt.Unfortunately, I failed with the compilations step.
Please see the attached shell output.

(moose) robert@ubuntu:~/projects/MeshIt$ make
g++ -c -pipe -O2 -w -D_REENTRANT -fPIC -DTRILIBRARY -DEXTERNAL_TEST -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -Iinclude -I. -I../../mambaforge3/envs/moose/libmesh/include -I. -I../../mambaforge3/envs/moose/libmesh/include/libmesh -I../../mambaforge3/envs/moose/include/qt -I../../mambaforge3/envs/moose/include/qt/QtOpenGL -I../../mambaforge3/envs/moose/include/qt/QtWidgets -I../../mambaforge3/envs/moose/include/qt/QtGui -I../../mambaforge3/envs/moose/include/qt/QtCore -I. -I../../mambaforge3/envs/moose/include -I/usr/include/libdrm -I/home/conda/feedstock_root/build_artifacts/qt-main_1654978131729/_build_env/bin/../x86_64-conda-linux-gnu/sysroot/usr/include -I../../mambaforge3/envs/moose/mkspecs/linux-g++ -o geometry.o src/geometry.cpp
In file included from ../../mambaforge3/envs/moose/include/mpi.h:1023,
                 from ../../mambaforge3/envs/moose/libmesh/include/netcdf_par.h:16,
                 from ../../mambaforge3/envs/moose/libmesh/include/libmesh/exodusII.h:45,
                 from include/geometry.h:48,
                 from src/geometry.cpp:33:
../../mambaforge3/envs/moose/include/mpicxx.h:2537:8: error: multiple types in one declaration
 2537 | extern Datatype REAL;
      |        ^~~~~~~~
In file included from include/geometry.h:42,
                 from src/geometry.cpp:33:
include/tetgen.h:32:14: error: declaration does not declare anything [-fpermissive]
   32 | #define REAL double  // #define REAL float
      |              ^~~~~~
include/tetgen.h:32:14: note: in definition of macro ‘REAL’
   32 | #define REAL double  // #define REAL float
      |              ^~~~~~
make: *** [Makefile:2397: geometry.o] Error 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions