ustring = "1.2"



Gtkmm for Win32
windows xp

Hello folks!

In the following  example
class MyClass{
Glib::ustring str;
MyClass();
~MyClass();
};
MyClass::MyClass(){ str = "1.2";}
MyClass::~MyClass(){}


I get an error that reads
Undefined reference to Glib::ustring::operator=(char const*)

Why am I getting this error and how can I solve the problem?

Thanks in advance.

--
Happiness has many doors, and when one of them closes another opens, yet we spent so much time looking at the one that is shut that we don't  see the one that just  opened.

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