dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #06304
Re: IntersectionDetector Error
Looks like you built the interface (with SWIG) using the old headers
(or headers installed on your system) and then compiled against the
new library.
Make sure to touch dolfin.i and remove any DOLFIN headers on your
system. Then try again.
--
Anders
On Mon, Feb 18, 2008 at 03:16:01PM -0500, Gideon Simpson wrote:
> What should I make of this with dolfin 0.7.2:
>
> /opt/bin/mpicxx -DPACKAGE_NAME=\"DOLFIN\" -DPACKAGE_TARNAME=\"dolfin
> \" -DPACKAGE_VERSION=\"0.7.2\" "-DPACKAGE_STRING=\"DOLFIN 0.7.2\"" -
> DPACKAGE_BUGREPORT=\"http://www.fenics.org/bugzilla/\" -
> DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -
> DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -
> DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -
> DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_BOOST= -DHAVE_UMFPACK_H=1 -I.
> -I/System/Library/Frameworks/Python.framework/Versions/2.5/include/
> python2.5 -I../../src/kernel/common -I../../src/kernel/elements -
> I../../src/kernel/fem -I../../src/kernel/function -I../../src/kernel/
> graph -I../../src/kernel/io -I../../src/kernel/la -I../../src/kernel/
> main -I../../src/kernel/math -I../../src/kernel/mesh -I../../src/
> kernel/mf -I../../src/kernel/nls -I../../src/kernel/ode -I../../src/
> kernel/pde -I../../src/kernel/quadrature -I../../src/kernel/parameter -
> I../../src/kernel/log -I../../src/kernel/plot -I/opt/petsc-2.3.3-p8/
> bmake/darwin9.1.0-cxx-debug -I/opt/petsc-2.3.3-p8/include -I/opt/
> include -I/opt/include -I/opt/include -I/opt/slepc-2.3.3 -I/opt/
> slepc-2.3.3/include -I/opt/include/boost-1_34_1 -I/sw/include/libxml2 -
> I/sw/include -I/opt/petsc-2.3.3-p8/externalpackages/UMFPACKv4.3/
> darwin9.1.0-cxx-debug/UMFPACK/Include -I/sw/include/glib-2.0 -I/sw/lib/
> glib-2.0/include -I/opt/include -I../../src/pydolfin -I/System/Library/
> Frameworks/Python.framework/Versions/2.5/include/python2.5 -I/opt/lib/
> python2.5/site-packages/numpy/core/include -DHAVE_MPI_H=1 -
> DMPICH_IGNORE_CXX_SEEK -DHAVE_SLEPC_H=1 -DHAVE_PETSC_H=1 -DNDEBUG -g -
> O2 -fno-strict-aliasing -Wall -Werror -ansi -Wno-uninitialized -MT
> _dolfin_la-dolfin_wrap.lo -MD -MP -MF .deps/_dolfin_la-dolfin_wrap.Tpo
> -c dolfin_wrap.cpp -fno-common -DPIC -o .libs/_dolfin_la-dolfin_wrap.o
> dolfin_wrap.cpp: In function 'PyObject*
> _wrap_new_IntersectionDetector(PyObject*, PyObject*)':
> dolfin_wrap.cpp:77961: error: no matching function for call to
> 'dolfin::IntersectionDetector::IntersectionDetector()'
> ../../src/kernel/mesh/dolfin/IntersectionDetector.h:33: note:
> candidates are:
> dolfin::IntersectionDetector::IntersectionDetector(dolfin::Mesh&)
> ../../src/kernel/mesh/dolfin/IntersectionDetector.h:29:
> note:
> dolfin::IntersectionDetector::IntersectionDetector(const
> dolfin::IntersectionDetector&)
> dolfin_wrap.cpp: In function 'PyObject*
> _wrap_IntersectionDetector_init(PyObject*, PyObject*)':
> dolfin_wrap.cpp:78017: error: 'class dolfin::IntersectionDetector' has
> no member named 'init'
> make[3]: *** [_dolfin_la-dolfin_wrap.lo] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [all-recursive] Error 1
> make: *** [all-recursive] Error 1
>
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/mailman/listinfo/dolfin-dev
Follow ups
References