Skip to content

Does not compile with latest GoTools #49

@agemuend

Description

@agemuend

When compiling with latest GoTools from Github I get the following error:

[ 18%] Building CXX object CMakeFiles/LRSpline.dir/src/Profiler.cpp.o
In file included from /home/gemuend/IFEM/LRsplines/src/LRSplineSurface.cpp:1:
/home/gemuend/IFEM/LRsplines/include/LRSpline/LRSplineSurface.h:27:8: error: redefinition of ‘struct Go::BasisDerivsSf3’
   27 | struct BasisDerivsSf3
      |        ^~~~~~~~~~~~~~
In file included from /home/gemuend/IFEM/LRsplines/include/LRSpline/LRSplineSurface.h:7,
                 from /home/gemuend/IFEM/LRsplines/src/LRSplineSurface.cpp:1:
/home/gemuend/IFEM/install/include/GoTools/geometry/SplineSurface.h:153:8: note: previous definition of ‘struct Go::BasisDerivsSf3’
  153 | struct BasisDerivsSf3
      |        ^~~~~~~~~~~~~~
make[2]: *** [CMakeFiles/LRSpline.dir/src/LRSplineSurface.cpp.o] Error 1

Is this expected, should we be using an older version of GoTools? Or is LRSplines now part of GoTools and we dont need to install it separately?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions