After pulling the latest changeset, I get the following error when building:
dolfin/swig/dolfin_wrap.cc: In function "PyObject* _wrap_PETScVector_createScatterer(PyObject*, PyObject*)": dolfin/swig/dolfin_wrap.cc:40294: fel: "createScatterer" har inte en medlem av "dolfin::PETScVector" dolfin/swig/dolfin_wrap.cc: In function "PyObject* _wrap_PETScVector_gather(PyObject*, PyObject*)": dolfin/swig/dolfin_wrap.cc:40365: fel: "gather" har inte en medlem av "dolfin::PETScVector" dolfin/swig/dolfin_wrap.cc: In function "PyObject* _wrap_PETScVector_scatter(PyObject*, PyObject*)": dolfin/swig/dolfin_wrap.cc:40436: fel: "scatter" har inte en medlem av "dolfin::PETScVector" dolfin/swig/dolfin_wrap.cc: In function "PyObject* _wrap_PETScVector_fromArray(PyObject*, PyObject*)": dolfin/swig/dolfin_wrap.cc:40510: fel: "fromArray" har inte en medlem av "dolfin::PETScVector" dolfin/swig/dolfin_wrap.cc: In function "PyObject* _wrap_PETScVector_toArray(PyObject*, PyObject*)": dolfin/swig/dolfin_wrap.cc:40584: fel: "toArray" har inte en medlem av "dolfin::PETScVector" scons: *** [dolfin/swig/dolfin_wrap.os] Error 1 scons: building terminated because of errors. The problem is obviously that dolfin_wrap.cc needs to be regenerated after an interface change. Why is this not detected by the build system? Having to touch dolfin.i was one of the annoyances with the old build system. Even that didn't help. I had to remove dolfin_wrap.cc. Then dolfin_wrap.cc is regenerated and everything works fine. How can this be fixed? -- Anders _______________________________________________ DOLFIN-dev mailing list [email protected] http://www.fenics.org/mailman/listinfo/dolfin-dev
