Re: ustring = "1.2"



Jamiil Abduqadir wrote:
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.

It looks like a linking problem.  How are you compiling?

-Jose


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