SFML community forums

Help => General => Topic started by: Putarda on February 03, 2017, 05:35:07 pm

Title: api-ms-win-crt-utility-l1-1-0.dll is missing (my friend's computer).
Post by: Putarda on February 03, 2017, 05:35:07 pm
Hello everyone :). So after months i finally got my engine done. Engine uses SFML 2.4.1. Gravity simulation I made, worked fine on my computer (which runs Windows 10) without any error, but when I gave my friend a simulation, he got an error which says "The program can't start because api-ms-win-crt-utility-l1-1-0.dll is missing from your computer". http://imgur.com/a/be3lE
After that, I tried a simulation on my laptop which runs Windows 7. And I got an error but with different message. I looked at internet for solution and I found I need to install Visual C redist 2015. After installing, I tried running a simulation and got the same error as my friend. After that day, my friend told me simulation worked fine on his computer which runs Windows 10. So I concluded that build is only for Windows 10. My question is how do I make my simulation compatible for all Windows. Thanks :)
Title: Re: api-ms-win-crt-utility-l1-1-0.dll is missing (my friend's computer).
Post by: Laurent on February 03, 2017, 05:50:05 pm
It seems like Windows 7 needs a specific update for VC++ 2015 redist to correctly install. I found that in 2 minutes on Google, so I assume you can easily find more details on your side ;)
Title: Re: api-ms-win-crt-utility-l1-1-0.dll is missing (my friend's computer).
Post by: Putarda on February 03, 2017, 09:22:27 pm
Me and my friend already tried to update as I said in text. My question is how do I make my simulation compatible for all Windows. How do I build for each version?
Title: Re: api-ms-win-crt-utility-l1-1-0.dll is missing (my friend's computer).
Post by: Laurent on February 04, 2017, 09:00:13 am
Your application should be compatible with all Windows newer than XP without doing anything special, as long as the end user has the matching VC++ redistributables installed.
Title: Re: api-ms-win-crt-utility-l1-1-0.dll is missing (my friend's computer).
Post by: jamesL on February 04, 2017, 10:55:36 am
LOL
I'd say half the games I play on Steam have to download and install the VC++ redistributables

buy a game
download it
press play
wait for VC++ redistributables to install

next week --
buy a different game
download it
press play
wait for VC++ redistributables to install

couple of days later --
well, you know
ha ha ha