SDL Source missing header

Everything related to modding, mapping and software or hacks

SDL Source missing header

Postby Host_6 » Sun Sep 04, 2016 4:13 am

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.
User avatar
Host_6
Special
Special
Posts: 117
Joined: Wed Jul 09, 2014 12:21 am

Re: SDL Source missing header

Postby zoaedk » Sun Sep 04, 2016 6:58 am

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.
zoaedk
Global Moderator
Global Moderator
Posts: 42
Joined: Sat Jul 04, 2015 12:09 pm
Location: Austin, TX, USA

Re: SDL Source missing header

Postby Host_6 » Sun Sep 04, 2016 11:07 am

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. :(
User avatar
Host_6
Special
Special
Posts: 117
Joined: Wed Jul 09, 2014 12:21 am

Re: SDL Source missing header

Postby zoaedk » Sun Sep 04, 2016 11:38 am

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.
zoaedk
Global Moderator
Global Moderator
Posts: 42
Joined: Sat Jul 04, 2015 12:09 pm
Location: Austin, TX, USA

Re: SDL Source missing header

Postby Host_6 » Sun Sep 04, 2016 12:13 pm

It gave me this.
Attachments
errors.png
errors.png (42.87 KiB) Viewed 8434 times
User avatar
Host_6
Special
Special
Posts: 117
Joined: Wed Jul 09, 2014 12:21 am

Re: SDL Source missing header

Postby zoaedk » Sun Sep 04, 2016 8:24 pm

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.
zoaedk
Global Moderator
Global Moderator
Posts: 42
Joined: Sat Jul 04, 2015 12:09 pm
Location: Austin, TX, USA

Re: SDL Source missing header

Postby Host_6 » Sun Sep 04, 2016 11:56 pm

Ah, thanks a lot Zoa for the help, it works now. :)
User avatar
Host_6
Special
Special
Posts: 117
Joined: Wed Jul 09, 2014 12:21 am


Return to Modding & Mapping

Who is online

Users browsing this forum: No registered users and 17 guests

cron