Search:

Type: Posts; User: nickstyle

Search: Search took 0.00 seconds.

  1. Replies
    6
    Views
    8,751

    You are a genius, now it works. Thank you very...

    You are a genius, now it works. Thank you very much
  2. Replies
    6
    Views
    8,751

    So i tried this command in the terminal: g++...

    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...
  3. So here is the link for the other topic, i think...

    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....
  4. Replies
    6
    Views
    8,751

    GTK+ C++ compiler and signal handlers

    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...
  5. Ok guys, thanks for the help. I'm compiling in C...

    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...
  6. What a shame, sorry about that, I'm new with c,...

    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:

    ...
  7. Help with " expected specifier-qualifier-list before 'public' "

    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; }
Results 1 to 7 of 7