Exult Not Compiling on Pi 3

NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Forum rules
NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
Locked
Chris Ream

Exult Not Compiling on Pi 3

Post by Chris Ream »

When attempting to compile Exult on my Raspberry Pi 3, I get this error:

https://dl.dropboxusercontent.com/u/108 ... n%20pi.txt
Malignant Manor
Site Admin
Posts: 985
Joined: Thu May 14, 2020 1:34 pm

Re: Exult Not Compiling on Pi 3

Post by Malignant Manor »

Try putting "std::"in front of "ptrdiff_t" on U7obj.h line 144 and databuf.h line 306.

Code: Select all

"ptrdiff_t length;" changes to "std::ptrdiff_t length;"

return (buf_ptr - buf) >= static_cast(size);
changes to
return (buf_ptr - buf) >= static_cast(size);
Malignant Manor
Site Admin
Posts: 985
Joined: Thu May 14, 2020 1:34 pm

Re: Exult Not Compiling on Pi 3

Post by Malignant Manor »

I do not recommend using the really old release candidate. We have since fixed a major bug that stopped us from having a release. Here is a link to the current source.

Edit: I just added std:: to a few lines in the source.
Locked