goblin_camp icon indicating copy to clipboard operation
goblin_camp copied to clipboard

Compiling and build for Windows

Open ThomasNolte opened this issue 6 years ago • 4 comments

I'm still working on this issue and feel like I'm getting close(r) so figured I'd make give an update.

All compiler and linker errors have been resolved and I'm just dealing with some warning stopping the executable being built.

progress

I've tried a few things in hopes of suppressing the warning but building with boost from command line isn't allowing that so easily

System: x32

Compiler MSVC-14.0

Current local dependencies: Python27 x32 WinSDK v7.1 libtcod-1.5.1 (I think) libpng-16 SDL-1.2.15 SDL_image-1.2.5 zlib-1.2.5

ThomasNolte avatar Dec 06 '18 04:12 ThomasNolte

Ok I was finally able to get it to compile and build locally.

success

Not quite there yet though...

python-dll-missing sdl_image-dll-missing sdl-dll-missing

I'll keep hacking away at it.

ThomasNolte avatar Dec 06 '18 19:12 ThomasNolte

@ThomasNolte oh yeah!

xt9igzuuc5ss6zntes

humphd avatar Dec 06 '18 20:12 humphd

Simply adding the .dll files to the directly containing the .exe file fixes the crash errors.

However upon launching the executable to closes instantly with no warning. I've compiled for both debug and release and may try changing to x64 but fear that it's a deeper problem. I have no idea how I can debug an executable closing with no errors/warning so it seems I've hit a road block for resolving this issue for now.

ThomasNolte avatar Dec 06 '18 22:12 ThomasNolte

Which version of boost are you using? I left a comment on your PR, but the latest Boost seems to produce unexpected behavior (quits silently). This was observed in the linux build by @rdittrich97 , too. I suspect the minor version change (1.5 to 1.6) is the culprit. Can you check and make sure you are using the older version and see if that makes any difference in making the binary to build and work? That was what @rdittrich97 did to make his build work in linux.

y2s82 avatar Dec 09 '18 00:12 y2s82