protonscr

(Not a game issue) - Failing to Compile from Source

vkd3dclosed
HansKristian-Work/vkd3d-proton#212 · opened 2020-07-17 by jrugia · updated 2020-07-20 · 4 comments · github
Jjrugia 2020-07-17 github

Before the project was forked I was compiling the native library without issues. I've been trying to adapt to the new build method and while I did get far, it seems I'm now stuck at the actual compiling part.

What I've done so far:

Updated my Meson package to 0.55
Downloaded all vkd3d source including the subprojects and their own 3rd party requirements.

It seems the project is halting at the 'dxil-spirv' part, any idea what might be the cause?

Thanks in advance

1

2

Ttelans 2020-07-17 github

You need a newer gcc probably, isn't 6.3.0 three years old?

HHansKristian-Work maintainer 2020-07-17 github

Please try to build https://github.com/HansKristian-Work/dxil-spirv in isolation and report a bug there if it fails to compile on GCC 6. It's probably just missing an #include <stddef.h> somewhere.

Mmisyltoad maintainer 2020-07-18 github

I don't see why not being able to compile on GCC 6.3 is an issue that we need to address at all.
GCC 6.3 came out in December 21, 2016 which is almost 4 years old at this point...

I guess if it's a simple fix then sure but I would still not recommend using it.

HHansKristian-Work maintainer 2020-07-20 github

Should be a trivial #include <stddef.h> fix, which is fixed now on dxil-spirv master. If that's not enough, I have no easy way to test on GCC 6, and I don't really care.

Nothing extracted yet.