Project Builder Question (External Related)

Thierry Arbellot thierry.arbellot at wanadoo.fr
Mon Sep 6 06:57:15 EDT 2004


Kevin

After checking on the Apple site, the function itoa is not included in  
the system libraries provided with OS X. You should replace it with the  
function printf.

http://developer.apple.com/documentation/DeveloperTools/Conceptual/ 
MovingProjectsToXcode/migration_differences/chapter_2_section_10.html

Regards
Thierry

On Sunday, Sep 5, 2004, at 19:38 Europe/Paris, K wrote:

>
>
> I am sorry for my Project Builder ignorance I am used to using Code  
> Warrior (*NIX development) and Visual Studio (Win32 Development).  I  
> seems to be experiencing linking problems with the stanard C/C++  
> library.
>
> Simple example:
>
> NOTE: This is a C version I experience simular problems with may c++  
> version.
>
> #include <stdlib.h>
>
> void somefunction( <revolution/mc signature>)
> {
>   int  result ;
>   char *mcResult_ptr = calloc( (sizeof(int)*8+1), sizeof(char) ) ;
>
>   //Do something..
>
>   itoa( result, mcResult_ptr, 10 ) ;
>
> }
>
>
> Here even though itoa is included via stdlib.h the linker will be  
> unable to locate it.  I assume the glibc/c-lib is  not being linked.   
> How do I correct this in Project Builder?
>
>
> Thanks,
> Kevin
>
> -==-=-=-=-=-=-==-=-=-=-=-=-=-=-==-=-=-=-=-=-
> Disclaimer:
>
> Any resemblance between the above views and those of my
> employer, my terminal, or the view out my window are purely
> coincidental.
> Any resemblance between the above and my own views is  
> non-deterministic.
>
>  The question of the existence of views in the absence of anyone to  
> hold
> them
> is left as an exercise for the reader. The question of the existence of
> the reader
>  is left as an exercise for the second god coefficient.
> (A discussion of non-orthogonal, non-integral polytheism is beyond the
> scope of this article.)
>
>
>
> _______________________________________________
> Join Excite! - http://www.excite.com
> The most personalized portal on the Web!
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>



More information about the use-livecode mailing list