audeering / opensmile

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

Error when running the build process #15

Closed IcyHao closed 2 years ago

IcyHao commented 3 years ago

Hi, I try to set up opensmile on my laptop and when I run the command " powershell -ExecutionPolicy Bypass -File build.ps1", I got a warning and an error. I can't figure out what goes wrong. Could you give me some help?

chausner-audeering commented 3 years ago

"D:\opensmile\build\CMakeFiles\3.20.2\CompilerIdC\CompilerIdC.vcxproj" (default target) (1) -> (PrepareForBuild target) -> C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppBuild.targets(473,5): warning MSB8003: The WindowsSDKDir property is not defined. Some build tools may not be found. [D:\opensmile\build\CMakeFiles\3.20.2\CompilerIdC\CompilerIdC.vcxproj]

It seems something is wrong with your Visual Studio installation. Make sure you have Visual Studio C++ installed with all default components.

IcyHao commented 3 years ago

Ok, I got it. When I try to run the "SMILExtract -h" command, it says it is not recognized but I had already added the build/progsrc/smilextract to the path. Is there any further step I need to do?

chausner-audeering commented 3 years ago

On Windows, make sure to close and reopen any command-prompts after changing the PATH. No further steps are necessary. If it still does not work, something is wrong in how you added the build folder to the PATH.

chausner-audeering commented 2 years ago

I'll close this issue due to inactivity.