nillerusr / source-engine

Modified source engine (2017) developed by valve and leaked in 2020. Not for commercial purporses
Other
1.13k stars 174 forks source link

Build issues on Raspberry Pi #320

Closed coderamen666 closed 6 months ago

coderamen666 commented 7 months ago

Basically issue #22 is giving me problems and I don't know how people have resolved it. This repo is known to work on a raspberry pi. I just don't know how to achieve this.

nillerusr commented 6 months ago

Are you sure? Please, provide build log

coderamen666 commented 6 months ago

I am sure but Ive got to fire up my pi to get the logs

coderamen666 commented 6 months ago

The build is stuck on tier2/renderutils.cpp as of now. I am on 32-bit as well, which might be playing a role.

coderamen666 commented 6 months ago

The log is 75 MB.

I think I found the culprit.

../common/sse2neon.h:133:2: error: #error "Unsupported target. Must be either ARMv7-A+NEON or ARMv8-A."

nillerusr commented 6 months ago

Well, that compiler version is used? Looks like compiler issue. Provide build/config.log

coderamen666 commented 6 months ago

config.log

nillerusr commented 6 months ago

Hmm Try CXXFLAGS='-march=armv7-a' before ./waf configure Like that: CXXFLAGS='-march=armv7-a' ./waf configure -T release

coderamen666 commented 6 months ago

It's currently compiling rn. It didn't error out yet