audeering / opensmile

The Munich Open-Source Large-Scale Multimedia Feature Extractor
https://audeering.github.io/opensmile/
Other
584 stars 75 forks source link

Execution failed for task ':opensmile:generateJsonModelDebug'. #6

Closed Iesus90 closed 3 years ago

Iesus90 commented 3 years ago

Task :opensmile:generateJsonModelDebug FAILED

FAILURE: Build failed with an exception.

Can someone help me ?

chausner-audeering commented 3 years ago

Can you please post the exact command you use to compile the Android sample?

@hesamsagha Any idea why that file is missing?

hesamsagha commented 3 years ago

could you comment out references (includes) to the git_version.* in the codes?

hagenw commented 3 years ago

could you comment out references (includes) to the git_version.* in the codes?

Is this the considered way of building it, or should we maybe fix the code by removing git_version.* or adding the missing file?

Iesus90 commented 3 years ago

I was able to solve this problem.

Iesus90 commented 3 years ago

Now I have this error: Run command gradlew opensmile:assemble

clang++: warning: argument unused during compilation: '-fuse-ld=gold' [-Wunused-command-line-argument] ../../../../src/smileapi/SMILEapi.cpp:14:10: fatal error: 'smileapi/SMILEapi.h' file not found

include <smileapi/SMILEapi.h>

       ^~~~~~~~~~~~~~~~~~~~~

1 error generated. [154/157] Building CXX object src/smilextract/CMakeFiles/SMILExtract.dir/SMILExtract.cpp.o clang++: warning: argument unused during compilation: '-fuse-ld=gold' [-Wunused-command-line-argument] [155/157] Linking CXX shared library ........\build\intermediates\cmake\debug\obj\armeabi-v7a\libopensmile.so ninja: build stopped: subcommand failed.

Iesus90 commented 3 years ago

Ok. All Right