opensmile icon indicating copy to clipboard operation
opensmile copied to clipboard

Tracking building issues

Open naxingyu opened this issue 6 years ago • 2 comments

This thread is opened for tracking building issues after this commit

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

  • buildStandalone.sh
  • buildWithPortAudio.sh

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

naxingyu avatar Feb 02 '18 02:02 naxingyu

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

otefhg avatar Mar 22 '18 11:03 otefhg

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 [email protected] 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 .

naxingyu avatar Mar 23 '18 01:03 naxingyu