Linker errors under windows.



Hello. I installed gtkmm in its 64 bits version in order to compile a
small program under windows 7.
The program has been developed under linux and it compiles there. But
in windows I get lots of
undefined symbols for the Gtkmm and Glibmm symbols. All object files
have been compiled,
but I cannot manage to link them.

g++ -std=c++0x -LC:/gtkmm/lib -Lc:/devel/dist/win64/libpng-1.4.3-1/lib -lgtkmm-2
.4 -latkmm-1.6 -lgdkmm-2.4 -lgiomm-2.4 -lpangomm-1.4 -lgtk-win32-2.0 -lglibmm-2.
4 -lgdk-win32-2.0 -latk-1.0 -lgio-2.0 -lpangowin32-1.0 -lgdi32 -lpangocairo-1.0
-lgdk_pixbuf-2.0 -lpng14 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -
lglib-2.0 -lintl -lcairomm-1.0 -lcairo -lsigc-2.0 -o MyApplication
[AllMyObjects.o]

No matter what order I try with the objects, files etc. I compiled
every source file giving the libraries
as well, even if it wasn't necessary. Does anyone have had any
experience like this? I tried to
google a lot, but I couldn't find what's wrong. Thanks in advance.


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