SpiderPig Posted May 2 Share Posted May 2 What could cause these errors when starting the debug build on another machine? The release build fails to run too. Failed to find these dll's; MSVCP140D VCRUNTIME140D VCRUNTIME140_1D ucrtbased I've installed C++ redistributables as found on the learn page. And steam is installing them anyway Quote Link to comment Share on other sites More sharing options...
SpiderPig Posted May 2 Author Share Posted May 2 It might be that the release build is failing for a different reason. But as far as the debug build goes, is there anything special I should be distributing to run the debug build of my game? Quote Link to comment Share on other sites More sharing options...
SpiderPig Posted May 3 Author Share Posted May 3 From what I can gather, to run a C++ debug build you need the debug DLL's which there is no redistributable for. You either need to install Visual Studio on that machine or find the DLL's and export them with that project. Quote Link to comment Share on other sites More sharing options...
Solution SpiderPig Posted May 3 Author Solution Share Posted May 3 I see of lot of information on the web saying you not allowed to redistribute the debug DLL's. I don't know why considering you can just download visual studio and get them anyway. So I guess I'll just make it that if anyone wants to run the debug build they need to install visual studio. Quote Link to comment Share on other sites More sharing options...
reepblue Posted May 3 Share Posted May 3 Steam sometimes fails redistributables even with release copies. It's best to package the installers in the game incase anyone needs them. 1 Quote Cyclone - Ultra Game System - Component Preprocessor - Tex2TGA - Darkness Awaits Template (Leadwerks) If you like my work, consider supporting me on Patreon! Link to comment Share on other sites More sharing options...
SpiderPig Posted May 3 Author Share Posted May 3 Thanks, I'll do that. Quote Link to comment Share on other sites More sharing options...
Pleca Posted June 28 Share Posted June 28 Hi, how did you fix this problem? I tried to follow troubleshooting in Getting started, I also tried to reinstall Ultra Engine, Visual Studio and redistributables with no luck. Currently I'm not even able to run game directly from Ultra Engine. Quote Link to comment Share on other sites More sharing options...
SpiderPig Posted June 28 Author Share Posted June 28 Are you getting the same DLL errors? My problem was I was running my game on a PC with integrated graphics. Quote Link to comment Share on other sites More sharing options...
Pleca Posted June 28 Share Posted June 28 Yes, I do get same errors. I don't have integrated graphics. I've got AMD Radeon RX 5700 XT. Quote Link to comment Share on other sites More sharing options...
SpiderPig Posted June 28 Author Share Posted June 28 Did the redistributables install ok? Quote Link to comment Share on other sites More sharing options...
Pleca Posted June 28 Share Posted June 28 Yes, they did, without any error. I'm also no longer able to run game directly from Ultra Engine, that happened after a followed Getting Started with Lua. https://streamable.com/626u14 Quote Link to comment Share on other sites More sharing options...
SpiderPig Posted June 28 Author Share Posted June 28 Did you install visual studio with "desktop development with C++" selected? Quote Link to comment Share on other sites More sharing options...
Pleca Posted June 28 Share Posted June 28 I actually installed Visual Studio Code (followed link in Getting Started with Lua) and a project is Lua based. I guess, I'll try to install Visual Studio and maybe try both Lua and C++ based project tomorrow. I've got Pro version. Is there a way, how can I perform clean install of Steam version? If I uninstall it and install it again, it still remembers path to projects and other configuration. BTW thanks for your replies and help. 1 Quote Link to comment Share on other sites More sharing options...
SpiderPig Posted June 28 Author Share Posted June 28 Yeah give it a go and see. I'm not sure about a clean install that removes the path data. It's either registry keys or maybe the config file for Ultra. I forget where that is, ProgramData\Ultra Engine maybe? 9 minutes ago, Pleca said: BTW thanks for your replies and help. Welcome Quote Link to comment Share on other sites More sharing options...
Pleca Posted June 29 Share Posted June 29 So I installed Visual Studio Community 2022 (Desktop development with C++), created new C++ project in Ultra Engine and it runs perfectly fine. Then a reinstall Visual Studio Code, created new Lua project in Ultra Engine and it also runs without issue. I believe there still was something wrong with redistributables, Visual Studio Community installed new ones and problem is solved. Thank you once again SpiderPig. 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.