linker - "Implicit destructor" in c++ -


I have some header files coordinate h, some coordinate.INL and some build_getterry CPP use coordinates type.

There are two versions of Coordinate H, which are ~ coordinate (); Defined and without destructive definition line is a new one. Similarly, in the new version no coordinate definition is specified in the coordinates. Inl and the old version contains:

  inline coordinates :: ~ coordinate () {}   

Now I have to compile the build_geometry.cpp against Coordinate.h / Coordinate.inl which works just fine with the old version of Coordinate H / Coordinate. Inl. Otherwise, this error will end with:

  build_geometry.o: build_geometry.cpp: 203: follow the more undefined reference to `geos :: geom :: Coordinate :: ~ Coordinate () Collection 2: Exit status of LD1 came back   

It is obviously at the end of the cycle / methods in which the coordinate type is used.

So the question is how to compile and link without them. Nothing has been declared anywhere.

Fixed: / usr / local / contains /...// >> / Usr / include / before the correct version.

Comments

Popular posts from this blog

python - Writing Greek in matplotlib labels, titles -

c# - LINQ to Entities does not recognize the method 'Int32 IndexOf(System.String, System.StringComparison)' method -

Pygame memory leak with transform.flip -