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

unable to load plugins when started from Windows command prompt #1474

Open
wmjb opened this issue Sep 27, 2024 · 4 comments
Open

unable to load plugins when started from Windows command prompt #1474

wmjb opened this issue Sep 27, 2024 · 4 comments

Comments

@wmjb
Copy link

wmjb commented Sep 27, 2024

built from source on windows, audacious loads but gives error regarding unable to load plugins, giving the error about the dll could not be loaded plugin-load.cc:70 [plugin-load] the specified module could not be found and gives the correct location of the dll file that does exist in c:\usr\local\lib\audacious\general\skins.dll for example. what could i be doing wrong?

@wmjb wmjb added the Bug Something isn't working label Sep 27, 2024
@wmjb
Copy link
Author

wmjb commented Sep 27, 2024

R:\audacious-plugins\build>audacious --help
Usage: audacious [OPTION] ... [FILE] ...

-1, -2, -3, etc. Select instance to run/control
-h, --help Show command-line help
-v, --version Show version
-p, --play Start playback
-u, --pause Pause playback
-t, --play-pause Pause if playing, play otherwise
-s, --stop Stop playback
-r, --rew Skip to previous song
-f, --fwd Skip to next song
-e, --enqueue Add files to the playlist
-E, --enqueue-to-temp Add files to a temporary playlist
-m, --show-main-window Display the main window
-j, --show-jump-box Display the jump-to-song window
-H, --headless Start without a graphical interface
-q, --quit-after-play Quit on playback stop
-V, --verbose Print debugging messages (may be used twice)
-G, --gtk Run in GTK mode
-Q, --qt Run in Qt mode

R:\audacious-plugins\build>audacious --qt
ERROR ../src/libaudcore/plugin-load.cc:70 [plugin_load]: C:\usr\local\lib\audacious\Input\ffaudio.dll could not be loaded: 'C:\usr\local\lib\audacious\Input\ffaudio.dll': The specified module could not be found.
ERROR ../src/libaudcore/plugin-load.cc:70 [plugin_load]: C:\usr\local\lib\audacious\Input\flacng.dll could not be loaded: 'C:\usr\local\lib\audacious\Input\flacng.dll': The specified module could not be found.
ERROR ../src/libaudcore/plugin-load.cc:70 [plugin_load]: C:\usr\local\lib\audacious\Input\vorbis.dll could not be loaded: 'C:\usr\local\lib\audacious\Input\vorbis.dll': The specified module could not be found.
ERROR ../src/libaudcore/plugin-load.cc:70 [plugin_load]: C:\usr\local\lib\audacious\Input\vtx.dll could not be loaded: 'C:\usr\local\lib\audacious\Input\vtx.dll': The specified module could not be found.
ERROR ../src/libaudcore/plugin-load.cc:70 [plugin_load]: C:\usr\local\lib\audacious\Input\wavpack.dll could not be loaded: 'C:\usr\local\lib\audacious\Input\wavpack.dll': The specified module could not be found.
ERROR ../src/libaudcore/plugin-load.cc:70 [plugin_load]: C:\usr\local\lib\audacious\Output\filewriter.dll could not be loaded: 'C:\usr\local\lib\audacious\Output\filewriter.dll': The specified module could not be found.
ERROR ../src/libaudcore/plugin-load.cc:70 [plugin_load]: C:\usr\local\lib\audacious\Effect\ladspa.dll could not be loaded: 'C:\usr\local\lib\audacious\Effect\ladspa.dll': The specified module could not be found.
ERROR ../src/libaudcore/plugin-load.cc:70 [plugin_load]: C:\usr\local\lib\audacious\General\albumart.dll could not be loaded: 'C:\usr\local\lib\audacious\General\albumart.dll': The specified module could not be found.
ERROR ../src/libaudcore/plugin-load.cc:70 [plugin_load]: C:\usr\local\lib\audacious\General\delete-files.dll could not be loaded: 'C:\usr\local\lib\audacious\General\delete-files.dll': The specified module could not be found.
ERROR ../src/libaudcore/plugin-load.cc:70 [plugin_load]: C:\usr\local\lib\audacious\General\gtkui.dll could not be loaded: 'C:\usr\local\lib\audacious\General\gtkui.dll': The specified module could not be found.
ERROR ../src/libaudcore/plugin-load.cc:70 [plugin_load]: C:\usr\local\lib\audacious\General\lyrics-gtk.dll could not be loaded: 'C:\usr\local\lib\audacious\General\lyrics-gtk.dll': The specified module could not be found.
ERROR ../src/libaudcore/plugin-load.cc:70 [plugin_load]: C:\usr\local\lib\audacious\General\playlist-manager.dll could not be loaded: 'C:\usr\local\lib\audacious\General\playlist-manager.dll': The specified module could not be found.
ERROR ../src/libaudcore/plugin-load.cc:70 [plugin_load]: C:\usr\local\lib\audacious\General\search-tool.dll could not be loaded: 'C:\usr\local\lib\audacious\General\search-tool.dll': The specified module could not be found.
ERROR ../src/libaudcore/plugin-load.cc:70 [plugin_load]: C:\usr\local\lib\audacious\General\skins.dll could not be loaded: 'C:\usr\local\lib\audacious\General\skins.dll': The specified module could not be found.
ERROR ../src/libaudcore/plugin-load.cc:70 [plugin_load]: C:\usr\local\lib\audacious\General\statusicon.dll could not be loaded: 'C:\usr\local\lib\audacious\General\statusicon.dll': The specified module could not be found.
ERROR ../src/libaudcore/plugin-load.cc:70 [plugin_load]: C:\usr\local\lib\audacious\Visualization\blur_scope.dll could not be loaded: 'C:\usr\local\lib\audacious\Visualization\blur_scope.dll': The specified module could not be found.
ERROR ../src/libaudcore/plugin-load.cc:70 [plugin_load]: C:\usr\local\lib\audacious\Visualization\cairo-spectrum.dll could not be loaded: 'C:\usr\local\lib\audacious\Visualization\cairo-spectrum.dll': The specified module could not be found.
ERROR ../src/libaudcore/plugin-load.cc:70 [plugin_load]: C:\usr\local\lib\audacious\Visualization\gl-spectrum.dll could not be loaded: 'C:\usr\local\lib\audacious\Visualization\gl-spectrum.dll': The specified module could not be found.

@wmjb
Copy link
Author

wmjb commented Sep 27, 2024

audacious

@radioactiveman
Copy link
Member

How did you build Audacious from source? Did you follow the instructions found at https://github.com/audacious-media-player/audacious/tree/master/win32?

@jlindgren90
Copy link
Member

"The specified module could not be found" is an unfortunately vague error message but probably means that a DLL from some dependency (for example: FFmpeg) is not found in %PATH%.

It looks like you are starting Audacious from a Windows command prompt, so probably %PATH% is not set to point to all the needed DLLs. The easiest way to fix this is to start Audacious from the same MinGW/MSYS environment you used (presumably) to build it. Otherwise you need to manually set %PATH% in your command prompt.

The pre-built versions of Audacious avoid this issue by including all the needed DLLs in the same folder as audacious.exe.

@jlindgren90 jlindgren90 added Support Category: win32 and removed Bug Something isn't working labels Sep 29, 2024
@jlindgren90 jlindgren90 changed the title unable to load plugins unable to load plugins when started from Windows command prompt Sep 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants