Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiling and running problems #21

Open
TomasBerrojalviz opened this issue Jan 6, 2022 · 1 comment
Open

Compiling and running problems #21

TomasBerrojalviz opened this issue Jan 6, 2022 · 1 comment

Comments

@TomasBerrojalviz
Copy link

Hello, I wanted to consult my problems. If I try to compile using make it fails. If I use a pc with visual studio and compile it there it works. But if I run the .exe in another pc, it asks me for some dll that the pc already has idk. It seems that it only works with vs. If there is a way that it works without the vs please could you help me

@Thomas-Sparber
Copy link
Owner

Thomas-Sparber commented Jan 27, 2022

Hi Tomas,

can you please send me the error message when you try to compile it with make? It works on my environment when using MSYS2.

Regarding VS: every compiler comes with its own set of dependencies and dll's. I think for the case of visual studio you need to install vcredist on the target machine (https://docs.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170)

Also, even if you compile it with make/MSYS2 the *.exe still has some dll dependencies... In my opinion the easiest solution is just to copy the *.exe to your target machine, try to execute it and copy all the dll files one-by-one from the build machine to the target machine. The dll's can be placed in the folder where the exe file is. Attention: The build and target machine need to have the same architecture (32-but vs 64-bit)

Best Regards
Thomas

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants