← Back to team overview

dolfin team mailing list archive

Re: dolfin-csg branch

 

>>   demo/undocumented/csg/cpp/main.cpp: In function ‘int main()’:
>>   demo/undocumented/csg/cpp/main.cpp:37:44: error: no match for
>> ‘operator-’ in ‘c - r’
>>   demo/undocumented/csg/cpp/main.cpp:37:44: note: candidates are:
>>   /usr/include/gmpxx.h:3133:106: note: template<class T, class U>
>> __gmp_expr<T, __gmp_unary_expr<__gmp_expr<T, U>, __gmp_unary_minus> >
>> operator-(const __gmp_expr<T, U>&)
>
> Strange. It builds fine here. Does it help to include
> <dolfin/generation/CSGOperators.h> ?

Yes! Thanks! And, as it turned out, I was picking up the wrong (from
trunk) dolfin.h, which explains the missing include. All good now!

-j.


References