When attempting to compile Exult on my Raspberry Pi 3, I get this error:
https://dl.dropboxusercontent.com/u/108 ... n%20pi.txt
Exult Not Compiling on Pi 3
Forum rules
NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
NOTICE: This forum is archived as read only.
Please use the Github Discussions at https://github.com/exult/exult/discussions
-
- Site Admin
- Posts: 985
- Joined: Thu May 14, 2020 1:34 pm
Re: Exult Not Compiling on Pi 3
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);
-
- Site Admin
- Posts: 985
- Joined: Thu May 14, 2020 1:34 pm
Re: Exult Not Compiling on Pi 3
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.
Edit: I just added std:: to a few lines in the source.