OpenAWE-Project / OpenAWE

A reimplementation of Remedy Entertainments Alan Wake Engine, in later iterations known as the Northlight Engine
GNU General Public License v3.0
159 stars 13 forks source link

emmintrin.h #31

Closed Mzed3D closed 1 year ago

Mzed3D commented 1 year ago

Hi! When compiling OpenAWE on an Arm64 board (Odroid N2+ in my case) I get the error:

fatal error: emmintrin.h: No such file or directory

And after a while the compilation fails. Deleting "include " from /src/codecs/yuv2rgb.cpp solves the problem.

Nostritius commented 1 year ago

I see the problem, emmintirin.h gives the intrinsics for SSE2, a processor extension for vector calculation. It needs to be encapsulated into certain preprocessor definitions as it is done with the body of convertYUV2RGB_SSE2. I will create a small fix for that.

Nostritius commented 1 year ago

Could you test if that works for you?

Mzed3D commented 1 year ago

Now it works!