[Dune] linker error in dune-grid-howto using dune-algrid module ?

Benedikt Oswald benedikt.oswald at lspr.ch
Thu Dec 11 17:22:28 CET 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Dear Dune,

I am currently converting a projecct to cmake build and I also use,
newly, the dune-alugrid module.
Now, it seems I get a linker error in th dune-grid-howto, although I am
using the newest, bleeding
edge versons of all dune-modules. I seem to rememeber that some weeks
ago there was something
mentioned on the mailing list. I would appreciate some hint.

Thanks and greetings, Benedikt

=================================

Scanning dependencies of target adaptivefinitevolume
[  0%] Building CXX object
CMakeFiles/adaptivefinitevolume.dir/adaptivefinitevolume.cc.o
Linking CXX executable adaptivefinitevolume
[  0%] Built target adaptivefinitevolume
Scanning dependencies of target adaptiveintegration
[  0%] Building CXX object
CMakeFiles/adaptiveintegration.dir/adaptiveintegration.cc.o
In file included from
/Users/oswald/gitwork/hades-pure-dune/dune-alugrid/dune/alugrid/3d/alu3dinclude.hh:47:0,
                 from
/Users/oswald/gitwork/hades-pure-dune/dune-alugrid/dune/alugrid/3d/indexsets.hh:13,
                 from
/Users/oswald/gitwork/hades-pure-dune/dune-alugrid/dune/alugrid/3d/alugrid.hh:6,
                 from
/Users/oswald/gitwork/hades-pure-dune/dune-alugrid/dune/alugrid/grid.hh:16,
                 from
/Users/oswald/gitwork/hades-pure-dune/dune-grid-howto/unitcube_alugrid.hh:15,
                 from
/Users/oswald/gitwork/hades-pure-dune/dune-grid-howto/unitcube.hh:57,
                 from
/Users/oswald/gitwork/hades-pure-dune/dune-grid-howto/adaptiveintegration.cc:10:
/Users/oswald/gitwork/hades-pure-dune/dune-alugrid/dune/alugrid/impl/duneinterface/gitter_dune_impl.h:44:9:
warning: defaulted move assignment for ‘ALUGrid::GitterDuneBasis’ calls
a non-trivial move assignment operator for virtual base
‘ALUGrid::GitterBasis’ [-Wvirtual-move-assign]
   class GitterDuneBasis :  public virtual GitterBasis
         ^
Linking CXX executable adaptiveintegration
Undefined symbols for architecture x86_64:
  "_deflate", referenced from:
      ALUGrid::writeBinary(std::basic_ostream<char,
std::char_traits<char> >&, void const*, unsigned long long,
ALUGrid::BinaryFormat) in libdunealugrid.a(binaryio.cc.o)
  "_deflateEnd", referenced from:
      ALUGrid::writeBinary(std::basic_ostream<char,
std::char_traits<char> >&, void const*, unsigned long long,
ALUGrid::BinaryFormat) in libdunealugrid.a(binaryio.cc.o)
  "_deflateInit_", referenced from:
      ALUGrid::writeBinary(std::basic_ostream<char,
std::char_traits<char> >&, void const*, unsigned long long,
ALUGrid::BinaryFormat) in libdunealugrid.a(binaryio.cc.o)
  "_inflate", referenced from:
      ALUGrid::readBinary(std::basic_istream<char,
std::char_traits<char> >&, void*, unsigned long long,
ALUGrid::BinaryFormat) in libdunealugrid.a(binaryio.cc.o)
  "_inflateEnd", referenced from:
      ALUGrid::readBinary(std::basic_istream<char,
std::char_traits<char> >&, void*, unsigned long long,
ALUGrid::BinaryFormat) in libdunealugrid.a(binaryio.cc.o)
  "_inflateInit_", referenced from:
      ALUGrid::readBinary(std::basic_istream<char,
std::char_traits<char> >&, void*, unsigned long long,
ALUGrid::BinaryFormat) in libdunealugrid.a(binaryio.cc.o)
  "_zError", referenced from:
      ALUGrid::readBinary(std::basic_istream<char,
std::char_traits<char> >&, void*, unsigned long long,
ALUGrid::BinaryFormat) in libdunealugrid.a(binaryio.cc.o)
      ALUGrid::writeBinary(std::basic_ostream<char,
std::char_traits<char> >&, void const*, unsigned long long,
ALUGrid::BinaryFormat) in libdunealugrid.a(binaryio.cc.o)
ld: symbol(s) not found for architecture x86_64


- -- 
-
------------------------------------------------------------------------------------------------
Dr. sc. techn. Benedikt Oswald - first engineer - LSPR AG - phone - +41
43 366 90 74
Technoparkstrasse 1, CH-8005 Zürich, benedikt.oswald at lspr.ch - labor
vincit omnia improbus
-
------------------------------------------------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
Comment: GPGTools - https://gpgtools.org

iQIcBAEBCgAGBQJUicTEAAoJEGKSU6bu8uNw6lsP+wYoh/A2AcwilpudlLk5r/bQ
LC+66ExR6pamkp3ssVF9QvfEkvsWmsWRN/kwAzpk1EPIEkxpFAd3j+N+HxkH65Kl
lBCg3wag3YkO2u0kJUzsbRR7NA2k/5f8shECYlKpdXkGeq+igWVsU8gGU2yOjqVU
1X7NyrMDEmXwkIcDoWbPfCuTnM3932wtvvmvnF9cDZacpGX2z0vDhlDf6QXN9csF
fLO70LSKTYq8Uq/Dc5B8ke++nBTUMhNDLG8Mxd9UiZVi0CkQiHPB57O+jo+Vpvy2
yzoyT67U2PMM/Jmi1EzZYTRAUog9wafq2PdBCBBhvFOrAt3bxBXzMQdsG2mL+xye
UsAqleXWQASmcy/W/iFXxYlEZQJ4Xtp8UT3RH/0JdlSlcDBqRXyxa68DHIDcVxiv
4O7WLaecgtzr4HDczzdQw8iZwUIdzAkS9Blnah7hHMkQua0Oya1Gr5rlPC9gz7XC
lWp0nv54obJqQHfYI6iPcokh6k0cSHXhj3tj2si9/R2Gs1HzR3bmbiIAoCfxxaK0
U/qcK8tFEH/xjrFsmj8pEJQohdCKKBbDiElKHIuOJPQVwqfXSO779Lub3agruqbk
TgjH22ISfGcUb4MeEMI0NqlP28SBCGL0psRMzfRTDWUq82z998yPNnTbH3oETKSx
qxMzhgAXMdUa9F2LdtQh
=0sD2
-----END PGP SIGNATURE-----





More information about the Dune mailing list