Interrupt / Interrupt/systemshock

error when running "make systemshock"

Open
#412 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
900
Forks
77
Avg merge
2d 2h
Merged PRs (30d)
1

Description

when compiling on x64 arch with linux-lts kernel i get this error:
```
error: assignment to ‘ubyte *’ {aka ‘unsigned char *’} from incompatible pointer type ‘ubyte **’ {aka ‘unsigned char **’} [-Wincompatible-pointer-types]
216 | parm_ptr = (&object_ptr) + sizeof(object_ptr); //va_start(parm_ptr, object_ptr);
| ^
make[3]: *** [src/Libraries/CMakeFiles/3D_LIB.dir/build.make:174: src/Libraries/CMakeFiles/3D_LIB.dir/3D/Source/interp.c.o] Error 1
make[2]: *** [CMakeFiles/Makefile2:252: src/Libraries/CMakeFiles/3D_LIB.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:155: CMakeFiles/systemshock.dir/rule] Error 2
make: *** [Makefile:124: systemshock] Error 2
```
what do i do? it used to compile just fine before. i did a full system update recently, is this why? is my SDL2 version too new?

### Steps to reproduce:

1. Clone the systemshock repo
2. run `./build_deps.sh`
3. run `cmake .`
4. run `make systemshock`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.