jhlib.cpp:1:0: error: CPU you selected does not support x86-64 instruction set
#include"global.h"
jhlib.cpp:1:0: error: CPU you selected does not support x86-64 instruction set
#include"global.h"
^
make: *** [jhlib.o] Error 1
any ideas what i can do ?
Are you on a 32bit cpu or a 32bit OS?
ubuntu 31.10 64
can anybody hlep me to solve this issue?
When you compile, remove -march=native and you won't get that error.
make CFLAGS="-O3 -march=native" >>> make CFLAGS="-O3"
If you are compiling on digitalocean, use this.
make CFLAGS="-O3 -march=corei7"