intel / openvino-plugins-ai-audacity

A set of AI-enabled effects, generators, and analyzers for Audacity®.
GNU General Public License v3.0
725 stars 43 forks source link

Install failing on Linux Mint #210

Closed johnmoloney closed 1 month ago

johnmoloney commented 1 month ago

Hi team,

Following the linux install instructions everything was going fine until I reached the section:

Audacity OpenVINO module build --> Okay, on to the build: -> make -jnproc:

Output from the make command:

`[ 98%] Built target mod-script-pipe Consolidate compiler generated dependencies of target mod-openvino [ 98%] Building CXX object modules/mod-openvino/CMakeFiles/mod-openvino.dir/noise_suppression/deepfilternet/multiframe.cpp.o [ 98%] Building CXX object modules/mod-openvino/CMakeFiles/mod-openvino.dir/OVNoiseSuppression.cpp.o /home/john/Downloads/audacity/modules/mod-openvino/OVNoiseSuppression.cpp: In member function ‘virtual bool EffectOVNoiseSuppression::Process(EffectInstance&, EffectSettings&)’: /home/john/Downloads/audacity/modules/mod-openvino/OVNoiseSuppression.cpp:500:51: error: invalid use of member function ‘bool Track::Any() const’ (did you forget the ‘()’ ?) 500 auto pCopiedTrack = *copiedTrackList->Any().begin(); ~~~^ () /home/john/Downloads/audacity/modules/mod-openvino/OVNoiseSuppression.cpp:500:64: error: expected primary-expression before ‘>’ token 500 auto pCopiedTrack = *copiedTrackList->Any().begin(); ^ /home/john/Downloads/audacity/modules/mod-openvino/OVNoiseSuppression.cpp:500:66: error: expected primary-expression before ‘)’ token 500 auto pCopiedTrack = *copiedTrackList->Any().begin(); ^ /home/john/Downloads/audacity/modules/mod-openvino/OVNoiseSuppression.cpp:540:56: error: cannot convert ‘std::shared_ptr_access<Track, gnu_cxx::_S_atomic, false, false>::element_type’ {aka ‘Track’} to ‘const WaveTrack&’ 540 pOutWaveTrack->ClearAndPaste(curT0, curT1, *copiedTrackList); ^~~~
std::shared_ptr_access<Track, gnu_cxx::_S_atomic, false, false>::element_type {aka Track}

In file included from /home/john/Downloads/audacity/modules/mod-openvino/OVNoiseSuppression.cpp:5: /home/john/Downloads/audacity/libraries/lib-wave-track/WaveTrack.h:393:46: note: initializing argument 3 of ‘void WaveTrack::ClearAndPaste(double, double, const WaveTrack&, bool, bool, const TimeWarper*, bool)’ 393 | double t0, double t1, const WaveTrack& src, bool preserve = true, | ~~~^ [ 98%] Building CXX object modules/mod-openvino/CMakeFiles/mod-openvino.dir/noise_suppression/deepfilternet/dfnet_model.cpp.o make[2]: [modules/mod-openvino/CMakeFiles/mod-openvino.dir/build.make:76: modules/mod-openvino/CMakeFiles/mod-openvino.dir/OVNoiseSuppression.cpp.o] Error 1 make[2]: Waiting for unfinished jobs.... make[1]: [CMakeFiles/Makefile2:7254: modules/mod-openvino/CMakeFiles/mod-openvino.dir/all] Error 2 make: [Makefile:166: all] Error 2 `

OS Details: Linux hp-linuxmint 5.15.0-107-generic #117-Ubuntu SMP Fri Apr 26 12:26:49 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

Audacity Version (as installed as per instructions within the ReadMe above): Audacity 3.6.0-alpha-20240525

Hope you can help. Installer works perfectly on Windows 10 btw. Amazing work.

Cheers, John

johnmoloney commented 1 month ago

[Uploading make output.txt…]()

RyanMetcalfeInt8 commented 1 month ago

Hi @johnmoloney,

Right now, the build will fail for latest tip (3.6 alpha) of Audacity. I'll try to fix this soon, but in the meantime, I would recommend that you check out Audacity 3.5.1 tag.

Thanks, Ryan

johnmoloney commented 1 month ago

Thanks very much Ryan. Appreciate the feedback. Cheers man,