Re:D2X-XL – an OpenGL modification of the classic video game...
by arbruijn on Sunday August 15, 2021 @05:15AM
(#28187348)
I have a version with working linux compilation and some other fixes here: https://github.com/arbruijn/d2x-xl/
[ Parent
| on HN ]
Re:D2X-XL – an OpenGL modification of the classic video game...
by dTal on Sunday August 15, 2021 @08:14AM
(#28188127)
Thank you. What is the intended build system? I see you've added empty NEWS etc files, but the configure script is still broken for me (config.log shows SDL test program fails with:
gcc: fatal error: cannot read spec file 'libgomp.spec': No such file or directory
I get further with cmake (which is not mentioned at all in the INSTALL file) but compilation still fails with:
/home/dtal/d2x-xl/audio/songs.cpp:48:29: error: narrowing conversion of '3759186702' from 'unsigned int' to 'int' [-Wnarrowing]
This a warning, not an error, so I assume the working system calls GCC with the correct flags. It would be great if you could update the documentation with working instructions.
Re:D2X-XL – an OpenGL modification of the classic video game...
by arbruijn on Sunday August 15, 2021 @12:04PM
(#28189849)
I've fixed the narrow conversion error with newer compilers and added build instructions to the README.
Not sure what's up with libgomp.spec, it should be part of the gcc base package, at least on debian/ubuntu.