It's been 2 weeks and I am still standing at zero point.
I tried to compile a sample code using following commands:
/flascc/bin/g++ -O4 \
-I/GLS3D-master/install/usr/include/ \
-L/GLS3D-master/install/usr/lib/ ../lesson2.cpp \
/GLS3D-master/install/usr/lib/libGL.abc -symbol-abc=Console.abc \
-swf-size=500x500 -emit-swf -o lesson2.swf -lglut -lGL
and it gave following errors:
/var/..../ccaleAEC.o: error: undefined reference to '_glCreateShader'
/var/..../ccaleAEC.o: error: undefined reference to '_glGetUniformLocation'
collect2: ld returned 1 exit status
Can someone please post a really simple OpenGL code using simple shaders that actually compiles with flascc?