You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I stumbled over some obstacles in the above endeavor. First it is necessary to stick with 3.x version of SWIG. Mine was 3.0.12.
As you use C11 I had to add -std=c++11 to FATFLAGS in buildSWIGVersionForMac. Then during the java-compilation part the java compiler complained about doubled getters and setters of the class BoundingBox. I had to resolve that manually. But looking at graph.h there is the struct BoundingBox which contains 4 doubles x,X,y,Y. It seems this reuse of of x and y as capitalized letters caused the doubled getter/setter problem. Not sure if this is an issue or a bug. I simply wanted to point out this obstacles such that others are a bit more fortunate than I was.
Cheers && thanks for your work.
The text was updated successfully, but these errors were encountered:
I stumbled over some obstacles in the above endeavor. First it is necessary to stick with 3.x version of SWIG. Mine was 3.0.12.
As you use C11 I had to add -std=c++11 to FATFLAGS in buildSWIGVersionForMac. Then during the java-compilation part the java compiler complained about doubled getters and setters of the class BoundingBox. I had to resolve that manually. But looking at graph.h there is the struct BoundingBox which contains 4 doubles x,X,y,Y. It seems this reuse of of x and y as capitalized letters caused the doubled getter/setter problem. Not sure if this is an issue or a bug. I simply wanted to point out this obstacles such that others are a bit more fortunate than I was.
Cheers && thanks for your work.
The text was updated successfully, but these errors were encountered: