Carbide + S60 2nd + compiler error
| Fri, 2006-08-04 19:44 | |
|
Hi,
I've created a Hello World application (from carbide wizard) S60 2.x View Base GUI Application and I got this compiler error: Code: Undefined symbol: 'class HBufC16 * StringLoader::LoadLC(int, class CCoeEnv *) (?LoadLC@StringLoader@@SAPAVHBufC16@@HPAVCCoeEnv@@@Z)' referenced from 'void CSimpleDlgContainer::MudaTexto(int) (?MudaTexto@CSimpleDlgContainer@@QAEXH@Z)' in SimpleDlgContainer.cpp:117 If I comment this function, the program compile ok Code: void CSimpleDlgContainer::MudaTexto(TInt buffer) { // HBufC* labelText; // labelText = StringLoader::LoadLC(buffer); // iLabel->SetTextL(*labelText); // CleanupStack::PopAndDestroy(labelText); // SizeChanged(); } I used the header #include <stringloader.h> // StringLoader I am not seeing where it is the error. - thx |
|






Forum posts: 194
Forum posts: 7
-thx
Forum posts: 18
Forum posts: 7
http://www.forum.nokia.com/main/resources/tools_and_sdks/carbide/
I setup my Profect->Properties and choose commonengine.lib in Library.
It works.
thanks!