Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

"error: allocating an object of abstract class type 'Go::IntersectionCurve' ", OS X 10.9 (clang) #7

Open
yconst opened this Issue · 2 comments

2 participants

Yannis tordokken
Yannis

I get the following error in compilation of the intersections module, when compiling using clang in OS X 10.9:

In file included from [...]/GoTools-master/intersections/src/CvCvIntersector.C:43:
[...]/GoTools-master/intersections/include/GoTools/intersections/IntersectionPool.h:944:11: error: allocating an object of
      abstract class type 'Go::IntersectionCurve'
        temp(new IntersectionCurve(start, end));
                 ^

Immediately after, the following related notes appear:

[...]/GoTools-master/intersections/include/GoTools/intersections/IntersectionCurve.h:105:5: note: unimplemented pure virtual
      method 'getCurve' in 'IntersectionCurve'
    getCurve() const = 0;
    ^
[...]/GoTools-master/intersections/include/GoTools/intersections/IntersectionCurve.h:116:5: note: unimplemented pure virtual
      method 'getParamCurve' in 'IntersectionCurve'
    getParamCurve(int obj_nmb) const = 0;
    ^
[...]/GoTools-master/intersections/include/GoTools/intersections/IntersectionCurve.h:124:18: note: unimplemented pure virtual
      method 'getParamSpan' in 'IntersectionCurve'
    virtual void getParamSpan(double& start, double& end) const = 0;
                 ^
[...]/GoTools-master/intersections/include/GoTools/intersections/IntersectionCurve.h:136:18: note: unimplemented pure virtual
      method 'evaluateAt' in 'IntersectionCurve'
    virtual void evaluateAt(double pval, Point& pos, Point& tan) = 0;
                 ^
[...]/GoTools-master/intersections/include/GoTools/intersections/IntersectionCurve.h:145:18: note: unimplemented pure virtual
      method 'refine' in 'IntersectionCurve'
    virtual void refine(const double& pos_tol, const double& angle_tol) = 0;
                 ^
[...]/GoTools-master/intersections/include/GoTools/intersections/IntersectionCurve.h:151:18: note: unimplemented pure virtual
      method 'isIsocurve' in 'IntersectionCurve'
    virtual bool isIsocurve() const = 0;
                 ^
[...]/GoTools-master/intersections/include/GoTools/intersections/IntersectionCurve.h:157:18: note: unimplemented pure virtual
      method 'isDegenerated' in 'IntersectionCurve'
    virtual bool isDegenerated() const = 0;
                 ^

Any suggestions?

Thanks

Yannis

Any news on this?

tordokken
Owner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.