I recently had to completely reinstall my Ubuntu OS and getting Elmer up and running as the last item on my list. I configured and generated using cmake with no errors. I ran make -j4 from the top directory. Make got through about 25% of the compile and link and stopped with the following error:
# The main all target
all: cmake_check_build_system
cd /home/gary/Elmer/build && $(CMAKE_COMMAND) -E cmake_progress_start /home/gary/Elmer/build/CMakeFiles /home/gary/Elmer/build/ElmerGUI/netgen/CMakeFiles/progress.marks
cd /home/gary/Elmer/build && $(MAKE) -f CMakeFiles/Makefile2 ElmerGUI/netgen/all
$(CMAKE_COMMAND) -E cmake_progress_start /home/gary/Elmer/build/CMakeFiles 0
.PHONY : all
Gary,
-Are you using cmake-gui or terminal based commands for cmake? Try with cmake-gui. If something fails, untick the library which cannot be compiled and recompile again. Find the minimal configuration that can be compiled with the available libraries and setup or build essentials in your system.
-When one configuration fails, please be sure to wipe out all the pre-exisiting build, before starting next configuration.
Yours Sincerely,
Anil Kunwar
Last edited by annier on 06 Dec 2017, 14:50, edited 1 time in total.
Anil Kunwar
Faculty of Mechanical Engineering, Silesian University of Technology, Gliwice
Thank you Annier. Switching off the Elmertester module cleared the problem. I have now found that inclusion of either the tester module or the contrubutor module cause errors in either CMakeGUI configure or in the final make run. BUGS?