Closed pierrepebay closed 2 months ago
please fix the description which you clearly copied and pasted but some things are not applicable, for example mkdir build and install
Dstanmath_DIR
this is not what we talked about , why are you using this rather than a differnt name like we discussed to make it more clear that we want the path to the headers?
I am not asking to change this yet, just asking why you did it this way
Dstanmath_DIR
this is not what we talked about , why are you using this rather than a differnt name like we discussed to make it more clear that we want the path to the headers? I am not asking to change this yet, just asking why you did it this way
I hesitated doing this, but the main reason is that you must point to the root level of the stanmath source, not the directory where the actual header is:
math-2.18.0
|- ... other dirs
|-stan/
|-math/
|-math.hpp
because in MUQ source, using stanmath is done through includes of the form: #include <stan/math/...>
.
I thought this naming would make it clear to just point to the root of source (math-2.18.0/
) and not math-2.18.0/stan
. But I am open to using an other name if not clear!
What I did to obtain stanmath:
How I used this build with MUQ: