-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't compile with GCC 8.4.0 #527
Comments
Looks like you don't have Python 3.9. I changed the script in question, so it should work with lower versions now. |
Ran into other problem /home/user/perfect_dark/port/src/preprocess/filemodel.c: In function ‘populateMarkers’: |
What version of gcc do you have? Use |
It actually broke at 78% I tried to do the command again and it stopped at 38% this time. I have 8.4.0 version. |
That's pretty old. The game requires a couple C++20 features, which have only started appearing in 8. It's probably best to build it with at least 10. I committed a change that might at least partially fix this. Can you try again? |
just now I did, try again, this time it got to 81% [ 81%] Building CXX object CMakeFiles/pd.dir/port/fast3d/gfx_cc.cpp.o a bit better, but not quite |
Yeah you don't have |
My bad, I guess will have to wait for the devs of my os to fix this problem. I assume its too much trouble, hence I say this. Let me know if this is indeed correct. |
This is unfortunately not easily fixable (or to be more precise I got no goddamn clue with what to replace the |
No problem, you tried. Do you think you can support clang though if nothing else? And what would be the minimum version needed? Assuming this is possible |
I plan to. What version do you have available? |
Got 11 actually, is that a problem or no. debian buster actually has it too |
I don't know. I think one thing that the code uses might've only been added in 14, but I'm not sure. We'll see when someone gets around to build it for OSX or something. |
Ill see if I can build clang 14 or newer then. I have to update my cmake first tho EDIT: I figured out how to build cmake, but clang 14 is impossible it seems for my system right now. I tried my best though. I did update to cmake 3.30.5 though Weird stuff... I guess either you make it work on clang 11 or gcc 8.4.0 or I wait till the newer system I desire comes out. the devs are working on a openbsd hard fork right now, the devs of my OS. So... maybe I will use it then on this comp. |
You should probably close this, if you don't have a path forward for this. I don't wish to waste your time with this. I am wondering if this installs on any BSDs without the linux compatibility layer tho |
Using Hyperbola GNU/Linux-Libre
the testing version
followed the commands after downloading and unzipping the master:
cmake -G"Unix Makefiles" -Bbuild .
then
cmake --build build -j2
and this happens:
[ 1%] Generating src/generated/ntsc-final/lang/ame.h
Traceback (most recent call last):
File "/home/user/perfect_dark-port/tools/assetmgr/mklang", line 3, in
import assetmgr
File "/home/user/perfect_dark-port/tools/assetmgr/assetmgr.py", line 163, in
os.environ['ROMID'] = arg.removeprefix('--romid=')
AttributeError: 'str' object has no attribute 'removeprefix'
make[2]: *** [CMakeFiles/pd_headers.dir/build.make:267: src/generated/ntsc-final/lang/ame.h] Error 1
make[1]: *** [CMakeFiles/Makefile2:85: CMakeFiles/pd_headers.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
The text was updated successfully, but these errors were encountered: