Re: [gtkmm] how to build gtkmm test on win32 ?
- From: Cedric Gustin <cedric gustin swing be>
- To: Dedov Anton <bada prgn ru>
- Cc: gtkmm-main <gtkmm-list gnome org>
- Subject: Re: [gtkmm] how to build gtkmm test on win32 ?
- Date: Tue, 18 Mar 2003 09:39:39 +0100
At 03:11 PM 3/18/2003 +0700, you wrote:
I have downloaded your precompiled packages gtkmm for mingw as well as
gtk+ development environment.
Unfortunately I cannot build any test application with mingw and gtkmm :(
Its compiles but during linking it says that no one of symbols is known.
Please tell me which my environment should be.
Do I need cygwin/libtool for building my own applications with gtkmm?
You can either use mingw combined with cygwin or msys. If you use
mingw/cygwin, make sure that the directory that contains the mingw
executables is first in your PATH (check with g++ -v).
1. add the directories with the gtkmm, gtk+ DLLs and the gtk+ executables
(most important : pkg-config) to your path, if you have not selected the
corresponding option in he installer.
2. set the PKG_CONFIG_PATH environment variable to point to various
lib/pkgconfig directories (with .pc files) for both gtkmm and gtk+ (same
thing as on linux but semicolon separated).
3. Make sure everything is properly installed by typing 'pkg-config
--modversion --cflags --libs gtkmm-2.0'. You should get something like
ustin/target/gtkmm/lib -LC:/Users/Gustin/local/gtk-2.0/lib -lgtkmm-2.0
.0 -latkmm-1.0 -lgtk-win32-2.0 -lpangomm-1.0 -lglibmm-2.0 -lsigc-1.2
-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangowin32-1.0 -lgdi32 -lpango-1.0
.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv
4. compile your program with
g++ `pkg-config --cflags gtkmm-2.0` my_programs.cc -o my_program
`pkg-config --libs gtkmm-2.0`
Alternatively, you can adapt the above compiler and linker flags to your
] [Thread Prev