Compiling
Posted: July 1st, 2015, 1:52 pm
For fun, I just tried compiling SDLPoP on Linux using Wine and that worked (see below).
Then I was wondering if I could also compile Pr1SnesLevEd under Linux using Wine, but that didn't work (see below).
SDLPoP (Dev-C++):
I used the instructions in the doc/Readme.txt file.
Got three warnings (see below) and sound effects are echoing like crazy (dunno why), but otherwise it seems to work fine.
1280:29 Z:\home\norbert\Desktop\SDLPoP-1.14\seg009.c [Warning] multi-character character constant
1281:29 Z:\home\norbert\Desktop\SDLPoP-1.14\seg009.c [Warning] multi-character character constant
884 Z:\home\norbert\Desktop\SDLPoP-1.14\seg006.c [Warning] comparison is always false due to limited range of data type
Pr1SnesLevEd (C++Builder):
I saw version value BCB.05.03, so I tried to get C++Builder 5. Version 5 is no longer for sale, 6 is (end o/t page), but the only free trial I could find was for XE8. XE8 does not work because the .NET Framework 2.0a x64 installation fails. I could download version 6 and it installed without problems.
When compiling with version 6, it fails at...
ms_level->SetSize(sizeof(TLevel));
...which may be because version 6 has a function TMemoryStream::SetSize(const __int64). And/or it's because I'm on 64-bit?
I tried typecasting with (int), but got a "Access violation. Link terminated." error.
Then I just replaced the whole "sizeof(TLevel)" with 3940 but I got the same error.
Then I was wondering if I could also compile Pr1SnesLevEd under Linux using Wine, but that didn't work (see below).
SDLPoP (Dev-C++):
I used the instructions in the doc/Readme.txt file.
Got three warnings (see below) and sound effects are echoing like crazy (dunno why), but otherwise it seems to work fine.
1280:29 Z:\home\norbert\Desktop\SDLPoP-1.14\seg009.c [Warning] multi-character character constant
1281:29 Z:\home\norbert\Desktop\SDLPoP-1.14\seg009.c [Warning] multi-character character constant
884 Z:\home\norbert\Desktop\SDLPoP-1.14\seg006.c [Warning] comparison is always false due to limited range of data type
Pr1SnesLevEd (C++Builder):
I saw version value BCB.05.03, so I tried to get C++Builder 5. Version 5 is no longer for sale, 6 is (end o/t page), but the only free trial I could find was for XE8. XE8 does not work because the .NET Framework 2.0a x64 installation fails. I could download version 6 and it installed without problems.
When compiling with version 6, it fails at...
ms_level->SetSize(sizeof(TLevel));
...which may be because version 6 has a function TMemoryStream::SetSize(const __int64). And/or it's because I'm on 64-bit?
I tried typecasting with (int), but got a "Access violation. Link terminated." error.
Then I just replaced the whole "sizeof(TLevel)" with 3940 but I got the same error.