Closed WilliamHYZhang closed 4 years ago
It's definitely something to do with the AGGRenderer
, installing SwiftPlot
by itself works fine.
@WilliamHYZhang I'm not sure why this error wasn't showing up earlier. It wasn't building even when using the latest S4TF toolchain. It was indeed due to the missing gpc.h file. This file is for the Generic Polygon Clipper library that is included with AGG. AGG uses make as it's build system and therefore doesn't have the header and source files inside it's main codebase. It links the library using make. I just added the required files and changed a small line where the header was included.
It seems to work now. With both swift-jupyter and command line. Can you give it a try?
Yep! Works perfectly with swift-jupyter now. Thank you for the quick fix.
Using the latest release of swift-jupyter, installing SwiftPlot seems to fail with a file not found error for
gpc.h
.Input:
Output: