Comments (3)
From the log I see that PortAudio is clearly not getting included in the build. Did you set
Line 38 in 4097f02
ON
?
(ERR) [1] configManager: cFileConfigReader::openInput : cannot find input file 'config/demo/audiorecorder.conf'!
This error means you ran the command from a working directory different than the repository root. Make sure that the relative path to audiorecorder.conf
is correct, depending on the current directory you ran the command from.
from opensmile.
Thank you for the quick response. I've tried it again with the setting -DWITH_PORTAUDIO=ON
in build_flags.sh. However, it seems like PortAudio is not included in the Build. I do not see any clues in the output.
Maybe there is one helpful error? However, I still do not know what is wrong.
(ERR) [1] cComponentManager: cannot add component (instname='portaudioSource' type='cPortaudioSource'): unknown component type!!
`
** Visual Studio 2019 Developer Command Prompt v16.11.5
** Copyright (c) 2021 Microsoft Corporation
[vcvarsall.bat] Environment initialized for: 'x64'
C:\Windows\System32>cd C:\Users\schneegans\Documents\github\everyday_audio\packages\vcpkg
C:\Users\schneegans\Documents\github\everyday_audio\packages\vcpkg>.\vcpkg install portaudio:x64-windows
Computing installation plan...
The following packages are already installed:
portaudio[core]:x64-windows -> 19.7#2
Package portaudio:x64-windows is already installed
Restored 0 packages from C:\Users\schneegans\AppData\Local\vcpkg\archives in 478.8 us. Use --debug to see more details.
Total elapsed time: 231.5 ms
The package portaudio provides CMake targets:
find_package(portaudio CONFIG REQUIRED)
target_link_libraries(main PRIVATE portaudio)
C:\Users\schneegans\Documents\github\everyday_audio\packages\vcpkg>cd ../20211118_opensmile
C:\Users\schneegans\Documents\github\everyday_audio\packages\20211118_opensmile>powershell -ExecutionPolicy Bypass -File build.ps1
-- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.19043.
-- The C compiler identification is MSVC 19.29.30136.0
-- The CXX compiler identification is MSVC 19.29.30136.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Git: C:/Program Files/Git/cmd/git.exe (found version "2.33.0.windows.2")
-- Looking for pthread.h
-- Looking for pthread.h - not found
-- Found Threads: TRUE
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/schneegans/Documents/github/everyday_audio/packages/20211118_opensmile/build
Microsoft (R) Build Engine version 16.11.1+3e40a09f8 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.
Checking Build System
Building Custom Rule C:/Users/schneegans/Documents/github/everyday_audio/packages/20211118_opensmile/src/newmat/CMake
Lists.txt
bandmat.cpp
cholesky.cpp
evalue.cpp
fft.cpp
hholder.cpp
jacobi.cpp
myexcept.cpp
newfft.cpp
newmat1.cpp
newmat2.cpp
newmat3.cpp
newmat4.cpp
newmat5.cpp
newmat6.cpp
newmat7.cpp
newmat8.cpp
newmat9.cpp
newmatex.cpp
newmatnl.cpp
newmatrm.cpp
Generating Code...
Compiling...
solution.cpp
sort.cpp
submat.cpp
svd.cpp
Generating Code...
newmat.vcxproj -> C:\Users\schneegans\Documents\github\everyday_audio\packages\20211118_opensmile\build\src\newmat\ne
wmat.dir\Release\newmat.lib
Building Custom Rule C:/Users/schneegans/Documents/github/everyday_audio/packages/20211118_opensmile/CMakeLists.txt
juliusSink.cpp
svm.cpp
libsvmliveSink.cpp
C:\Users\schneegans\Documents\github\everyday_audio\packages\20211118_opensmile\src\classifiers\libsvmliveSink.cpp(323,
42): warning C4018: '>': signed/unsigned mismatch [C:\Users\schneegans\Documents\github\everyday_audio\packages\2021111
8_opensmile\build\opensmile.vcxproj]
C:\Users\schneegans\Documents\github\everyday_audio\packages\20211118_opensmile\src\classifiers\libsvmliveSink.cpp(337,
46): warning C4018: '>': signed/unsigned mismatch [C:\Users\schneegans\Documents\github\everyday_audio\packages\2021111
8_opensmile\build\opensmile.vcxproj]
svmSink.cpp
commandlineParser.cpp
componentManager.cpp
configManager.cpp
dataMemory.cpp
dataProcessor.cpp
dataReader.cpp
dataSelector.cpp
dataSink.cpp
dataSource.cpp
dataWriter.cpp
exceptions.cpp
nullSink.cpp
smileCommon.cpp
smileComponent.cpp
smileLogger.cpp
vecToWinProcessor.cpp
Compiling...
vectorProcessor.cpp
vectorTransform.cpp
winToVecProcessor.cpp
windowProcessor.cpp
dbA.cpp
signalGenerator.cpp
smileResample.cpp
specResample.cpp
vadV1.cpp
specScale.cpp
acf.cpp
amdf.cpp
contourSmoother.cpp
deltaRegression.cpp
fftmagphase.cpp
framer.cpp
fullinputMean.cpp
fullturnMean.cpp
monoMixdown.cpp
preemphasis.cpp
Compiling...
transformFft.cpp
turnDetector.cpp
vectorMVN.cpp
vectorPreemphasis.cpp
windower.cpp
exampleSink.cpp
exampleSource.cpp
simpleMessageSender.cpp
ffmpegSource.cpp
functionalComponent.cpp
functionalCrossings.cpp
functionalDCT.cpp
functionalExtremes.cpp
functionalLpc.cpp
functionalMeans.cpp
functionalMoments.cpp
functionalOnset.cpp
functionalPeaks.cpp
functionalPeaks2.cpp
functionalPercentiles.cpp
Compiling...
functionalRegression.cpp
functionalSamples.cpp
functionalSegments.cpp
functionalTimes.cpp
functionalModulation.cpp
functionals.cpp
libsvmSink.cpp
arffSink.cpp
arffSource.cpp
csvSink.cpp
csvSource.cpp
datadumpSink.cpp
dataPrintSink.cpp
htkSink.cpp
htkSource.cpp
externalSink.cpp
externalSource.cpp
externalAudioSource.cpp
waveSink.cpp
waveSinkCut.cpp
Compiling...
waveSource.cpp
cens.cpp
chroma.cpp
formantLpc.cpp
formantSmoother.cpp
lpc.cpp
lsp.cpp
pitchDirection.cpp
pitchJitter.cpp
pitchShs.cpp
pitchSmootherViterbi.cpp
tonefilt.cpp
tonespec.cpp
harmonics.cpp
energy.cpp
intensity.cpp
melspec.cpp
mfcc.cpp
mzcr.cpp
pitchACF.cpp
Compiling...
pitchBase.cpp
pitchSmoother.cpp
plp.cpp
spectral.cpp
bowProducer.cpp
maxIndex.cpp
valbasedSelector.cpp
vectorConcat.cpp
vectorBinaryOperation.cpp
vectorOperation.cpp
externalMessageInterface.cpp
portaudioDuplex.cpp
portaudioSink.cpp
portaudioSource.cpp
portaudioWavplayer.cpp
openslesSource.cpp
jniMessageInterface.cpp
rnn.cpp
rnnProcessor.cpp
rnnSink.cpp
Compiling...
rnnVad2.cpp
smileUtilCsv.cpp
zerosolve.cpp
JsonClasses.cpp
openCVSource.cpp
fftsg.c
smileUtil.c
smileUtilSpline.c
opensmile.vcxproj -> C:\Users\schneegans\Documents\github\everyday_audio\packages\20211118_opensmile\build\Release\op
ensmile.lib
Building Custom Rule C:/Users/schneegans/Documents/github/everyday_audio/packages/20211118_opensmile/progsrc/smileapi
/CMakeLists.txt
Building Custom Rule C:/Users/schneegans/Documents/github/everyday_audio/packages/20211118_opensmile/progsrc/smilextr
act/CMakeLists.txt
SMILEapi.cpp
SMILExtract.cpp
opensmile.lib(smileCommon.obj) : MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /
LTCG to the link command line to improve linker performance
opensmile.lib(smileCommon.obj) : MSIL .netmodule or module compiled with /GL found; restarting link with /LTCG; add /
LTCG to the link command line to improve linker performance
Generating code
Creating library C:/Users/schneegans/Documents/github/everyday_audio/packages/20211118_opensmile/build/progsrc/smi
leapi/Release/SMILEapi.lib and object C:/Users/schneegans/Documents/github/everyday_audio/packages/20211118_opensmile
/build/progsrc/smileapi/Release/SMILEapi.exp
Generating code
C:\Users\schneegans\Documents\github\everyday_audio\packages\20211118_opensmile\src\lld\harmonics.cpp(431): warning C47
23: potential divide by 0 [C:\Users\schneegans\Documents\github\everyday_audio\packages\20211118_opensmile\build\progsr
c\smilextract\SMILExtract.vcxproj]
C:\Users\schneegans\Documents\github\everyday_audio\packages\20211118_opensmile\src\lld\harmonics.cpp(431): warning C47
23: potential divide by 0 [C:\Users\schneegans\Documents\github\everyday_audio\packages\20211118_opensmile\build\progsr
c\smileapi\SMILEapi.vcxproj]
Finished generating code
Finished generating code
SMILExtract.vcxproj -> C:\Users\schneegans\Documents\github\everyday_audio\packages\20211118_opensmile\build\progsrc
smilextract\Release\SMILExtract.exe
SMILEapi.vcxproj -> C:\Users\schneegans\Documents\github\everyday_audio\packages\20211118_opensmile\build\progsrc\smi
leapi\Release\SMILEapi.dll
Building Custom Rule C:/Users/schneegans/Documents/github/everyday_audio/packages/20211118_opensmile/CMakeLists.txt
C:\Users\schneegans\Documents\github\everyday_audio\packages\20211118_opensmile>SMILExtract -H cPortaudio
(MSG) [2] SMILExtract: openSMILE starting!
(MSG) [2] SMILExtract: config file is: smile.conf
(MSG) [2] cComponentManager: successfully registered 103 component types.
C:\Users\schneegans\Documents\github\everyday_audio\packages\20211118_opensmile>SMILExtract -C config/demo/audiorecorder.conf -sampleRate 44100 -channels 2 -O output.wav
(MSG) [2] SMILExtract: openSMILE starting!
(MSG) [2] SMILExtract: config file is: config/demo/audiorecorder.conf
(MSG) [2] cComponentManager: successfully registered 103 component types.
(ERR) [0] commandlineParser: parse: unknown option '-sampleRate' on commandline!
(ERR) [0] commandlineParser: parse: unknown option '-channels' on commandline!
(ERR) [1] cComponentManager: cannot add component (instname='portaudioSource' type='cPortaudioSource'): unknown component type!!
(ERR) [1] cComponentManager: error during addComponent (returnVal=-1)!
C:\Users\schneegans\Documents\github\everyday_audio\packages\20211118_opensmile>
`
from opensmile.
Thank you for the quick response. I've tried it again with the setting -DWITH_PORTAUDIO=ON in build_flags.sh.
Sorry, I missed that you are compiling on Windows. For MSVC, you need to use build_flags.ps1
instead of build_flags.sh
.
from opensmile.
Related Issues (20)
- zsh: command not found: SMILExtract HOT 4
- OpenSmile output export HOT 2
- Ndst in ./src/lldcore/intensity.cpp HOT 2
- Why the output line in csv file always have some badlines? HOT 1
- eGeMAPS Implementation HOT 1
- build error no such file src/include/io/rosSink.hpp:55:10: fatal error: ros/ros.h: HOT 2
- AttributeError: module 'opensmile' has no attribute 'Smile' HOT 1
- version `GLIBC_***` is too low to run. HOT 1
- Reading features from output file HOT 4
- Custom `win_len` and `hop_dur` in openSmile python
- Compiling from Source m1 Mac; finite
- Issue with smileMath_csplint_init when migrating from version 2.0 to 3.*
- "SMILE3.0.1 error mentioning no smile-conf file"
- Spectral Centroid for white noise has large offset HOT 1
- Error about “Extracting features with OpenCV” HOT 1
- error in prosodyShs.conf
- The audio name in the output of SMILExtract is noname HOT 5
- (ERR) [1] configManager: cFileConfigReader::openInput : cannot find input file 'smile.conf'! HOT 1
- How to get eGeMAPSv02 low level descriptors HOT 1
- How to only calculate subset of features?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opensmile.