Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


JKO's Guide to compiling Penumbra
JKO Offline
Junior Member

Posts: 10
Threads: 2
Joined: Jul 2010
Reputation: 0
#8
RE: JKO's Guide to compiling Penumbra

I made a lot of progress. First, you need to compile HPL in debug mode. This while give you his little brother, HPLd.lib (for HPL debug I suppose). Then, you also need OALWrapper.lib in debug mode (I took the liberty to rename it OALWrapperd.lib, to make it like HPLd.lib in the penumbra files). Then, I manage to get penumbra running in debug mode, I even see the firsl "Loading...". But after a bit, Visual Studio gives me an error message:
Debug Assertion Failed!

Program:
..\OuvertureSource\PenumbraOuverture\..\redist\Penumbra.exe
File: c:\program files (x86)\microsoft visual studio 10.0\vc\include\vector
Line:933

Expression: "Standard C++ Libraries Out of Range"&&0 (It gave me vector out of range earlier)

For more information on how your program can cause an assertion failure, see the Visual C++ documentation on asserts.

(Press Retry to debug the application)
<Abort> <Retry> <Ignore>

I think the problem comes from OALWrapper (It ALWAYS comes from it!). When I build it in Release mode it is 15,216Kb, but when I build it in Debug mode it is 3,921Kb, that's a significant difference. And if I try the Release build of OALWrapper in penumbra(debug), I get the iterator error (Which I believe means "you're mixing Release with Debug and that's bad", but I'm not sure)

By the way, to get the debugs running, make sure you copy/paste the different paths to the libs / includes as well. I did more that what you showed and It worked. Also make sure to corret the paths manually for the .\lib\OALWrapper.lib and .\lib\OALWrapperd.lib (That you make youself, as I said). You'll also need to make Penumbra load HPLd and OALWrapperd while in debug mode (Linker -> Input(debug)).
I've tested the Iterator off thing and it doesn't do anything, indeed.

(Don't give up, we'll get the Debug mode working!)
07-24-2010, 02:30 AM
Find


Messages In This Thread
JKO's Guide to compiling Penumbra - by JKO - 07-23-2010, 06:44 PM
RE: JKO's Guide to compiling Penumbra - by Urkle - 07-23-2010, 08:17 PM
RE: JKO's Guide to compiling Penumbra - by nofsky - 07-23-2010, 08:57 PM
RE: JKO's Guide to compiling Penumbra - by JKO - 07-23-2010, 09:19 PM
RE: JKO's Guide to compiling Penumbra - by nofsky - 07-23-2010, 11:23 PM
RE: JKO's Guide to compiling Penumbra - by JKO - 07-23-2010, 11:53 PM
RE: JKO's Guide to compiling Penumbra - by nofsky - 07-24-2010, 01:55 AM
RE: JKO's Guide to compiling Penumbra - by JKO - 07-24-2010, 02:30 AM
RE: JKO's Guide to compiling Penumbra - by Tomy - 09-20-2010, 04:18 AM
RE: JKO's Guide to compiling Penumbra - by Urkle - 09-20-2010, 01:38 PM
RE: JKO's Guide to compiling Penumbra - by Tomy - 09-20-2010, 03:24 PM
RE: JKO's Guide to compiling Penumbra - by wally - 10-15-2010, 06:12 AM
RE: JKO's Guide to compiling Penumbra - by Urkle - 06-19-2011, 06:52 PM
RE: JKO's Guide to compiling Penumbra - by Talus - 06-26-2011, 08:58 PM
RE: JKO's Guide to compiling Penumbra - by Urkle - 06-26-2011, 09:48 PM
RE: JKO's Guide to compiling Penumbra - by Talus - 06-26-2011, 10:01 PM
RE: JKO's Guide to compiling Penumbra - by Jack1 - 03-21-2012, 02:50 PM
RE: JKO's Guide to compiling Penumbra - by Urkle - 03-21-2012, 02:55 PM
RE: JKO's Guide to compiling Penumbra - by Jack1 - 03-21-2012, 03:01 PM
RE: JKO's Guide to compiling Penumbra - by Urkle - 08-04-2012, 02:54 PM



Users browsing this thread: 1 Guest(s)