ded icon indicating copy to clipboard operation
ded copied to clipboard

msvc build not working

Open CarwynNelson opened this issue 4 years ago • 3 comments

Tested on 0b7b6fdf7bceed017a907660e6a4794fe74a29db under windows 10, visual studio 2019.

If I run

setup_dependencies.bat
build_msvc.bat

And then If I run ded.exe from the command prompt I get the following error:

The code execution cannot proceed because SDL2.dll was not found. Reinstalling the program may fix this problem.

image

CarwynNelson avatar Jul 06 '21 14:07 CarwynNelson

The shared libraries should be placed under the same directory as the executable. Should fix the issue.

Velho avatar Jul 06 '21 14:07 Velho

The shared libraries should be placed under the same directory as the executable. Should fix the issue.

So running cp dependencies\SDL2\lib\x64\SDL2.dll SDL2.dll seems to make it open and work correctly, but shouldn't the build script be doing this for you?

Either that or statically link everything?

CarwynNelson avatar Jul 06 '21 15:07 CarwynNelson

I suppose it is the case. Open a pull request, perhaps.

Velho avatar Jul 06 '21 15:07 Velho