Tobbo
Member
|
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 |
|
Zervox
Member
|
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 |
|
Tobbo
Member
|
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 |
|
Zervox
Member
|
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 |
|
Tobbo
Member
|
RE: RPG2 debug mode
Thanks
|
|
02-25-2012 05:59 PM |
|