PDA

View Full Version : Compile on simulator but not on Symbian



curreli
12th August 2010, 19:09
Hi,

I'm building an application with Nokia Qt SDK and it has to run on Nokia devices.

My project builds successfully for the nokia simulator but when I try to compile it for Symbian devices it fails.

Note that the same project did compile for Symbian before but after some changes (basically consisting of a network module using QNetworkAccessManager) it does not compile anymore (yes the NetworkServices CAPABILITY is set in the .pro).

The errors I get are the following:

'memcmp' was not declared in this scope
'strlen' was not declared in this scope
...
...
and many "not declared" errors...

It seems to be related to the use of QString because most of the functions are string functions.

I've tried to include many libs where those functions reside but the errors remain the same.

Any help would be very appreciated! Thanks!

GreenScape
13th August 2010, 08:32
seems like your code uses non-qt functions! i mean string.h library. maybe compiler for your device does not have this library.

curreli
13th August 2010, 09:18
I found the problem!

I have a "string.h" file in my project which was included on behalf of the C++ string.h file!

Thanks for your response though!