diff options
author | Erik Kundiman <erik@megapahit.org> | 2025-06-09 21:12:07 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2025-06-09 21:12:07 +0800 |
commit | f8a13d8e14c5b420d2d76363f859febd11ee62ee (patch) | |
tree | 7c3e7b346248a2bcc4af4745bb147b9368bc5d25 /indra/llplugin/llpluginprocessparent.cpp | |
parent | 5fa174cd7c27719d2f03fbb704a19e5fa3440ccd (diff) |
Fix all media plugins failure on Windows
Uncomment a couple of commented out lines out in
indra/llplugin/slplugin.cpp and adjust to something like:
LLError::setTagLevel("Plugin", LLError::LEVEL_DEBUG);
LLError::logToFile("C:\\Users\\erik\\AppData\\Roaming\\Megapahit\\logs\\slplugin.log");
I got
"The requested service provider could not be loaded or initialized"
This really helped me solve it:
https://travis-ci.community/t/socket-the-requested-service-provider-could-not-be-loaded-or-initialized/1127
Diffstat (limited to 'indra/llplugin/llpluginprocessparent.cpp')
-rw-r--r-- | indra/llplugin/llpluginprocessparent.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/llplugin/llpluginprocessparent.cpp b/indra/llplugin/llpluginprocessparent.cpp index 19a0ce639a..9e4640d20a 100644 --- a/indra/llplugin/llpluginprocessparent.cpp +++ b/indra/llplugin/llpluginprocessparent.cpp @@ -275,6 +275,9 @@ void LLPluginProcessParent::init(const std::string &launcher_filename, const std { mProcessParams.executable = launcher_filename; mProcessParams.cwd = plugin_dir; +#if LL_WINDOWS + mProcessParams.envs.add(llformat("SYSTEMROOT=%s", getenv("SYSTEMROOT"))); +#endif mPluginFile = plugin_filename; mPluginDir = plugin_dir; mCPUUsage = 0.0f; |