About Store Forum Documentation Contact



Post Reply 
RPG2 debug mode
Author Message
Tobbo Offline
Member

Post: #1
RPG2 debug mode
I have two questions.

1. This is probably a stupid question but, if I compile the code in Debug mode and run it in debug mode will that effect performance?

2. Is it possible to run the RPG2 code in release mode? (I can only get it to compile and run in debug mode.)

Thanks.
02-23-2012 08:06 AM
Find all posts by this user Quote this message in a reply
Zervox Offline
Member

Post: #2
RE: RPG2 debug mode
1. Yes it will affect performance.
2. What are the problems your having?
(This post was last modified: 02-23-2012 09:56 AM by Zervox.)
02-23-2012 09:55 AM
Find all posts by this user Quote this message in a reply
Tobbo Offline
Member

Post: #3
RE: RPG2 debug mode
I get the following error when I try and compile it in release mode.

1>.\Source\Main.cpp(85) : fatal error C1083: Cannot open include file: '../Paks.add(data.pak).cpp': No such file or directory

I don't get that error when I run it in Debug mode.
I have not modified or added any code.
02-23-2012 07:06 PM
Find all posts by this user Quote this message in a reply
Zervox Offline
Member

Post: #4
RE: RPG2 debug mode
\Main.cpp(85


the error is in Main.cpp line 85.
you should see some code
Code:
// load data
#ifdef MOBILE
    Paks.add("Data.pak");
#elif defined DEBUG
   DataPath("Data");
#else
   #include "../Paks.add(data.pak).cpp" // this includes source for loading the "data.pak" with custom decryption keys (this source and decryption keys are not included in the source codes!)
#endif
   Paks.add("engine.pak");

Now you can figure out why it isn't able to compile ; )
02-24-2012 03:06 AM
Find all posts by this user Quote this message in a reply
Tobbo Offline
Member

Post: #5
RE: RPG2 debug mode
Thanks smile
02-25-2012 05:59 PM
Find all posts by this user Quote this message in a reply
Post Reply