[Dune-devel] Dune Exceptions
Maikel Nadolski
nadolski at math.fu-berlin.de
Wed Mar 16 09:47:18 CET 2016
Have you linked the executable with the dune-common library archive?
Doesnt seem so to me, because the linker tells you that he cant find the
required symbol.
When you only build the core modules you compile AFAIK static archives
like libdunecommon.a. The easiest way is to install them locally with
root privileges and make them available in your `/usr/local` paths. Tell
your compiler (linker) to link with the archive with `-ldunecommon`
On 03/16/2016 09:37 AM, Srinivas Kumar wrote:
>
> Hi,
>
> I'm trying to compile getting-started.cc from dune-grid-howto and I'm
> getting the error.
>
> I've added the dune/common/exceptions.hh in the include statements and
> still its not working.
>
> gettingstarted.cc:(.text._ZN4Dune9ExceptionC2Ev[_ZN4Dune9ExceptionC5Ev]+0x1c):
> undefined reference to `Dune::Exception::_hook'
>
> Please help.
>
> Thanks in advance,
> Srinivas.K
>
>
> --
> its now or never
>
>
> _______________________________________________
> Dune-devel mailing list
> Dune-devel at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune-devel
>
More information about the Dune-devel
mailing list