Hey Guys, I installed Dealii-9.1.1 successfully. So, I wanted to run step-1 and followed the command lines based on README instruction. But, I have faced an error that you can see as follow:
root@Lenovo-PC:~/math/dealii-9.1.1/examples/step-1# cmake -DDEAL_II_DIR=/root/bin/dealii-9.1.1/ . -- The C compiler identification is GNU 7.4.0 -- The CXX compiler identification is GNU 7.4.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Autopilot invoked ### # # Project step-1 set up with deal.II-9.1.1 found at # /root/math/dealii-9.1.1 # # CMAKE_BUILD_TYPE: Debug # # You can now run # $ make - to compile and link the program # $ make run - to (compile, link and) run the program # # $ make debug - to switch the build type to 'Debug' # $ make release - to switch the build type to 'Release' # # $ make edit_cache - to change (cached) configuration variables # and rerun the configure and generate phases of CMake # # $ make strip_comments - to strip the source files in this # directory off their comments; this is irreversible # $ make clean - to remove the generated executable as well as # all intermediate compilation files # $ make runclean - to remove all output generated by the program # $ make distclean - to clean the directory from _all_ generated # files (includes clean, runclean and the removal # of the generated build system) # $ make info - to view this message again # # Have a nice day! # ### -- Configuring done -- Generating done -- Build files have been written to: /root/math/dealii-9.1.1/examples/step-1 root@Lenovo-PC:~/math/dealii-9.1.1/examples/step-1# make Scanning dependencies of target step-1 [ 50%] Building CXX object CMakeFiles/step-1.dir/step-1.cc.o make[2]: *** No rule to make target '/root/math/dealii-9.1.1/lib/libdeal_II.g.so.9.1.1', needed by 'step-1'. Stop. CMakeFiles/Makefile2:163: recipe for target 'CMakeFiles/step-1.dir/all' failed make[1]: *** [CMakeFiles/step-1.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: *** [all] Error 2 root@Lenovo-PC:~/math/dealii-9.1.1/examples/step-1# make run make[3]: *** No rule to make target '/root/math/dealii-9.1.1/lib/libdeal_II.g.so.9.1.1', needed by 'step-1'. Stop. CMakeFiles/Makefile2:163: recipe for target 'CMakeFiles/step-1.dir/all' failed make[2]: *** [CMakeFiles/step-1.dir/all] Error 2 CMakeFiles/Makefile2:138: recipe for target 'CMakeFiles/run.dir/rule' failed make[1]: *** [CMakeFiles/run.dir/rule] Error 2 Makefile:144: recipe for target 'run' failed make: *** [run] Error 2 Would you please help me? Sincerely, Javad -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You received this message because you are subscribed to the Google Groups "deal.II User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to dealii+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/dae6144f-0fc4-4b00-a2d7-e0627fdc3c8c%40googlegroups.com.