[caldeveloper-l] Android libical build issue question

Ken Murchison murch at andrew.cmu.edu
Fri Nov 18 05:21:21 PST 2016


I wonder if this would be helpful: 
https://github.com/libical/libical/blob/master/cmake/Toolchain-android.cmake


On 11/18/2016 07:49 AM, Ken Murchison wrote:
>
> Hi Ciny,
>
> I have a lot of experience with libical, but only on Linux.  I know 
> nothing about the Android development environment.
>
> I'd suggest that your developer send this question to the 
> libical-devel mailing list: 
> http://lists.infradead.org/mailman/listinfo/libical-devel
>
>
>
> On 11/17/2016 06:46 PM, Ciny Joy wrote:
>>
>> Hi,
>>
>>    Just sending out a query from a team member just in case someone 
>> has a suggestion that might help.
>>
>> Thanks in advance,
>>
>> Ciny
>>
>>
>> /Hi, //
>> / /
>> //I have been trying to build the libical 2.0.0 open source library 
>> for use on Android development.  Since the Android Bionic C has a 
>> minimal C implementation, the struct lconv is an empty stub causing 
>> compilation error //
>> / /
>> //[ 21%] Building C object 
>> src/libical/CMakeFiles/ical.dir/icalvalue.c.o //
>> ///Users/chichau/hg1234/android/lib/libical/libical-2.0.0/src/libical/icalvalue.c: 
>> In function 'simple_str_to_double': //
>> ///Users/chichau/hg1234/android/lib/libical/libical-2.0.0/src/libical/icalvalue.c:413:52: 
>> error: 'struct lconv' has no member named 'decimal_point' //
>> //         if (start[i] == '.' && loc_data && loc_data->decimal_point 
>> && loc_data->decimal_point[0] //
>> / /
>> / /
>> //However, the Android NDK distribution has included in 
>> ndk-bundle/sources/android/support source files for better locale 
>> support and other things.  I could not find information on how to 
>> make use of these source files in a CMake based build system which 
>> the libical library uses. Has anyone had any experiences to share? //
>> / /
>> //Thanks, //
>> / /
>> //Chiu /
>>
>>
>>
>> _______________________________________________
>> caldeveloper-l mailing list
>> caldeveloper-l at lists.calconnect.org
>> http://lists.calconnect.org/listinfo.cgi/caldeveloper-l-calconnect.org
>
> -- 
> Kenneth Murchison
> Principal Systems Software Engineer
> Carnegie Mellon University
>
>
> _______________________________________________
> caldeveloper-l mailing list
> caldeveloper-l at lists.calconnect.org
> http://lists.calconnect.org/listinfo.cgi/caldeveloper-l-calconnect.org

-- 
Kenneth Murchison
Principal Systems Software Engineer
Carnegie Mellon University

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.calconnect.org/pipermail/caldeveloper-l-calconnect.org/attachments/20161118/db8d19f6/attachment.htm>


More information about the caldeveloper-l mailing list