pelya / commandergenius

Port of SDL library and several games to the Android OS.
http://libsdl-android.sourceforge.net/
GNU Lesser General Public License v2.1
531 stars 248 forks source link

Xerces lib #104

Open mtotaro opened 5 years ago

mtotaro commented 5 years ago

Hi

I'm having problems to compile the library, especially I would like to get the xerces library and know if I can use it on android, since I'm doing a project and I need that library.

Is there any chance of getting the .so or .a from the compiled xerces library?

Thank you.

pelya commented 5 years ago

Here: https://sourceforge.net/projects/libsdl-android/files/tmp/xerces-precompiled.tar.gz/download

On Wed, Jun 12, 2019 at 6:55 PM mtotaro notifications@github.com wrote:

Hi

I'm having problems to compile the library, especially I would like to get the xerces library and know if I can use it on android, since I'm doing a project and I need that library.

Is there any chance of getting the .so or .a from the compiled xerces library?

Thank you.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/pelya/commandergenius/issues/104?email_source=notifications&email_token=AABF5QB2SUK7Y433GBYRHGLP2EL7HA5CNFSM4HXKNZPKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GZDIF7Q, or mute the thread https://github.com/notifications/unsubscribe-auth/AABF5QASFJKC5AJOATQYQDTP2EL7HANCNFSM4HXKNZPA .

mtotaro commented 5 years ago

Hi, Thanks for your reply, i have the following errors when i try to compile my own library making xerces a static library

libxerces.a(IconvGNUTransService.o):IconvGNUTransService.cpp:function xercesc_3_1::IconvGNUWrapper::toUpper(unsigned short): error: undefined reference to 'SDL_iconv'

libxerces.a(IconvGNUTransService.o):IconvGNUTransService.cpp:function xercesc_3_1::IconvGNUTransService::IconvGNUTransService(xercesc_3_1::MemoryManager*): error: undefined reference to 'SDL_iconv_open'

libxerces.a(IconvGNUTransService.o):IconvGNUTransService.cpp:function xercesc_3_1::IconvGNUTransService::~IconvGNUTransService(): error: undefined reference to 'SDL_iconv_close'

Do you have any idea what is the problem?

mtotaro commented 5 years ago

I was investigating and the problem is in the following path of the folder xercesc \ jni \ xerces \ iconv apparently they are renaming with an extension class .h and now can not find them. When you compiled the .a, the folder xercesc \ jni \ xerces \ iconv was included?

mtotaro commented 5 years ago

Im trying to use my android make like this,

LOCAL_MODULE := libxerces LOCAL_EXPORT_C_INCLUDES := C:\workspaces\Unificada\xercesc\jni\xerces\iconv LOCAL_SRC_FILES := libxerces.a LOCAL_EXPORT_LDLIBS := -lz include $(PREBUILT_STATIC_LIBRARY)

but it dont work... :(

mtotaro commented 5 years ago

I'm always spinning around in the same problem. Could you help me? Really more than 1 week ago I can not move forward with this project.

Thank you.

mtotaro commented 5 years ago

Any idea?

pelya commented 5 years ago

I've built a new version, which should fix linker errors

https://sourceforge.net/projects/libsdl-android/files/tmp/xerces-precompiled-v2.tar.gz/download

On Tue, Jul 2, 2019 at 4:59 PM mtotaro notifications@github.com wrote:

Any idea?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/pelya/commandergenius/issues/104?email_source=notifications&email_token=AABF5QENZFGYCF572ULAD3DP5NNMVA5CNFSM4HXKNZPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZBLWGI#issuecomment-507689753, or mute the thread https://github.com/notifications/unsubscribe-auth/AABF5QF4VAZCEGW4RSZL623P5NNMVANCNFSM4HXKNZPA .