Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any idea to make it work on Windows? #26

Open
moebiussurfing opened this issue Apr 14, 2020 · 2 comments
Open

Any idea to make it work on Windows? #26

moebiussurfing opened this issue Apr 14, 2020 · 2 comments

Comments

@moebiussurfing
Copy link

any chance to compile on Windows?
Essentia looks multiplatform and also https://github.com/npisanti/ofxAudioFile could work as file loader maybe.

@moebiussurfing moebiussurfing changed the title Any to make it works on Windows? Any idea to make it works on Windows? Apr 14, 2020
@moebiussurfing moebiussurfing changed the title Any idea to make it works on Windows? Any idea to make it work on Windows? Apr 14, 2020
@leozimmerman
Copy link
Owner

It can certainly be compiled on Windows. You'll need to compile first Essentia for Windows and probably that will be enough.
I don't use Windows pcs and honestly I'm not maintaining this addon very much anymore

@moebiussurfing
Copy link
Author

moebiussurfing commented May 13, 2020

Thanks for your addon @leozimmerman , and sorry to ask again here.

Just in case some one has any idea to compile the addon/essentia on Windows... will be appreciated.

I just downloaded the essentia.lib file from here:
MTG/essentia#330
moved to -> openFrameworks\addons\ofxAudioAnalyzer\libs\essentia\lib\vs\essentia.lib

I created with PG and opened the example-rmsInput.
Deleted the ofSoundPlayerExtended h/cpp files.

Compiled to Release/x64 and getting this errors:
https://pastebin.com/CQXBixsx

//-

Then I tried to replace the sources from libs
F:\essentia-2.1_beta5\src\essentia

Then I'm getting only like 22 errors, much less. But I am stuck.

Severity	Code	Description	Project	File	Line	Suppression State
Error	C2059	syntax error: ')' (compiling source file ..\..\..\addons\ofxAudioAnalyzer\libs\essentia\include\essentia\streaming\streamingalgorithmcomposite.cpp)	example-rmsInput	f:\openframeworks\addons\ofxaudioanalyzer\libs\essentia\include\essentia\scheduler\graphutils.h	112	
Error	C1083	Cannot open include file: 'libavcodec/avcodec.h': No such file or directory (compiling source file ..\..\..\addons\ofxAudioAnalyzer\libs\essentia\include\essentia\utils\audiocontext.cpp)	example-rmsInput	f:\openframeworks\addons\ofxaudioanalyzer\libs\essentia\include\essentia\utils\ffmpegapi.h	24	
Error	C1083	Cannot open include file: 'yaml.h': No such file or directory (compiling source file ..\..\..\addons\ofxAudioAnalyzer\libs\essentia\include\essentia\utils\jsonconvert.cpp)	example-rmsInput	f:\openframeworks\addons\ofxaudioanalyzer\libs\essentia\include\essentia\utils\yamlast.h	28	
Error	C1083	Cannot open include file: 'yaml.h': No such file or directory (compiling source file ..\..\..\addons\ofxAudioAnalyzer\libs\essentia\include\essentia\utils\yamlast.cpp)	example-rmsInput	f:\openframeworks\addons\ofxaudioanalyzer\libs\essentia\include\essentia\utils\yamlast.h	28	
Error	C2589	'(': illegal token on right side of '::' (compiling source file ..\..\..\addons\ofxAudioAnalyzer\libs\essentia\include\essentia\streaming\algorithms\devnull.cpp)	example-rmsInput	f:\openframeworks\addons\ofxaudioanalyzer\libs\essentia\include\essentia\streaming\algorithms\devnull.h	51	
Error	C2062	type 'unknown-type' unexpected (compiling source file ..\..\..\addons\ofxAudioAnalyzer\libs\essentia\include\essentia\streaming\algorithms\devnull.cpp)	example-rmsInput	f:\openframeworks\addons\ofxaudioanalyzer\libs\essentia\include\essentia\streaming\algorithms\devnull.h	51	
Error	C2059	syntax error: ')' (compiling source file ..\..\..\addons\ofxAudioAnalyzer\libs\essentia\include\essentia\streaming\algorithms\devnull.cpp)	example-rmsInput	f:\openframeworks\addons\ofxaudioanalyzer\libs\essentia\include\essentia\streaming\algorithms\devnull.h	51	
Error	C2589	'(': illegal token on right side of '::' (compiling source file ..\..\..\addons\ofxAudioAnalyzer\libs\essentia\include\essentia\streaming\algorithms\devnull.cpp)	example-rmsInput	f:\openframeworks\addons\ofxaudioanalyzer\libs\essentia\include\essentia\streaming\algorithms\devnull.h	53	
Error	C2062	type 'unknown-type' unexpected (compiling source file ..\..\..\addons\ofxAudioAnalyzer\libs\essentia\include\essentia\streaming\algorithms\devnull.cpp)	example-rmsInput	f:\openframeworks\addons\ofxaudioanalyzer\libs\essentia\include\essentia\streaming\algorithms\devnull.h	53	
Error	C2059	syntax error: ')' (compiling source file ..\..\..\addons\ofxAudioAnalyzer\libs\essentia\include\essentia\streaming\algorithms\devnull.cpp)	example-rmsInput	f:\openframeworks\addons\ofxaudioanalyzer\libs\essentia\include\essentia\streaming\algorithms\devnull.h	53	
Error	C2589	'(': illegal token on right side of '::' (compiling source file ..\..\..\addons\ofxAudioAnalyzer\libs\essentia\include\essentia\streaming\algorithms\poolstorage.cpp)	example-rmsInput	f:\openframeworks\addons\ofxaudioanalyzer\libs\essentia\include\essentia\streaming\algorithms\poolstorage.h	71	
Error	C2062	type 'unknown-type' unexpected (compiling source file ..\..\..\addons\ofxAudioAnalyzer\libs\essentia\include\essentia\streaming\algorithms\poolstorage.cpp)	example-rmsInput	f:\openframeworks\addons\ofxaudioanalyzer\libs\essentia\include\essentia\streaming\algorithms\poolstorage.h	71	
Error	C2059	syntax error: ')' (compiling source file ..\..\..\addons\ofxAudioAnalyzer\libs\essentia\include\essentia\streaming\algorithms\poolstorage.cpp)	example-rmsInput	f:\openframeworks\addons\ofxaudioanalyzer\libs\essentia\include\essentia\streaming\algorithms\poolstorage.h	71	
Error	C2589	'(': illegal token on right side of '::' (compiling source file ..\..\..\addons\ofxAudioAnalyzer\libs\essentia\include\essentia\streaming\algorithms\poolstorage.cpp)	example-rmsInput	f:\openframeworks\addons\ofxaudioanalyzer\libs\essentia\include\essentia\streaming\algorithms\poolstorage.h	73	
Error	C2062	type 'unknown-type' unexpected (compiling source file ..\..\..\addons\ofxAudioAnalyzer\libs\essentia\include\essentia\streaming\algorithms\poolstorage.cpp)	example-rmsInput	f:\openframeworks\addons\ofxaudioanalyzer\libs\essentia\include\essentia\streaming\algorithms\poolstorage.h	73	
Error	C2059	syntax error: ')' (compiling source file ..\..\..\addons\ofxAudioAnalyzer\libs\essentia\include\essentia\streaming\algorithms\poolstorage.cpp)	example-rmsInput	f:\openframeworks\addons\ofxaudioanalyzer\libs\essentia\include\essentia\streaming\algorithms\poolstorage.h	73	
Error (active)	E0040	expected an identifier	example-rmsInput	F:\openFrameworks\addons\ofxAudioAnalyzer\libs\essentia\include\essentia\scheduler\graphutils.h	112	
Error	C2589	'(': illegal token on right side of '::' (compiling source file ..\..\..\addons\ofxAudioAnalyzer\libs\essentia\include\essentia\scheduler\network.cpp)	example-rmsInput	f:\openframeworks\addons\ofxaudioanalyzer\libs\essentia\include\essentia\scheduler\graphutils.h	112	
Error	C2062	type 'unknown-type' unexpected (compiling source file ..\..\..\addons\ofxAudioAnalyzer\libs\essentia\include\essentia\scheduler\network.cpp)	example-rmsInput	f:\openframeworks\addons\ofxaudioanalyzer\libs\essentia\include\essentia\scheduler\graphutils.h	112	
Error	C2059	syntax error: ')' (compiling source file ..\..\..\addons\ofxAudioAnalyzer\libs\essentia\include\essentia\scheduler\network.cpp)	example-rmsInput	f:\openframeworks\addons\ofxaudioanalyzer\libs\essentia\include\essentia\scheduler\graphutils.h	112	
Error	C2589	'(': illegal token on right side of '::' (compiling source file ..\..\..\addons\ofxAudioAnalyzer\libs\essentia\include\essentia\streaming\streamingalgorithmcomposite.cpp)	example-rmsInput	f:\openframeworks\addons\ofxaudioanalyzer\libs\essentia\include\essentia\scheduler\graphutils.h	112	
Error	C2062	type 'unknown-type' unexpected (compiling source file ..\..\..\addons\ofxAudioAnalyzer\libs\essentia\include\essentia\streaming\streamingalgorithmcomposite.cpp)	example-rmsInput	f:\openframeworks\addons\ofxaudioanalyzer\libs\essentia\include\essentia\scheduler\graphutils.h	112	

I'll post here news if I get it working.

(I'll try to search better on how to compile essentia-2.1_beta5 by myself... maybe with Msys2/MinGW from Windows Crosscompile on Linux help info. )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants