[gtkmm] linker error with mingw32/cross-compiler



Hi,

the compiler works fine, but the link process won't start:

$ i586-mingw32msvc-g++ `pkg-config gtkmm-2.4 --libs`
i586-mingw32msvc-g++ -lgtkmm-2.4 -lgdkmm-2.4 -latkmm-1.6 -lgtk-x11-2.0 -lpangomm-1.4 -lglibmm-2.4 -lsigc-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lfontconfig -lXext -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXfixes -lpango-1.0 -lcairo -lX11 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -ogwnc.exe ./src/gwncore/cap.o ./src/glade.o ./src/gwnc.o ./src/gwnc_glade.o /usr/lib/gcc/i586-mingw32msvc/3.4.5/../../../../i586-mingw32msvc/bin/ld: cannot find -lgtkmm-2.4
collect2: ld returned 1 exit status
make: *** [gwnc.exe] Fehler 1

I also tried to specify the full path with -L. After that i got a lot of undefined references.

I compiled the code with g++ with no errors. Im on a i686 with debian.


Thanks in advance,

Christoph



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