mitsuba-renderer / nanogui

Minimalistic C++/Python GUI library for OpenGL, GLES2/3, Metal, and WebAssembly/WebGL
Other
1.52k stars 189 forks source link

Fails on arm64: error: the clang compiler does not support '-march=nehalem' #118

Open yurivict opened 2 years ago

yurivict commented 2 years ago
c++: error: the clang compiler does not support '-march=nehalem'

clang-13 FreeBSD 13

wjakob commented 1 year ago

FreeBSD is not a supported platform, sorry.

wjakob commented 1 year ago

Hmm, sorry -- I misremembered! Is this still a current issue?

broose-goose commented 1 year ago

Just got that error; depends what chip you have.

I'm running this on a quartz64a. It has a RK3566 processor. I googled the processor and it has arm A55 cores on it. Googling arm A55, I found the cores have an ARMv8.2-A architecture . As a result, I added this bit to the cmake command.

cmake -DNANOGUI_NATIVE_FLAGS="-march=armv8.2-a" ..