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 .dll files #2334

Closed
glareof152 opened this issue Sep 22, 2019 · 2 comments
Closed

unable to load .dll files #2334

glareof152 opened this issue Sep 22, 2019 · 2 comments
Milestone

Comments

@glareof152
Copy link

glareof152 commented Sep 22, 2019

I installed the vc correctly and when I run the game it shows this.
The Principia DLL failed to load.
An unknown error occurred; detected OS Microsoft Windows NT 10.0.17134.0 64-bit; tried loading dll at 'GameData\Principia\x64\principia.dll'. Note that the Microsoft Visual C++ 2015-2019 Redistributable (x86) - 14.22.27821 are required.
Before install vc
screenshot0
after
screenshot1

ksp.log:
[EXC 19:12:09.673] DllNotFoundException: GameData/Principia/x64/principia.dll principia.ksp_plugin_adapter.Log.InitGoogleLogging () principia.ksp_plugin_adapter.Loader.LoadPrincipiaDllAndInitGoogleLogging () UnityEngine.Debug:LogException(Exception) principia.ksp_plugin_adapter.Loader:LoadPrincipiaDllAndInitGoogleLogging() principia.ksp_plugin_adapter.PrincipiaPluginAdapter:.ctor() UnityEngine.GameObject:AddComponent(Type) ScenarioRunner:AddModule(String) ScenarioRunner:AddModule(ConfigNode) ProtoScenarioModule:Load(ScenarioRunner) ScenarioRunner:LoadModules(List1)
ScenarioRunner:SetProtoModules(List`1)
Game:Load()
c__Iterator0:MoveNext()
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
[ERR 19:12:09.674] The Principia DLL failed to load.
An unknown error occurred; detected OS Microsoft Windows NT 10.0.17134.0 64-bit; tried loading dll at 'GameData\Principia\x64\principia.dll'. Note that the Microsoft Visual C++ 2015-2019 Redistributable (x86) - 14.22.27821 are required.

[ERR 19:12:09.772] Exception loading ScenarioModule PrincipiaPluginAdapter: System.DllNotFoundException: GameData/Principia/x64/principia.dll
at (wrapper managed-to-native) principia.ksp_plugin_adapter.Interface:SetBufferedLogging (int)
at principia.ksp_plugin_adapter.Log.SetBufferedLogging (Int32 max_severity) [0x00000] in :0
at principia.ksp_plugin_adapter.MainWindow.Load (.ConfigNode node) [0x00000] in :0
at BaseFieldList.Load (.ConfigNode node) [0x00000] in :0
at ScenarioModule.Load (.ConfigNode node) [0x00000] in :0
at ScenarioRunner.AddModule (.ConfigNode node) [0x00000] in :0 `

@pleroy
Copy link
Member

pleroy commented Sep 22, 2019

Probably a duplicate of #2297, which will be fixed in the next version.

@glareof152
Copy link
Author

now works well

@pleroy pleroy added this to the Fibonacci milestone Sep 28, 2019
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

2 participants