[aspect-devel] help with compiling plugin

Timo Heister heister at clemson.edu
Thu Aug 4 12:12:02 PDT 2016


Dear Magali,

> bash-3.2$ sudo /Applications/CMake.app/Contents/bin/cmake -D
> Aspect_DIR=$HOME/Research/Src/aspect/build_deal.ii.app/ .

just a comment, you shouldn't need sudo and it is best to avoid it.
This way you are likely to run into permission issues. This is not the
reason for your problems, of course.

> /Users/billen/Research/Aspect-MyModules/material_lookup_compressible.cc:23:
> /Users/billen/Research/Src/aspect/include/aspect/utilities.h:341:43: error:
> use of undeclared identifier 'ASPECT_SOURCE_DIR'
>                                           ASPECT_SOURCE_DIR);

It looks like we broke aspect/utilities.h inside plugins, sorry about
that. If your plugin works without including utilities.h, it should
work. The bug should be fixed with this
https://github.com/geodynamics/aspect/pull/1157

Best,
Timo

-- 
Timo Heister
http://www.math.clemson.edu/~heister/


More information about the Aspect-devel mailing list