build problem with git trunk

Asked by Chaffra Affouda

Hello,

I am getting the error below from cmake.

CMake Error at dolfin/swig/modules/fem/CMakeLists.txt:31 (file):
  file Internal CMake error when trying to open file:
  /home/chaffra/Projects/Fenics/dolfin.git/dolfin/swig/modules/fem/dependencies.txt
  for reading.

CMake Error at demo/CMakeLists.txt:25 (add_subdirectory):
  The source directory

    /home/chaffra/Projects/Fenics/dolfin.git/demo/la/eigenvalue/cpp

  does not contain a CMakeLists.txt file.

Question information

Language:
English Edit question
Status:
Answered
For:
DOLFIN Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:

This question was reopened

Revision history for this message
Johan Hake (johan-hake) said :
#1

Run:

cmake/scripts/generate-all

Johan
On May 5, 2013 6:01 PM, "Chaffra Affouda" <
<email address hidden>> wrote:

> New question #228202 on DOLFIN:
> https://answers.launchpad.net/dolfin/+question/228202
>
> Hello,
>
> I am getting the error below from cmake.
>
> CMake Error at dolfin/swig/modules/fem/CMakeLists.txt:31 (file):
> file Internal CMake error when trying to open file:
>
> /home/chaffra/Projects/Fenics/dolfin.git/dolfin/swig/modules/fem/dependencies.txt
> for reading.
>
>
> CMake Error at demo/CMakeLists.txt:25 (add_subdirectory):
> The source directory
>
> /home/chaffra/Projects/Fenics/dolfin.git/demo/la/eigenvalue/cpp
>
> does not contain a CMakeLists.txt file.
>
>
> --
> You received this question notification because you are a member of
> DOLFIN Team, which is an answer contact for DOLFIN.
>

Revision history for this message
Chaffra Affouda (chaffra) said :
#2

Thanks Johan Hake, that solved my question.

Revision history for this message
Chaffra Affouda (chaffra) said :
#3

Now I am getting this even after I run generate-all

[ 0%] Building CXX object dolfin/CMakeFiles/dolfin.dir/ale/MeshDisplacement.cpp.o
/home/chaffra/Projects/Fenics/dolfin.git/dolfin/ale/MeshDisplacement.cpp:23:23: fatal error: Poisson1D.h: No such file or directory
compilation terminated.
make[2]: *** [dolfin/CMakeFiles/dolfin.dir/ale/MeshDisplacement.cpp.o] Error 1
make[1]: *** [dolfin/CMakeFiles/dolfin.dir/all] Error 2
make: *** [all] Error 2

Revision history for this message
Anders Logg (logg) said :
#4

FEniCS no longer uses Launchapd for Questions & Answers. Please
consult the documentation on the FEniCS web page for where and
how to (re)post your question: http://fenicsproject.org/support/

Revision history for this message
Anders Logg (logg) said :
#5

FEniCS no longer uses Launchapd for Questions & Answers. Please
consult the documentation on the FEniCS web page for where and
how to (re)post your question: http://fenicsproject.org/support/

Can you help with this problem?

Provide an answer of your own, or ask Chaffra Affouda for more information if necessary.

To post a message you must log in.