visual c++ - missing unrelated DLLs

100 views Asked by At

I just brought a project I was working on from linux with cmake and g++ to windows visual studio. I just copied the source files and did some changes to the code to fit windows and got the code to compile on windows. My problem is that when I try to run it it gives me missing dll run time errors. At first it gave me libgmp-10.dll missing which seems to be for minGW or gcc. I downloaded that one and put it besides my executable. Now it says libgcc_s_dw2-1.dll is missing. Aren't these dlls for gcc? Shouldn't visual studio not need these?

1

There are 1 answers

0
jaklucky On

Check with liner->input options. It might be referring to .libs of these dlls. Replace them with windows equivalents.