I'm trying to build the Solar-System (C++) Panda3D example for version 1.8. The problem I'm having is that when I compile it I get an error:
clr; g++ -c ./solar_system/tut_solar_system.cpp -o ss.o -fPIC -L/usr/lib/panda3d -I/usr/include/python2.7 -I/usr/include/panda3d
./solar_system/../p3util/cOnscreenText.h:75:22: error: ‘Colorf’ does not name a type
I have tried editing that file and including glew, glext, and glut (provided by my distro), as well as the "panda_glext" provided by Panda3D - none of those provides ColorF. (I am using archlinux and I have glew, glext, and freeglut.)
I don't know where to start looking. Google has failed me! Does anyone know where ColorF is defined?
ColorF
orColorf
? It could also be that it is a value and used in a place where the compiler expects a type. It would be easier to tell if you could show some lines of code around where the error occurs.void set_fg(const Colorf& fg); void set_bg(const Colorf& bg); void set_shadow(const Colorf& shadow); void set_shadow_offset(const LVecBase2f& offset); void set_frame(const Colorf& frame);