I have followed the Readme.Txt file associated with the sample IntegXamarinDemo3D using Visual Studio 2017. In fact I have done it several times with the same results.
When I try to compile I get errors from:
Com.Vividsolutions.Jts.Geom.Impl.PackedCoordinateSequence.cs
Com.Vividsolutions.Jts.Geomgraph.Edge.cs
These errors prevent SygicLibBinding from building and that leads to errors when trying to build the sample application.
The errors detail is:
Error CS0507 'Edge.ComputeIM(IntersectionMatrix)': cannot change access modifiers when overriding 'protected' inherited member 'GraphComponent.ComputeIM(IntersectionMatrix)' SygicLibBinding C:\Carputer-Android-Embedded\Source\CAESygicApp\SygicLibBinding\obj\Debug\generated\src\Com.Vividsolutions.Jts.Geomgraph.Edge.cs 570 Active
Error CS0507 'PackedCoordinateSequence.Double.GetCoordinateInternal(int)': cannot change access modifiers when overriding 'protected' inherited member 'PackedCoordinateSequence.GetCoordinateInternal(int)' SygicLibBinding C:\Carputer-Android-Embedded\Source\CAESygicApp\SygicLibBinding\obj\Debug\generated\src\Com.Vividsolutions.Jts.Geom.Impl.PackedCoordinateSequence.cs 283 Active
Error CS0507 'PackedCoordinateSequence.Float.GetCoordinateInternal(int)': cannot change access modifiers when overriding 'protected' inherited member 'PackedCoordinateSequence.GetCoordinateInternal(int)' SygicLibBinding C:\Carputer-Android-Embedded\Source\CAESygicApp\SygicLibBinding\obj\Debug\generated\src\Com.Vividsolutions.Jts.Geom.Impl.PackedCoordinateSequence.cs 617 Active
Error CS0234 The type or namespace name 'PolygonizeGraph' does not exist in the namespace 'Com.Vividsolutions.Jts.Operation.Polygonize' (are you missing an assembly reference?) SygicLibBinding C:\Carputer-Android-Embedded\Source\CAESygicApp\SygicLibBinding\obj\Debug\generated\src\Com.Vividsolutions.Jts.Operation.Polygonize.Polygonizer.cs 16 Active
Error CS0534 'Edge' does not implement inherited abstract member 'GraphComponent.IsIsolated.get' SygicLibBinding C:\Carputer-Android-Embedded\Source\CAESygicApp\SygicLibBinding\obj\Debug\generated\src\Com.Vividsolutions.Jts.Geomgraph.Edge.cs 10 Active
Frankly, I have no idea what the errors mean and I probably shouldn't have to.
Are this sample and the readme incompatible with Visual Studio 2017 or is there a newer SDK? The one I have just downloaded is:
- TRUCK3D_ANDROID_Integrated
Backing down to VS 2015 is no an option and my project is on hold until I can resolve this.
Any and all help appreciated.
Regards, Jim
try to add these lines to SygicLibBinding/Transforms/Metadata.xml file:
However, it seems that you are using older version of SygicLib. Feel free to contact Sygic support team to get the latest version with working demo.
Lukas (Sygic)