How to use libxml2.robovm?

75 views
Skip to first unread message

纯洁的坏蛋

unread,
Apr 25, 2015, 6:16:36 AM4/25/15
to rob...@googlegroups.com
How to use libxml2.robovm?  I have a third party iOS sdk, and I have to write a binding. but it use libxml2.2.dylib. and how to use it?
 

 <libs>

    <lib>build/libs/ios/libgdx.a</lib>

    <lib>build/libs/ios/libObjectAL.a</lib>

    <lib>build/libs/ios/libTalkingDataGA.a</lib>

    <lib>build/libs/ios/libGTMBase64.a</lib>

    <lib>build/libs/ios/libKYSDK.a</lib>

    <lib>build/libs/ios/libxml2.2.dylib</lib>


but it can not work. please help me. thanks.

Pat

unread,
Sep 15, 2016, 11:51:28 PM9/15/16
to RoboVM
I just came up against the same problem and I fixed it by adding the following into robovm.xml:

<libs>
     
<lib>xml2</lib>
</libs>

If you already have a libs section you just add the <lib>xml2</lib> line inside that block

Looks like whatever library you need, you just remove the 'lib' part
Reply all
Reply to author
Forward
0 new messages