<div dir="ltr"><div class="gmail_extra"><div><br></div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">Is -DENABLE_ALBERTA=1 included in the compiler flags? You have to add<br>
$(ALBERTA_CPPFLAGS) in the Makefile.am for this, and I think also<br>
ALBERTA_LIBS and ALBERTA_LDFLAGS to the LIBS (LDFLAGS) variables of your<br>
program.</blockquote><div><br><br></div><div>My Makefile has<br><br>ALBERTA1D_CPPFLAGS = $(ALBERTA_INCLUDE_CPPFLAGS) -DALBERTA_DIM=1 -DENABLE_ALBERTA<br>ALBERTA1D_LDFLAGS = <br>ALBERTA1D_LIBS = $(DUNE_GRID_LIBDIR)/<a href="http://libdunealbertagrid_1d.la">libdunealbertagrid_1d.la</a> $(DUNE_GRID_LIBDIR)/<a href="http://libdunegrid.la">libdunegrid.la</a> $(ALBERTA_LIBPATHFLAGS) -lalberta_1d $(ALBERTA_BASE_LIBS)<br>ALBERTA2D_CPPFLAGS = $(ALBERTA_INCLUDE_CPPFLAGS) -DALBERTA_DIM=2 -DENABLE_ALBERTA<br>ALBERTA2D_LDFLAGS = <br>ALBERTA2D_LIBS = $(DUNE_GRID_LIBDIR)/<a href="http://libdunealbertagrid_2d.la">libdunealbertagrid_2d.la</a> $(DUNE_GRID_LIBDIR)/<a href="http://libdunegrid.la">libdunegrid.la</a> $(ALBERTA_LIBPATHFLAGS) -lalberta_2d $(ALBERTA_BASE_LIBS)<br>ALBERTA3D_CPPFLAGS = $(ALBERTA_INCLUDE_CPPFLAGS) -DALBERTA_DIM=3 -DENABLE_ALBERTA<br>ALBERTA3D_LDFLAGS = <br>ALBERTA3D_LIBS = $(DUNE_GRID_LIBDIR)/<a href="http://libdunealbertagrid_3d.la">libdunealbertagrid_3d.la</a> $(DUNE_GRID_LIBDIR)/<a href="http://libdunegrid.la">libdunegrid.la</a> $(ALBERTA_LIBPATHFLAGS) -lalberta_3d $(ALBERTA_BASE_LIBS)<br><br></div><div>Should this not suffice?<br></div><div><br></div><div>Thanks<br>G<br></div><div> </div><div class="gmail_quote">On Mon, Feb 9, 2015 at 3:04 PM, Ansgar Burchardt <span dir="ltr"><<a href="mailto:"Ansgar Burchardt"@43-1.org" target="_blank">"Ansgar Burchardt"@43-1.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">-DENABLE_ALBERTA</blockquote></div><br><br></div></div>