Open ghost opened 7 years ago
Hi,
The actual error message is not shown in the text you quoted. Please scroll up to find the text "error 1" and "error:". You probably have this problem:
/build/Serious-Engine/Sources/Engine/Engine.cpp:131:0: error: unterminated #else
if (defined USE_PORTABLE_C) // rcg10072001
which could be fixed by either https://github.com/rcgordon/Serious-Engine/pull/68/commits/a68ec8e5410a6809efac1f9cbbf316e5f43c77d5 or https://github.com/rcgordon/Serious-Engine/pull/69/commits/1984179657b4f38dcefdba43145bb23b4b7084df
Hi RalfVB,
Your log file seems incomplete. Perhaps you created it with " > makelog.txt" (which only captures stdout) but you would also need to append " 2>&1" if you want stderr (warnings/errors) to be recorded there too.
Hi,
You were right, it's indeed this error:
/build/Serious-Engine/Sources/Engine/Engine.cpp:131:0: error: unterminated #else
#if (defined USE_PORTABLE_C) // rcg10072001
I have tried both fixes separately, and together, doing a make clean inbetween, but I'm still unable to compile it
Here's the full log :makelog.txt
Thanks for your help
It may be easier to just clone ptitSeb's fork from https://github.com/ptitSeb/Serious-Engine which seems to fix all the compile issues for me.
Yes, that one worked for me as well, I've got both tfe and tse up and running. Thanks!
This was for ssam-tfe, not tried it on ssam tse
I did get it to compile by gutting that part of Engine.cpp and cleaned up the other two errors but still crashed. Thanks for the link to ptitSeb but it still fails with error: expected ‘;’ before ‘:’ token on WorldCollisionGrid.cpp
I gutted pitSeb's changes for arm and Pandora and it's compiled. It crashes when the game engine tries to display flames afaikt. So a sludge of a step forward.
You have a crash on linux with some flames? In TFE or TSE and on what level (on 32bits build right?)
makelog.txt Crashes on Arch x64
cmake version 3.18.2 GNU Make 4.3 Built for x86_64-pc-linux-gnu gcc (GCC) 10.2.0
What sources are you using @nesper8 ? because your log show
/home/nep/Projects/Serious-Engine/Sources/Engine/Engine.cpp:131: error: unterminated #else
131 | #if (defined USE_PORTABLE_C) // rcg10072001
But that line 131 is not like that in this repo.
Also, I assume you have a build issue, as your ticket is very minimal.
EDIT: Ah, I didn't noticed this was created in rcgordon repo. Try my fork: https://github.com/ptitSeb/Serious-Engine it should work.
@ptitSeb , your version gets compiled out but returns a segmentation fault after the intro which i have created a new issue on your fork
I have see, but don't reproduce the issue. But the install process discribed in the README is a bit confusing and I need to clarify that out,e specially with the Free GoG version.
Compilation fails at 71%
Tried both 32 and 64 bit