opensmile icon indicating copy to clipboard operation
opensmile copied to clipboard

installation errors in openSmile

Open brianbaloch opened this issue 7 years ago • 29 comments

I downloaded its master version from this site. extracted it's folder. then using cmd PANEL. I gave path to file openSmile which opened my visual studio2013. then i select the release instead of debug for opensmile and kept all other options by default. as there was option of Win32. I kept it same. even though my window is 64bit. please help me. it gives of 7 errors.

  1. error MSB4019: gnuGpl.prop
  2. error C1083: 'portaudio.h' no such file
  3. error C1083: 'portaudio.h' no such file and so many

brianbaloch avatar Sep 03 '16 17:09 brianbaloch

Dear Sir,

                I downloaded and unzipped latest version openSMILE2.2 for Window. I am using windw7(64 bit) & Visual studio2013. thereafter I open cmd and give path of \openSMILE-2.2\ide\vs10\openSmile.sln.  it opened  visual studio 2013. then I changed option from debug to Release for 5 of them(openSmileLib , openSmileLibClassif, openSmileLibLibsvm,  openSmileLibPortaudio, SMILExtract ). and Kept all other options same like Win32 etc.  please help me. it gives me errors. please help me in resolving this issue of installation.
  1. error MSB8020: The build tools for Visual Studio 2010 (Platform Toolset = 'v100') cannot be found. To build using the v100 build tools, please install Visual Studio 2010 build tools. Alternatively, you may upgrade to the current Visual Studio tools by selecting the Project menu or right-click the solution, and then selecting "Upgrade Solution...". C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.Cpp.Platform.targets 64 5

2.error LNK1181: 'C:\Users\Hussain\Downloads\openSMILE2.2\msvcbuild\openSmileLib_Release.lib' 입력 파일을 열 수 없습니다. C:\Users\Hussain\Downloads\openSMILE-2.2\openSMILE\ide\vs10\LINK

3.error C1083: 소스 파일을 열 수 없습니다. '....\src\smileutil\smileUtilSpline.cpp': No such file or directory C:\Users\Hussain\Downloads\openSMILE-2.2\openSMILE\ide\vs10\c1xx

4.error C1083: 소스 파일을 열 수 없습니다. '....\src\smileutil\smileUtil.cpp': No such file or directory C:\Users\Hussain\Downloads\openSMILE-2.2\openSMILE\ide\vs10\c1xx

brianbaloch avatar Sep 04 '16 10:09 brianbaloch

The repo has been updated. Please pull.

naxingyu avatar Feb 02 '18 02:02 naxingyu

I downloaded and tried to install opensmile in windows 7 64 bit pc. After unzipping the folder, i went into the ide/vs10 folder and opened the opensmile.sln file in microsoft visual studio 2017. Then i selected the release and win32 configurations and tried to build the solution. the following error comes up. Please help me out in installing it without error as i am in dire need of this toolkit for feature extraction. Thanks in advance

**

Severity Code Description Project File Line Suppression State Error LNK2001 unresolved external symbol "public: static class sComponentInfo * __cdecl cSimpleMessageSender::registerComponent(class cConfigManager *,class cComponentManager *)" (?registerComponent@cSimpleMessageSender@@SAPAVsComponentInfo@@PAVcConfigManager@@PAVcComponentManager@@@Z) openSmileLib C:\Users\Sandeep\Downloads\opensmile-master\opensmile-master\ide\vs10\componentManager.obj 1 Error LNK2001 unresolved external symbol "protected: virtual void __thiscall cSimpleMessageSender::fetchConfig(void)" (?fetchConfig@cSimpleMessageSender@@MAEXXZ) openSmileLib C:\Users\Sandeep\Downloads\opensmile-master\opensmile-master\ide\vs10\componentManager.obj 1 Error LNK2001 unresolved external symbol "protected: virtual int __thiscall cSimpleMessageSender::myFinaliseInstance(void)" (?myFinaliseInstance@cSimpleMessageSender@@MAEHXZ) openSmileLib C:\Users\Sandeep\Downloads\opensmile-master\opensmile-master\ide\vs10\componentManager.obj 1 Error LNK2001 unresolved external symbol "protected: virtual int __thiscall cSimpleMessageSender::myTick(__int64)" (?myTick@cSimpleMessageSender@@MAEH_J@Z) openSmileLib C:\Users\Sandeep\Downloads\opensmile-master\opensmile-master\ide\vs10\componentManager.obj 1 Error LNK2001 unresolved external symbol "protected: virtual int __thiscall cSimpleMessageSender::processComponentMessage(class cComponentMessage *)" (?processComponentMessage@cSimpleMessageSender@@MAEHPAVcComponentMessage@@@Z) openSmileLib C:\Users\Sandeep\Downloads\opensmile-master\opensmile-master\ide\vs10\componentManager.obj 1 Error LNK2019 unresolved external symbol "public: virtual __thiscall cSimpleMessageSender::~cSimpleMessageSender(void)" (??1cSimpleMessageSender@@UAE@XZ) referenced in function "public: virtual void * __thiscall cSimpleMessageSender::`vector deleting destructor'(unsigned int)" (??_EcSimpleMessageSender@@UAEPAXI@Z) openSmileLib C:\Users\Sandeep\Downloads\opensmile-master\opensmile-master\ide\vs10\componentManager.obj 1 Error LNK1120 6 unresolved externals openSmileLib C:\Users\Sandeep\Downloads\opensmile-master\msvcbuild\openSmileLib_Release.dll 1

** error

sandeeppandey456 avatar Mar 31 '18 09:03 sandeeppandey456

Hi I have the exact same problem as in the post above. Would be glad for some advice

itayrin avatar Apr 04 '18 07:04 itayrin

@sandeeppandey456 Is this file available? C:\Users\Sandeep\Downloads\opensmile-master\msvcbuild\openSmileLib_Release.dll

naxingyu avatar Apr 04 '18 07:04 naxingyu

@sandeeppandey456 @itayrin Copy the bin\Win32\openSmileLib_Release.dll to msvcbuild Then run the exe.

naxingyu avatar Apr 04 '18 09:04 naxingyu

@naxingyu Thanks. I ran the "./SMILExtract_Release.exe -h " and it worked. However, I'm trying to actually install the android version of openSMILE, At first I thought it must be installed in Windows first, now I'm not sure about that. Anyway, after following the openSMILE_book pdf - I downloaded and extracted the android ndk r10e (also installed a newer version - r16b by android studio), edited the relevant PATH variable in buildAndroid.sh. When I executed I got this:

image

I googled how to install these missing linux tools on windows and tried to install them by Cygwin, but it appears something was missed because I still get the same result. Any help would be appreciated!

itayrin avatar Apr 05 '18 19:04 itayrin

@itayrin I looked at the autogen script, it simply call the tools. It seems that the tools, although installed, are not available. Try call them directly in your CLI. But generally I don't think it is an opensmile issue.

naxingyu avatar Apr 08 '18 02:04 naxingyu

@naxingyu Thanks again for the answer. I think that these tools aren't automatically available for the plain windows user. I'm trying to install these linux-based tools in windows for a few days now and having trouble installing them (At first tried installing with Cygwin64, didn't work so now trying with GNU32, still having problems). I don't know if you are related to the developers, but I think that if those tools are obligatory to have before installing opensmile on android, it would have been easier if it was just mentioned how to install them in the manual pdf.

Do you have by chance any experience with installing opensmile on android? maybe it's better to install it in linux and work on the app from there? I just prefered windows since I'm used to working with android studio there.

itayrin avatar Apr 08 '18 08:04 itayrin

I don't have experience with installing opensmile on android. Sorry.

Best, Xingyu Na

On Sun, Apr 8, 2018 at 4:54 PM, itayrin [email protected] wrote:

@naxingyu https://github.com/naxingyu Thanks again for the answer. I think that these tools aren't automatically available for the plain windows user. I'm trying to install these linux-based tools in windows for a few days now and having trouble installing them (At first tried installing with Cygwin64, didn't work so now trying with GNU32, still having problems). I don't know if you are related to the developers, but I think that if those tools are obligatory to have before installing opensmile on android, it would have been easier if it was just mentioned how to install them in the manual pdf.

Do you have by chance any experience with installing opensmile on android? maybe it's better to install it in linux and work on the app from there? I just prefered windows since I'm used to working with android studio there.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/naxingyu/opensmile/issues/1#issuecomment-379533046, or mute the thread https://github.com/notifications/unsubscribe-auth/ADKpxMM8LcackvSVU8asrtEfpw_Fs63-ks5tmdA-gaJpZM4J0WX3 .

naxingyu avatar Apr 08 '18 09:04 naxingyu

downloaded and tried to install opensmile 2.3.0 version in windows 10 64 bit pc. After unzipping the folder, i went into the ide/vs10 folder and opened the opensmile.sln file in microsoft visual studio 2017. Then i selected the release and win32 configurations and tried to build the solution. the following error comes up. Please help me out in installing it without error . i have urgent need of feature extrection tool please help me out.. thanks installation error

KA-TJB avatar Jul 01 '18 08:07 KA-TJB

I have the same errors as @KA-TJB.

kkawabat avatar Jul 18 '18 14:07 kkawabat

I have the same problem as @kkawabat and @KA-TJB for installing on win10, 64bit

elahia avatar Nov 06 '18 15:11 elahia

I have the same errors

dangvansam avatar Jan 08 '19 08:01 dangvansam

image

dangvansam avatar Jan 08 '19 08:01 dangvansam

I was facing the same issue as @dangvansam98, @kkawabat ,@KA-TJB f ... contacted audeering team and they suggested to delete line 36: #include <examples/simpleMessageSender.hpp> in src/include/core/componentList.hpp . After commenting this import I was able to successfully build openSmile 2.3 repository.

manvikamboj avatar Feb 20 '19 03:02 manvikamboj

Thanks @manvikamboj, that worked for me and helped me build openSMILE without any errors. But I am unable to run the SMILExtract_release executable on Windows 10. Do you know what could be the issue?

sahanaamurthy avatar Feb 24 '19 16:02 sahanaamurthy

I'm able to run the executable on Windows 10 using following command on command line: /msvcbuild/SMILExtract_Release.exe -C /opensmile/config/IS09_emotion.conf -I /input.mp4.wav -O /features/output.arff One thing you can check is if you added the executable path correctly in the PATH variable for the environment variables.

manvikamboj avatar Feb 24 '19 22:02 manvikamboj

@manvikamboj Thanks for the command. I tried it on mine but I get the following error.

SMILExtract_Release.exe -C /opensmile/config/IS09_emotion.conf -I input_audio.wav -O output.arff (MSG) [2] in SMILExtract : openSMILE starting! (MSG) [2] in SMILExtract : config file is: /opensmile/config/IS09_emotion.conf (MSG) [2] in cComponentManager : successfully registered 95 component types. (ERROR) [1] in configManager : cFileConfigReader::openInput : cannot open input file '/opensmile/config/IS09_emotion.conf'! (ERROR) [1] in configManager : cFileConfigReader::openInput : cannot open input file '/opensmile/config/IS09_emotion.conf'!

It works for config/prosodyShs.conf and onfig/MFCC12_0_D_A.conf files though. But the output values are not readable. Do you know how to interpret the prosody features extracted?

sahanaamurthy avatar Feb 25 '19 00:02 sahanaamurthy

OpenSmile executable is running as seen in the first message. Problem is with your path...cross check if the config files are accessible from the same path as in the command from the folder you are running it from.

On Sun, Feb 24, 2019 at 7:37 PM Sahana A Murthy [email protected] wrote:

@manvikamboj https://github.com/manvikamboj Thanks for the command. I tried it on mine but I get the following error.

SMILExtract_Release.exe -C /opensmile/config/IS09_emotion.conf -I input_audio.wav -O output.arff (MSG) [2] in SMILExtract : openSMILE starting! (MSG) [2] in SMILExtract : config file is: /opensmile/config/IS09_emotion.conf (MSG) [2] in cComponentManager : successfully registered 95 component types. (ERROR) [1] in configManager : cFileConfigReader::openInput : cannot open input file '/opensmile/config/IS09_emotion.conf'! (ERROR) [1] in configManager : cFileConfigReader::openInput : cannot open input file '/opensmile/config/IS09_emotion.conf'!

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/naxingyu/opensmile/issues/1#issuecomment-466835641, or mute the thread https://github.com/notifications/unsubscribe-auth/Ab7udRniME2aNQbFYxJNDOSJaI1TP2pHks5vQzBegaJpZM4J0WX3 .

manvikamboj avatar Feb 25 '19 16:02 manvikamboj

hi i tried install opensmile on visual studio 2010 and win 8.1 64 bit but when i writ this cod : SMILExtract_Release -c has errors that see it : pleases help me image

shiva12121 avatar Oct 13 '19 15:10 shiva12121

I was facing the same issue as @dangvansam98, @kkawabat ,@KA-TJB f ... contacted audeering team and they suggested to delete line 36: #include <examples/simpleMessageSender.hpp> in src/include/core/componentList.hpp . After commenting this import I was able to successfully build openSmile 2.3 repository.

Awesome, worked for me too after commenting line 36. Many thanks! My setup: Win 10 64-bit, VS 2019, opensmile 2.3.0, build configuration: Release Win32. Though, I found my build in the home directory "~/msvcbuild/" instead of "opensmile/msvcbuild" like indicated in the openSMILE manual PDF.

atwing avatar Mar 05 '20 09:03 atwing

I still get this error. My file "src/include/core/componentList.hpp" doesn't contain the line #include <examples/simpleMessageSender.hpp> What am I doing wrong?

MatjazBostic avatar Jul 22 '20 10:07 MatjazBostic

/msvcbuild/SMILExtract_Release.exe -C /opensmile/config/IS09_emotion.conf -I /input.mp4.wav -O /features/output.arff

Can you explain how to edit the Environment Variable in this case

vybhav72954 avatar Jul 25 '20 01:07 vybhav72954

I still get this error. My file "src/include/core/componentList.hpp" doesn't contain the line #include <examples/simpleMessageSender.hpp> What am I doing wrong?

are you running opensmile 2.3.0?

This is what my file looks like: Screenshot_169

atwing avatar Jul 25 '20 12:07 atwing

/msvcbuild/SMILExtract_Release.exe -C /opensmile/config/IS09_emotion.conf -I /input.mp4.wav -O /features/output.arff

Can you explain how to edit the Environment Variable in this case

@vybhav72954 In command prompt, to check your current environment variables: echo %PATH% To modify environment variable setx PATH=%PATH%;C:\your\path\here\

Example: setx PATH=%PATH%;C:\User\testuser\msvcbuild\ then run openSMILE via: SMILExtract_Release.exe -C /opensmile/config/IS09_emotion.conf -I /input.mp4.wav -O /features/output.arff

Tested on Windows 10

atwing avatar Jul 25 '20 12:07 atwing

/msvcbuild/SMILExtract_Release.exe -C /opensmile/config/IS09_emotion.conf -I /input.mp4.wav -O /features/output.arff

Can you explain how to edit the Environment Variable in this case

@vybhav72954 In command prompt, to check your current environment variables: echo %PATH% To modify environment variable setx PATH=%PATH%;C:\your\path\here\

Example: setx PATH=%PATH%;C:\User\testuser\msvcbuild\ then run openSMILE via: SMILExtract_Release.exe -C /opensmile/config/IS09_emotion.conf -I /input.mp4.wav -O /features/output.arff

Tested on Windows 10

Thank you so much, the solution does works, but apparently, that was not the problem in my case, I was just feeding the wrong path for the conf file in my Python Code, Thank you

vybhav72954 avatar Aug 04 '20 19:08 vybhav72954

downloaded and tried to install opensmile 2.3.0 version in windows 10 64 bit pc. After unzipping the folder, i went into the ide/vs10 folder and opened the opensmile.sln file in microsoft visual studio 2017. Then i selected the release and win32 configurations and tried to build the solution. the following error comes up. Please help me out in installing it without error . i have urgent need of feature extrection tool please help me out.. thanks installation error

Antimatterr avatar Sep 19 '20 08:09 Antimatterr

same!!!!!!!!!!

Antimatterr avatar Sep 19 '20 08:09 Antimatterr