You are a genius, now it works. Thank you very much
Type: Posts; User: nickstyle
You are a genius, now it works. Thank you very much
So i tried this command in the terminal:
g++ `pkg-config --cflags --libs gtk+-2.0` -o main main.cpp Callbacks.cpp
and got the same error:
(main:2784): Gtk-WARNING **: Could not find...
So here is the link for the other topic, i think this topic can be closed. But I'm new here and I don't know how to do this....
So, I'm using GTK+ library and GLADE gui constructor, but I'm getting an error when i compile the code in C++, the GTK+ can't find my signal handlers but when i just modify my file names from *.cpp...
Ok guys, thanks for the help. I'm compiling in C because I was getting an error using the GTK+ library and C++ but maybe you can help me. I will create another topic since the problem now is...
What a shame, sorry about that, I'm new with c, but now I'm getting a new error:
RawImage.h|6|error: expected ‘:’, ‘,’, ‘;’, ‘}’ or ‘__attribute__’ before ‘{’ token|
the new code:
...
Guys i tried many things but i can't resolve this error,
here is the code:
RawImage.h
struct RawImage
{
public: // <- error
int get_width() const { return width; }