i'm trying to add some capability to my Elmer build and am having make error problems. My setup is:
Cmake 3.13.2 compiled with Qt5.11.3
Elmerfem-8.4 of Jan 11 2019 source file
Cmake generates the MakeFile fine but when I run make I get the follow error:
Code: Select all
[ 63%] Built target ElmerGUI_autogen [ 63%] Building CXX object ElmerGUI/Application/CMakeFiles/ElmerGUI.dir/cad/cadview.cpp.o [ 63%] Building CXX object ElmerGUI/Application/CMakeFiles/ElmerGUI.dir/ElmerGUI_autogen/mocs_compilation.cpp.o In file included from /home/gary/Elmer/build/ElmerGUI/Application/ElmerGUI_autogen/mocs_compilation.cpp:2: /home/gary/Elmer/build/ElmerGUI/Application/ElmerGUI_autogen/45M7AGRP2H/moc_axes.cpp:15:2: error: #error "This file was generated using the moc from 5.11.3. It" #error "This file was generated using the moc from 5.11.3. It" ^~~~~ /home/gary/Elmer/build/ElmerGUI/Application/ElmerGUI_autogen/45M7AGRP2H/moc_axes.cpp:16:2: error: #error "cannot be used with the include files from this version of Qt." #error "cannot be used with the include files from this version of Qt." ^~~~~ /home/gary/Elmer/build/ElmerGUI/Application/ElmerGUI_autogen/45M7AGRP2H/moc_axes.cpp:17:2: error: #error "(The moc has changed too much.)" #error "(The moc has changed too much.)"
Any help will be sincerely appreciated