
Originally Posted by
GameDude
What port you set on the device? The default works for me. I haven't been working on Symbian for a while so I'm not sure if things still work as they used to. Try the WLAN logging if possible.
hello, GameDude,
Thanks for your reply!
I can see log in HyperTerminal now, It is because I choose another COM port.But I have another question please:
I follow the guide try to add some logs in my apps.
Code:
#include "LogMan.h" //RLogMan
RLogMan::Log(_L("Hello world"));
Code:
#include "LogMan.h" //RLogMan
// Store this as a member of your class, for example
RLogMan logman;
// Do this in the constructor.
logman.Connect();
// Do some logging.
logman.Write( _L("Hello world") );
// Do this in the destructor.
logman.Close();
some errors:
ERROR: Unresolved symbol: _ZN7RLogManC1Ev
ERROR: Unresolved symbol: _ZN7RLogMan7ConnectEv
ERROR: Unresolved symbol: _ZN7RLogMan15WriteFormatListERK7TDesC16iiSt9__va_list
ERROR: Unresolved symbol: _ZN7RLogMan5CloseEv
ERROR: Unresolved symbol: _ZN7RLogManD1Ev
ERROR: Unresolved symbol: _ZN7RLogManD1Ev
I think it is because i do not have the lib to link.
can you please tell me where i can download the libs for Logman?
I try to build logman project ,but some errors like:
S:\s60\tools\commontools\logman-for-symbian\MODULES\LOGMANGUI\data\LogManGui.rss:6: eikon.rh: No such file or directory
S:\s60\tools\commontools\logman-for-symbian\MODULES\LOGMANGUI\data\LogManGui.rss:7: avkon.rh: No such file or directory
make[1]: *** [S:\epoc32\build\s60\tools\commontools\logman-for-symbian\LOGMANGUI\ARMV5\LogManGui.rsc.d] Error 33
make[1]: *** Deleting file `S:\epoc32\build\s60\tools\commontools\logman-for-symbian\LOGMANGUI\ARMV5\LogManGui.rsc.d'
make[1]: *** Waiting for unfinished jobs....
S:\s60\tools\commontools\logman-for-symbian\MODULES\LOGMANGUI\data\LogManGui_reg.rss:3: LogManGui.rsg: No such file or directory
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [S:\epoc32\build\s60\tools\commontools\logman-for-symbian\LOGMANGUI\ARMV5\LogManGui_reg.rsc.d] Error 33
make[1]: *** Deleting file `S:\epoc32\build\s60\tools\commontools\logman-for-symbian\LOGMANGUI\ARMV5\LogManGui_reg.rsc.d'
"\s60\tools\commontools\logman-for-symbian\MODULES\LOGMANGUI\inc\LogManGui_Document.h", line 6: Error: #5: cannot open source input file "akndoc.h": No such file or directory
#include <akndoc.h>
Thank you.