I'm having trouble getting the CSG demos (in the dolfin-csg branch) to compile. Any hints?
sec ~/src/fenics/src/dolfin-csg/dorsal_build_dir 1$ make demo_csg Building CXX object demo/undocumented/csg/cpp/CMakeFiles/demo_csg.dir/main.cpp.o demo/undocumented/csg/cpp/main.cpp: In function ‘int main()’: demo/undocumented/csg/cpp/main.cpp:35:3: error: ‘csg’ has not been declared [etc] It looks like it's missing an include, and adding "#include <dolfin/generation/CSGPrimitives2D.h>" helps a little. However: 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>&) [...] demo/undocumented/csg/cpp/main.cpp:47:18: error: no matching function for call to ‘dolfin::Mesh::Mesh(boost::shared_ptr<dolfin::CSGGeometry>&)’ [...] ? -j. _______________________________________________ Mailing list: https://launchpad.net/~dolfin Post to : [email protected] Unsubscribe : https://launchpad.net/~dolfin More help : https://help.launchpad.net/ListHelp

