+ 2
Why c++ project doesnt fail on IDE but fails when i run its executable?
so it shows an error and says "libcc_s-1.dll is missing." and then when i press "Okay" then it says some other dll's are also missing. if they are missing how can i run my code on CodeBlocks but i cant if i open my project.exe. I recently updated windows from win10 1503 to win10 1907 all video drivers were gone. is this the reason? I appreciate if you answer me quick cause I need to give someone the application I made and im not sure if they would also get the error i get on their PC. Thanks! stay safe. Edit: if it's compiler issue will they also need to take actions on their pc? or if i fix the issue in my pc it will also be fixed on theirs? sorry to many questions and bad english lol
1 Antwort
0
On Windows you need to configure your path variable correctly so an executable can find installed libraries (.dll files). If you want others to use your application they need to install the required libraries themselves or you build an installer around your program.
From my own experience compiling and getting things to actually run is a huge pain on Window. I don't know why programmers still use it. On Linux you don't have such problems and writing a small installer script is also very easy.