Windows - SDL compiles without errors, but cant run

Im using Codeblocks and i can build both Retail and SDL version fine (= finishes w/o errors). However, when trying to actually run the tiles.exe i receive an windows error (0xc000007b). The ascii build works just fine.

Any ideas on why that would happen ?

Have you copied SDL binaries to cdda folder?

Yes. I have SDL2.dll, SDL2_image.dll and SD2_ttf.dll in my cata root folder, alongside tiles and non-tiles.exe.

Make sure copied SDL binaries are for correct version (64 bit libraries for 64 bit build, 32 bit libraries for 32 bit build) and also that you have all other dependecies:

libasprintf-0.dll
libcharset-1.dll
libFLAC-8.dll
libfreetype-6.dll
libgettextpo-0.dll
libiconv-2.dll
libintl-8.dll
libjpeg-9.dll
libmikmod-2.dll
libmodplug-1.dll
libogg-0.dll
libpng16-16.dll
libtiff-5.dll
libvorbis-0.dll
libvorbisfile-3.dll
libwebp-4.dll
lua5.1.dll
lua51.dll
SDL2.dll
SDL2_image.dll
SDL2_mixer.dll
SDL2_ttf.dll
smpeg2.dll
zlib1.dll

You can see download links here - https://github.com/CleverRaven/Cataclysm-DDA/blob/master/COMPILING.md#dependencies-2

I did solve my iusses. Using “dependency analyser” i did see i was missing some DLLs and was had some x86 / x64 hickup.
Im now using VS and my compile works as well as is actually starts.
thanks.