grijjy / GrijjyCloudLogger

GrijjyCloudLogger, remote logging for Windows, iOS, Android, macOS and Linux
Other
109 stars 30 forks source link

Problem while linking an app for android #6

Open gliden opened 6 years ago

gliden commented 6 years ago

We have are having a problem while linking for Android. Your demo and a simple project are working. Do you have an idea why this happens?

Loggingj

grijjy commented 6 years ago

Are you saying that it works with the android library we pre-built and included for ZeroMQ, but it does not work when you attempt to build ZeroMQ yourself? Also please paste the text, not an image as it is too hard to read/decipher.

gliden commented 6 years ago

I only added the Unit Grijjy.CloudLogging to a Firemonkey-Form. We want to use the pre-built library. Please find attached the complete log.

CompilerLog.txt

grijjy commented 6 years ago

The only requirement is that you make sure the Android .a library folder is in your project path. From the error log it appears it cannot link to the standard C library. Does your project include any special linker parameters like Gnu.. or LibC... etc.? You shouldn't need.

gliden commented 6 years ago

We found out that the Datasnap-Units are the problem. Please find attached a demo project. CloudLoggingTest.zip

freitasjca commented 2 years ago

Hi, How can I generate libzmq-android32.a and libzmq-android64.a? I have the same problem tying to compile LogClientFMX for Android using SDK 25.2.5. The pre compiled libraries may not be compatible with this version of Android SDK

Compile_Messages.txt