Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Xerces lib #104

Open
mtotaro opened this issue Jun 12, 2019 · 7 comments
Open

Xerces lib #104

mtotaro opened this issue Jun 12, 2019 · 7 comments

Comments

@mtotaro
Copy link

mtotaro commented Jun 12, 2019

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
Copy link
Owner

pelya commented Jun 14, 2019 via email

@mtotaro
Copy link
Author

mtotaro commented Jun 19, 2019

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
Copy link
Author

mtotaro commented Jun 21, 2019

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
Copy link
Author

mtotaro commented Jun 21, 2019

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
Copy link
Author

mtotaro commented Jun 28, 2019

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
Copy link
Author

mtotaro commented Jul 2, 2019

Any idea?

@pelya
Copy link
Owner

pelya commented Jul 2, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants