Android 64 bits SQLDrivers/OpenSSL
-
@Pablo-J-Rogina
Ok, let's take the example of trying to get SQL drivers in 64 bits for Android.I'm using those softs : https://postimg.cc/3ycQkCd1
I have msys2 in mingw64 dir like this : https://postimg.cc/0K13StxY
I am using those sources : https://postimg.cc/YL7n0hf8I don't have the errors in my mind, I'll need to try again to showing them. I'm using my teacher's tutorial which is for Android SQL 32 bits and I'm trying to adapt it to 64 bits. I'm French by the way, so sorry if my English isn't perfect.
-
Hi and welcome to devnet,
Please show use your teacher's tutorial. That will allow better understanding of how you are trying to achieve things.
-
Why does that website try to make me open a .dmg file ?
-
Strange... This time it worked properly...
First thing, do you have a 64 Qt Android build ?
Also, ensure that you are using the NDK recommended in the Qt Android Getting Started guide matching the version you are using. -
Good, then what error are you getting currently ?
-
Hey @SGaist,
Here is the first error I'm facing with : https://postimg.cc/jnQ695rn
Here is the config.log file : https://anonfile.com/v0V2N4senc/config_log -
Are you sure the path to the compiler is correct ?
On a side note, the latest Android NDK switched to clang, you might want to use that compiler.
-
Change the path you are using for the compiler to point to clang rather than gcc.
-
Change the
export CC="$BR"gcc
toexport CC="$BR"clang
and the CPP equivalent to point to clang++But first check in which folder you have clang located.
-
Find what ? The clang executable ? If so, how are you searching it ? What version of the NDK are your using ?
-
Do you mean in the log ?