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



Hi Dirk,

Did you, by chance, untarred gtkmm and libsigc++ in / (which is the mount point for c:\cygwin) ? If the answer is yes (I guess so, see the C:/cygwin/include/gtkmm-2.0 include path in the output of gcc -v), it's a very bad idea. Either choose /usr/local, /opt or anything else BUT NOT / or /usr. They are reserved for cygwin tools and libraries. Don't mix them with any mingw-built library or executable. This explains the C:\cygwin\lib\libstdc++.a stuff.

Cedric


At 06:11 PM 11/7/2002 +0100, you wrote:
Cedric Gustin wrote:

> At 06:39 PM 11/6/2002 +0100, Dirk Gerrits wrote:
>
> > $ g++ test.cpp -o test `pkg-config gtkmm-2.0 --cflags --libs`
> > C:/cygwin/lib/libstdc++.a(vterminate.o)(.text+0xf1): undefined reference
> > to `_impure_ptr'
> > C:/cygwin/lib/libstdc++.a(vterminate.o)(.text+0x136): undefined
> > reference to `_impure_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'
> >
> > Ok, still the same linking to the wrong stdlibc++ problem. /MinGW/bin is
> > really the very first thing in "echo $PATH".
>
>
> Send me the output of g++ -v test.cpp -o test `pkg-config gtkmm-2.0
> --cflags --libs`
> (with the -v flag !!!).

Here it is, sorry for the wordwrapping:




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