I got an error I couldn't google. Following a tutorial I tried to roll the GLUT menu capabilities into a class that I could use in other programs later.
Best I can tell in english it means can't convert GlutMenu void to a void pointer int.Code:cannot convert ‘GlutMenu::MenuEvents’ from type ‘void (GlutMenu::)()’ to type ‘void (*)(int)’
I am not sure I know what a void pointer int is. The error was -fpermissive, but I stay away from doing that if I don't know why I'm doing it.
Should I try typecasting?
Thanks for your time!