All pastes #386030 Raw Edit

Something

public text v1 · immutable
·published 2007-03-08 08:59 UTC
rendered paste body
pete@misato:~/coding/phimage/phimage-0.1.1$ gcc -Wall -I/usr/include -o phimage-bin phimage.cpp `pkg-config --cflags gtkmm-2.4` `pkg-config --libs gtkmm-2.4` -L/usr/X11R6/lib -lX11 -lglut -lGL -lGLU -lm 
phimage.cpp: In member function ‘void phimage::main()’:
phimage.cpp:314: error: ISO C++ forbids taking the address of a bound member function to form a pointer to member function.  Say ‘&phimage::keyPressed’
phimage.cpp:314: error: cannot convert ‘void (phimage::*)(unsigned char, int, int)’ to ‘void (*)(unsigned char, int, int)’ for argument ‘1’ to ‘void glutKeyboardFunc(void (*)(unsigned char, int, int))’
pete@misato:~/coding/phimage/phimage-0.1.1$ gcc -Wall -I/usr/include -o phimage-bin phimage.cpp `pkg-config --cflags gtkmm-2.4` `pkg-config --libs gtkmm-2.4` -L/usr/X11R6/lib -lX11 -lglut -lGL -lGLU -lm 
phimage.cpp: In member function ‘void phimage::main()’:
phimage.cpp:314: error: argument of type ‘void (phimage::)(unsigned char, int, int)’ does not match ‘void (*)(unsigned char, int, int)’
pete@misato:~/coding/phimage/phimage-0.1.1$ sudo modprobe ndiswrapper
pete@misato:~/coding/phimage/phimage-0.1.1$