Advertising
- Stuff
- Saturday, March 3rd, 2007 at 2:01:57pm UTC
- //gcc -Wall -I/usr/include -o phimage phimage.c -L/usr/X11R6/lib -lX11 -lXi -lXmu -lglut -lGL -lGLU -lm
- //gcc -Wall -I/usr/include -o phimage phimage.cpp `pkg-config --cflags gtk+-2.0` `pkg-config --libs gtk+-2.0` -L/usr/X11R6/lib -lX11 -lglut -lGL -lGLU -lm
- #include <GL/glut.h> // Header File For The GLUT Library
- #include <GL/gl.h> // Header File For The OpenGL32 Library
- #include <GL/glu.h> // Header File For The GLu32 Library
- #include <gtk/gtk.h>
- #include <gdk-pixbuf/gdk-pixbuf.h>
- #include <unistd.h> // needed to sleep
- #include <stdio.h>
- class TextureLoader
- {
- int x;
- public:
- int Add()
- {
- return x;
- }
- };
- int main() {
- TextureLoader test;
- //GtkWidget *testw;
- GdkPixbufLoader *test2;
- test2 = gdk_pixbuf_loader_new();
- test2.write();
- test.Add();
- }
advertising
Update the Post
Either update this post and resubmit it with changes, or make a new post.
You may also comment on this post.
Please note that information posted here will not expire by default. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.