nanogui icon indicating copy to clipboard operation
nanogui copied to clipboard

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

Open yurivict opened this issue 3 years ago • 3 comments

c++: error: the clang compiler does not support '-march=nehalem'

clang-13 FreeBSD 13

yurivict avatar Apr 19 '22 03:04 yurivict

FreeBSD is not a supported platform, sorry.

wjakob avatar Oct 24 '22 21:10 wjakob

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

wjakob avatar Oct 24 '22 22:10 wjakob

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" ..

broose-goose avatar Dec 25 '22 02:12 broose-goose