[Dune] Alberta with Dune

Ansgar Burchardt "Ansgar Burchardt" at 43-1.org
Mon Feb 9 16:04:03 CET 2015


Hi,

I don't use Alberta myself, but I have a suspicion on what might be the
problem:

On 02/09/2015 03:25 PM, Ganesh Diwan wrote:
>     #if HAVE_ALBERTA
>         std::cout << "You have Dune-Alberta" << std::endl;
>     #endif

and from config.log:

  #define HAVE_ALBERTA ENABLE_ALBERTA

Is -DENABLE_ALBERTA=1 included in the compiler flags? You have to add
$(ALBERTA_CPPFLAGS) in the Makefile.am for this, and I think also
ALBERTA_LIBS and ALBERTA_LDFLAGS to the LIBS (LDFLAGS) variables of your
program.

I think you also have to set ALBERTA_DIM in order to have the variables
above refer to the correct libraries.

Ansgar





More information about the Dune mailing list