Issue building - can't find 'copy_swig_files'?

Issue #292 resolved
Mike Welland created an issue

Hi,

I am trying to compile on a cluster using gcc 4.8.1. When building dolfin (everything else should be in place) I get to 95% and it crashes:

[ 95%] Building CXX object dolfin/CMakeFiles/dolfin.dir/refinement/RivaraRefinement.cpp.o [ 95%] Building CXX object dolfin/CMakeFiles/dolfin.dir/refinement/UniformMeshRefinement.cpp.o [ 95%] Building CXX object dolfin/CMakeFiles/dolfin.dir/refinement/refine.cpp.o Linking CXX shared library libdolfin.so [ 95%] Built target dolfin Scanning dependencies of target copy_swig_files [ 95%] Built target copy_swig_files make[2]: No rule to make target copy_swig_files', needed bydolfin/swig/modules/mesh/modulePYTHON_wrap.cxx'. Stop. make[1]: [dolfin/swig/modules/mesh/CMakeFiles/_mesh.dir/all] Error 2 make: *** [all] Error 2

I am building from a new directory /dolfin/build so as to avoid a similar problem. There is another swig installed in /usr/bin/swig but it is old (1.5.x), so I built 2.12 in my home directory along with much of the others. I went through the CMakeCashe.txt to ensure everything is pointing to the right places and it is, and dolfin, fcc, instant, fiat and ufl were all cloned in the last 24 hours.

Any help would be very much appreciated!

Comments (1)

  1. Log in to comment