fire-eggs / CivOne

An open source implementation of Sid Meier's Civilization 1 using C# and .NET.
Creative Commons Zero v1.0 Universal
21 stars 4 forks source link

SDL Error during build #107

Closed axx0 closed 5 years ago

axx0 commented 5 years ago

Trying to get the project running after a long time in Visual studio code and I get this SDL error.

error

I seem to recall having this problem before but somehow I solved it. Well here it is again. (I installed all the stuff SWY mentions in the page Wiki)

fire-eggs commented 5 years ago

One of the failures of my project setup.

The SDL2.DLL file needs to be in the binary output directory. Specifically, in <root>\runtime\sdl\bin\Debug\netcoreapp2.1, where <root> is your base folder. Or Release instead of Debug, when building in release mode.

Sorry for the delay in answering, I'm travelling.

axx0 commented 5 years ago

OK it works now.