vectorGraphicsExample not working on High Sierra

#1

I updated my mac to High Sierra and now I can’t compile vectorGraphicsExample:
When I try to compile I receive 20 errors:

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/cstddef:48:7: No member named ‘ptrdiff_t’ in the global namespace; did you mean ‘::ns_creeps::ptrdiff_t’?

/Users/user/Develop/of_v0.9.8_osx_release/addons/ofxVectorGraphics/libs/CreEPS.cpp:66:10: In file included from /Users/user/Develop/of_v0.9.8_osx_release/addons/ofxVectorGraphics/libs/CreEPS.cpp:66:

No member named ‘fabsf’ in the global namespace; did you mean simply ‘fabsf’?
No member named ‘fabsl’ in the global namespace; did you mean simply ‘fabsl’?
No member named ‘acos’ in the global namespace
No member named ‘max_align_t’ in the global namespace; did you mean ‘::ns_creeps::max_align_t’?

The emptyExample works ok, but vectorGraphicsExample fails when trying to compile the file.
The file with errors is CreEPS.cpp. Xcode suggest: “Replace ‘::max_align_t’ with ‘::ns_creeps::max_align_t’”

Xcode Version 9.2 (9C40b).
Mac OS 10.13.3 (17D102)
oF 0.9.8

Thanks for your help.

#2

I just tried it here and got the same result, but haven’t got any further in trying to figure out why… :S

#3

Works fine on Sierra though, just checked.

#4

I’ve tested the latest vectorGraphicsExample from the nightly build and it works fine on High Sierra, so it’s probably worth using that. Whatever it is, they’ve fixed it!

1 Like
#5

Thanks for the follow up, I’ll try the nightly build.