DEBUGMENU.obj : error LNK2001: unresolved external symbol _malloc
DEBUGMENU.obj : error LNK2001: unresolved external symbol _free
It occurs because I use STLport 4.5.1 for symbian in my application.I used "std::basic_string<> " ,and the errors occurs.Compiling is no problem.
In www.stlport.com there are someone replied to me that
"
malloc/free are part of the native C runtime that your compiler must grant so link to it and everything should be fine.
Those function are required for the standard allocator used within containers. auto_ptr _isn't_ a container and so, do not use an allocator. basic_string _is_ a container and use an allocator.
"
But I can use malloc and free in symbian ,so I don't know how to do it.
Is there some one can give me some adovice?