Hi,
I have dev-c++ and mingw32 gcc on my windows box. Just yesterday night, I
installed gtkmm as according to this instruction:
http://www.gtkmm.org/docs/gtkmm-2.4/docs/tutorial/html/ape.html
However, when I tried to compile a simple c++ file using ustring, it spat
out this kind of messages:
C:\DOCUME~1\dante\LOCALS~1\Temp/cc4eaaaa.o(.text+0x73):main.c: undefined
reference to `Glib::ustring::ustring()'
C:\DOCUME~1\dante\LOCALS~1\Temp/cc4eaaaa.o(.text+0x88):main.c: undefined
reference to `Glib::ustring::ustring()'
C:\DOCUME~1\dante\LOCALS~1\Temp/cc4eaaaa.o(.text+0x9d):main.c: undefined
reference to `Glib::ustring::ustring()'
The linker and include flags, I obtained from pkg-config --cflags --libs
gtkmm-2.4.
the c file is just something like this:
using Glib::ustring;
using std::string;
using std::cin;
using std::cout;
////////////////////////////////////////////////////////////////////////////////////////
int main(){
ustring a, b, c, d, e, f;
cin >> a;
cin >> b;
cin >> c;
cin >> d;
cin >> e;
cin >> f;
cout << a << b << c << d << e << f;
return 0;
}
Sorry for the long question. Does anybody have any idea why?
Cheers
-----------------------------------
Yose Widjaja
3rd Year Software Engineering
page : http://www.cse.unsw.edu.au/~wyos/
mail : [EMAIL PROTECTED]
[EMAIL PROTECTED]
msn : [EMAIL PROTECTED]
icq : 75090197
research interests :
exotic software engineering methods
sentient operating systems
7th level languages
man-machine integration
ancient cryptozoology
, ` , ` , ` , ` , ` , ` , ` , ` , `
-----------------------------------
_______________________________________________
gtkmm-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtkmm-list