Re: [gtkmm] Re: Building libsigc++ under Win32 for use with Intel C++ Compiler 6.0
- From: Cedric Gustin <cgustin ibelgique com>
- To: Dirk Gerrits <dirk gerrits homeip net>, Cedric Gustin <gustin pcpm ucl ac be>
- Cc: gtkmm-list gnome org
- Subject: Re: [gtkmm] Re: Building libsigc++ under Win32 for use with Intel C++ Compiler 6.0
- Date: Wed, 06 Nov 2002 08:31:24 +0100
At 10:44 PM 11/5/2002 +0100, Dirk Gerrits wrote:
Dirk Gerrits wrote:
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'
You linked your program with the cygwin libstdc++ library instead of the
mingw one. Check your PATH and make sure mingw comes first (gcc -v is your
friend). Also, check the output of `pkg-config gtkmm-2.0 --cflags --libs`.
Under cygwin bash, I usually mount the C:\MingW directory system-wide as
/MingW (using mount -b -s) and try to avoid complex mounting points (like
C:\cygwin\usr\local mounted as /usr/local).
Cedric
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]