naxingyu / opensmile

A github repo of the openSMILE feature extraction tool.
http://www.audeering.com/research/opensmile
Other
214 stars 79 forks source link

Tracking building issues #6

Open naxingyu opened 6 years ago

naxingyu commented 6 years ago

This thread is opened for tracking building issues after this commit

I have tested on Debian with gcc 4.9.2. Current successful builds:

Anybody who has building errors before that commit, please rerun and see if it works. Thank you!

otefhg commented 6 years ago

Hi naxingyu,

I'm try to build the opemSIMLE android demo app on a Windows 7 machine and I'm using cygwin to run ./buildAndroid.sh.

Unfortunately I'm getting build errors when running ./buildAndroid.sh

Firstly when I run "android-ndk-r10e-windows-x86_64.exe" it creates a folder called "android-ndk-r10e\toolchains\arm-linux-androideabi-4.9\prebuilt\windows-x86_64"

However in ./buildAndroid.sh you reference a linux-x86_64 folder: export NDK_TOOLCHAIN=${NDK}/toolchains/${CROSS_COMPILE}-4.9/prebuilt/linux-x86_64/bin

replacing this with export NDK_TOOLCHAIN=${NDK}/toolchains/${CROSS_COMPILE}-4.9/prebuilt/windows-x86_64/bin

gets me a little further but ultimately I get a build error when "make install" is executed.

The error is: "arm-linux-androideabi-g++.exe: error: /cygdrive/c/Users/ote/Documents/openSMILE/opensmile-master/.libs/libopensmile.a: No such file or directory"

Interestingly I can see opensmile-master.libs\libopensmile.a in my directory. I've also tried shorting my file path lengths but this didn't help.

Any ideas on what could be going wrong?

Regards

naxingyu commented 6 years ago

Sorry I don't have experience with building android. Please refer to https://audeering.com/technology/opensmile/#support

Best, Xingyu Na

On Thu, Mar 22, 2018 at 7:43 PM, otefhg notifications@github.com wrote:

Hi naxingyu,

I'm try to build the opemSIMLE android demo app on a Windows 7 machine and I'm using cygwin to run ./buildAndroid.sh.

Unfortunately I'm getting build errors when running ./buildAndroid.sh

Firstly when I run "android-ndk-r10e-windows-x86_64.exe" it creates a folder called "android-ndk-r10e\toolchains\arm-linux-androideabi-4.9\ prebuilt\windows-x86_64"

However in ./buildAndroid.sh you reference a linux-x86_64 folder: export NDK_TOOLCHAIN=${NDK}/toolchains/${CROSS_COMPILE}-4. 9/prebuilt/linux-x86_64/bin

replacing this with export NDK_TOOLCHAIN=${NDK}/toolchains/${CROSS_COMPILE}-4. 9/prebuilt/windows-x86_64/bin

gets me a little further but ultimately I get a build error when "make install" is executed.

The error is: "arm-linux-androideabi-g++.exe: error: /cygdrive/c/Users/ote/ Documents/openSMILE/opensmile-master/.libs/libopensmile.a: No such file or directory"

Interestingly I can see opensmile-master.libs\libopensmile.a in my directory. I've also tried shorting my file path lengths but this didn't help.

Any ideas on what could be going wrong?

Regards

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/naxingyu/opensmile/issues/6#issuecomment-375275518, or mute the thread https://github.com/notifications/unsubscribe-auth/ADKpxC7anhnU8cnerjVzxYFbiol97Y82ks5tg45qgaJpZM4R2mjr .