Page 1 of 1

SDL Source missing header

PostPosted: Sun Sep 04, 2016 4:13 am
by Host_6
Zoa
I got the source from here: https://bitbucket.org/awesie/nox-sdl
But there is missing CrashRpt.h
Could you please upload it?
Thanks a lot.

Re: SDL Source missing header

PostPosted: Sun Sep 04, 2016 6:58 am
by zoaedk
It isn't included because it is part of the development files for http://crashrpt.sourceforge.net/. I agree the documentation needs to be updated to reflect that as a dependency.

Also, if you plan to redistribute, please use the dependency DLLs (e.g. SDL2.dll) that I shipped with my latest release. I had to recompile some of them to fix upstream bugs.

Re: SDL Source missing header

PostPosted: Sun Sep 04, 2016 11:07 am
by Host_6
I am having problem with linking now. Cannot open Input file "detours.lib".
it's really frustrating.
I am beginning to believe that it's uncompilable. :(

Re: SDL Source missing header

PostPosted: Sun Sep 04, 2016 11:38 am
by zoaedk
You need to build the included detours library. It should be sufficient to run nmake from a visual studio command prompt in the Detours directory. This should create a folder called lib.X86 that has detours.lib in it.

Re: SDL Source missing header

PostPosted: Sun Sep 04, 2016 12:13 pm
by Host_6
It gave me this.

Re: SDL Source missing header

PostPosted: Sun Sep 04, 2016 8:24 pm
by zoaedk
It looks like Detours doesn't cleanly compile on newer versions of Visual Studio. I pushed an updated version to bitbucket that should now compile with VS2015. Once you pull, run nmake in the Detours\src directory.

Re: SDL Source missing header

PostPosted: Sun Sep 04, 2016 11:56 pm
by Host_6
Ah, thanks a lot Zoa for the help, it works now. :)