[gtkmm] Re: Building libsigc++ under Win32 for use with Intel C++ Compiler 6.0



Dirk Gerrits wrote:

[snip]


So where do I go from here? Am I setup to build my first test app? Any
"hello world"s I can try to build?

I tried this test.cpp:

#include <gtkmm.h>

int main(int argc, char *argv[])
{
    Gtk::Main kit(argc, argv);

    Gtk::Window window;
    Gtk::Main::run(window);

    return 0;
}

and got:

$ g++ test.cpp -o simple `pkg-config gtkmm-2.0 --cflags --libs`
test.cpp:11:2: warning: no newline at end of file
C:/cygwin/lib/libstdc++.a(vterminate.o)(.text+0xf1): undefined reference to `_im
pure_ptr'
C:/cygwin/lib/libstdc++.a(vterminate.o)(.text+0x136): undefined reference to `_i
mpure_ptr'
C:/cygwin/lib/libstdc++.a(cxa_demangle.o)(.text+0x4ae7): undefined reference to
`_impure_ptr'
C:/cygwin/lib/libstdc++.a(cxa_demangle.o)(.text+0x4b0f): undefined reference to
`_impure_ptr'

This is a lot father than I've gotten until now. Again, many thanks! But how do I fix these errors?

Dirk Gerrits




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]