+ 1

Compailing C++ code

Hi, my C++ programm, compailed with Visual Studio, doesn't work on other computers. What could be the reasons? What should I do? Hoping I will get some answers, S.A.

5th Dec 2020, 5:57 PM
Sebastian Ahlborn
Sebastian Ahlborn - avatar
5 Answers
+ 3
Sebastian Ahlborn try this: Properties->Configuration Properties->Advanced->Advanced Properties: set “Copy C++ Runtime to OutDir” to “Yes”. then copy all DLLs along with your EXE to target pc. // VS 2019
5th Dec 2020, 9:28 PM
Flash
+ 1
This question is super unspecific and therefore I cannot give an answer. Could you please say which error you get on other computers and which compiler you used?
5th Dec 2020, 6:13 PM
Aaron Eberhardt
Aaron Eberhardt - avatar
+ 1
Than you're missing some library.
5th Dec 2020, 6:46 PM
Aaron Eberhardt
Aaron Eberhardt - avatar
0
I use Visual Studio. The error is, that some .dll file doesn't exist
5th Dec 2020, 6:15 PM
Sebastian Ahlborn
Sebastian Ahlborn - avatar