CPUMemoryTOP Failed to compile on Mac

Mac OSX High Sierra, Xcode 9.4.1, TD 2018.25000

The included CPUMemoryTOP example has failed to compile with the error
“Unknown type name ‘NSOpenGLContext’ TOP_CPlusPlusBase.h”

Has anybody ran into this issue?

I haven’t found anything on Google or the forum. Actually, when I was just searching for NSOpenGLContext, the forum told me the term is too common to search? :smiley: Not sure how that can be, but ok.

Any help would be greatly appreciated.
Thank you!


Sorry about that, it’ll be fixed in the next build. if you put

class NSOpenGLContext; at the top of the TOP_CPlusPlusBase.h file with the other similar class forward declaration, it’ll fix that compile issue.

Thank you, Malcolm!

It works now.