Re: Windows 64 bit gtkmm binaries
- From: ArbolOne <arbolone gmail com>
- To: Armin Burgmeier <armin arbur net>
- Cc: gtkmm-list gnome org
- Subject: Re: Windows 64 bit gtkmm binaries
- Date: Sat, 09 Oct 2010 17:25:05 -0400
On 10/9/2010 4:59 PM, Armin Burgmeier wrote:
On Sat, 2010-10-09 at 14:00 -0400, ArbolOne wrote:
On 9/19/2010 5:07 PM, Armin Burgmeier wrote:
There has been some interest in 64 bit gtkmm binaries for Windows
recently. I have built the gtkmm stack on 32 and 64 bit Windows with the
mingw-w64 toolchain from [1]. The result is at [2]. This is supposed to
be used with the current 64 bit GTK+ all-in-one-bundle from [3] (you
will have to make a slight adaption to cairo.pc for pkg-config to work
correctly, see [4]).
The main build issue was too old libtool versions in the tarball of most
packages. I had to run libtoolize and ./autogen.sh on them for libtool
to produce 64 bit DLLs (it just did static libraries otherwise).
It would be great if people could try this out; if it works well then
I'll also add a 64 bit installer starting with the next gtkmm release
(probably 2.22). I'll also try to add 32 and 64 bit binaries for use
with MSVC 2010.
Armin
[1] http://sourceforge.net/projects/mingw-w64/files/Toolchains
targetting Win64/
[2] http://arbur.net/gnome/gtkmm/gtkmm-2.20.3-win64.7z
[3] http://ftp.acc.umu.se/pub/GNOME/binaries/win64/gtk+/2.20/gtk
+-bundle_2.20.1-20100912_win64.zip
[4] https://bugzilla.gnome.org/show_bug.cgi?id=630010
_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
http://mail.gnome.org/mailman/listinfo/gtkmm-list
First and foremost, I would like to apologize for not responding as
quickly as I should, it has been a bit hectic here.
However, I would like to submit an issue.
In my Win7-64, I have uncompressed, setup (manually due to the non
existence of a Installer, yet) [1] and have edited the PATH to look
like this
Variable name:
MinGW64
Variable value:
D:\MinGW64\bin;D:\MinGW64\lib
Variable name:
PKG_CONFIG_PATH
Variable value:
D:\Gtk+\bin;D:\Gtk+\lib;D:\gtkmm\win64\gtkmm_release\bin;D:\gtkmm
\win64\gtkmm_release\lib;D:\gtkmm\win64\gtkmm_release\lib\pkgconfig
Variable name:
Path
Variable value:
%MinGW64%;%PKG_CONFIG_PATH%;.....
Now, when I type
pkg-config gtkmm-2.4 --cflags
pkg-config gtkmm-2.4 --libs
pkg-config grabs the right information, see the attached file.
Using Code::Blocks (cb), I have added the information from pkg-config
[Building Options->Compiler->Other Options-> (pkg-config gtkmm-2.4
--cflags (compiler options) as well as the information for the (Linker
Options) see attached file].
Now, all I have to do is to compile, right? Well when trying to
compile a simple demo, see bellow, I get a lot of errors, see the
attached file.
#include<gtkmm.h>
int main(int argc, char *argv[])
{
Gtk::Main kit(argc, argv);
Gtk::Window window;
Gtk::Main::run(window);
return 0;
}
What am I doing wrong? what do I need to change?
TIA
Are you using the 64 bit GTK+ bundle in D:\Gtk+?
Armin
yes, 'gtk+-bundle_2.20.1-20100912_win64'
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]