Groups > Symbian > Symbian SDKs > Re: ANSI C code porting problem




ANSI C code porting problem

ANSI C code porting problem
Thu, 29 Jun 2006 14:26:25 -040
Hi
I am trying to port ANSI C code to Symbian OS.

For first compile, I got following error, Can any one suggest how to solve 
it.

error: the file 'stdlib.h' cannot be opened
rtsrc\asn1type.h(135): error: the file 'limits.h' cannot be opened
rtsrc\asn1type.h(136): error: the file 'stdio.h' cannot be opened
rtsrc\asn1type.h(137): error: the file 'string.h' cannot be opened
rtsrc\asn1type.h(138): error: the file 'stddef.h' cannot be opened
rtsrc\asn1type.h(139): error: the file 'setjmp.h' cannot be opened
rtsrc\asn1type.h(142): error: the file 'time.h' cannot be opened
rtsrc\asn1type.h(152): error: the file 'wchar.h' cannot be opened
rtsrc\osSysTypes.h(28): error: the file 'stdlib.h' cannot be opened
rtsrc\osSysTypes.h(29): error: the file 'limits.h' cannot be opened
rtsrc\osSysTypes.h(30): error: the file 'float.h' cannot be opened
rtsrc\asn1type.h(372): error: the file 'float.h' cannot be opened
rtsrc\asn1type.h(500): error: undefined identifier 'size_t'
rtsrc\asn1type.h(638): error: undefined identifier 'jmp_buf'

Also can any one suggest, Is there standard header file exist, which I can 
include in my ANSI code, will able to make code compilable to Symbian OS.
I don't know "Win32Headers.h" is this kind of header.

Also do I have to change my code, printf() function to console->Printf() 
function or Symbian SDK.
OR There is other third party/Symbian C library is also exist.

Thanks for helping.
Regards,
Avin Patel


Post Reply
Re: ANSI C code porting problem
Thu, 29 Jun 2006 17:49:42 -040
I have solved this problem using estlib.lib

"Avin Patel" <apatel@obj-sys.com> wrote in message 
news:PQz63m6mGHA.1980@UKCOL01WWEB01.symbian.intra...
> Hi
> I am trying to port ANSI C code to Symbian OS.
>
> For first compile, I got following error, Can any one suggest how to solve

> it.
>
> error: the file 'stdlib.h' cannot be opened
> rtsrc\asn1type.h(135): error: the file 'limits.h' cannot be opened
> rtsrc\asn1type.h(136): error: the file 'stdio.h' cannot be opened
> rtsrc\asn1type.h(137): error: the file 'string.h' cannot be opened
> rtsrc\asn1type.h(138): error: the file 'stddef.h' cannot be opened
> rtsrc\asn1type.h(139): error: the file 'setjmp.h' cannot be opened
> rtsrc\asn1type.h(142): error: the file 'time.h' cannot be opened
> rtsrc\asn1type.h(152): error: the file 'wchar.h' cannot be opened
> rtsrc\osSysTypes.h(28): error: the file 'stdlib.h' cannot be opened
> rtsrc\osSysTypes.h(29): error: the file 'limits.h' cannot be opened
> rtsrc\osSysTypes.h(30): error: the file 'float.h' cannot be opened
> rtsrc\asn1type.h(372): error: the file 'float.h' cannot be opened
> rtsrc\asn1type.h(500): error: undefined identifier 'size_t'
> rtsrc\asn1type.h(638): error: undefined identifier 'jmp_buf'
>
> Also can any one suggest, Is there standard header file exist, which I can

> include in my ANSI code, will able to make code compilable to Symbian OS.
> I don't know "Win32Headers.h" is this kind of header.
>
> Also do I have to change my code, printf() function to console->Printf()

> function or Symbian SDK.
> OR There is other third party/Symbian C library is also exist.
>
> Thanks for helping.
> Regards,
> Avin Patel
>
>
> 

Post Reply
about | contact