From: Peter M. <pm...@ya...> - 2011-12-28 21:24:01
|
Hi, Iam Peter from the Centauri Project here at Sourceforge and we are also OpenSource (unfortently, iam alone on the Project right now but this is an diffrent story). I hope some one can point me to the right point: I just downloaded Sezeros "mingw-w64-bin_x86_64-mingw_20111101_sezero.zip" from your Downloadsection and everything working very well.Ich can compile 64-Bit Console Appz and simple Makefiles with mingw32-make.exe works also well. Now the Problem: I have installed this Version of the GTK Win64 Devel Package: http://www.gtk.org/download/win64.php (but i really was not able to find out if this Package was build with Visual C/C++ or your Mingw64 64-Bit Compiler (i was not able to find the Infos, but i thin it is a Mingw64 Build, please let me know if iam right or wrong) But anyway, i modifying my Makefile for a dummy test and i was able to figure out the Include part, but not the LDFLAGS Part. There are a lots of *.LIB Files in the X:\GTK64\lib Folder but also Files with names like >> libgdkmm-2.4.dll.a << but i allways getting the following Error if i use gmake: Location: X:\Tmp\gtk2_tests\test1_win64> (UAC is OFF, Windows Vista 64) gmake hello.o:hello.cpp:(.text+0x52): undefined reference to `Glib::ustring::~ustring()' As Result: The Objectfile hello.o was created, but the Exe was not: This is the Code of hello.cpp #include <stdlib.h> #include <stdio.h> #include <iostream> #include <gtkmm.h> <<---- This blank Include produces the Linker Error // if uncomment, the Error disapear. using namespace std; int main() { cout << "test"; getchar(); return(0); } My Question is: How to set LDFLAGS Linker params on MinGW64 correctly? On Linux and Solaris there is no Problem using GCC 4.5 but. I hope some one has an Ideaa. By the Way: VERRY good Project! Greetings Peter |