Open SmithReid opened 2 years ago
Hi, I have the same issue when compile:
Scanning dependencies of target dng_sdk
[ 31%] Building CXX object source/lib/dng_sdk/CMakeFiles/dng_sdk.dir/dng_1d_function.cpp.o
In file included from /gpr/source/lib/dng_sdk/dng_types.h:21:0,
from /gpr/source/lib/dng_sdk/dng_1d_function.h:26,
from /gpr/source/lib/dng_sdk/dng_1d_function.cpp:16:
/gpr/source/lib/dng_sdk/dng_flags.h:145:2: error: #error Unable to figure out byte order.
#error Unable to figure out byte order.
^~~~~
make[2]: *** [source/lib/dng_sdk/CMakeFiles/dng_sdk.dir/dng_1d_function.cpp.o] Error 1
make[1]: *** [source/lib/dng_sdk/CMakeFiles/dng_sdk.dir/all] Error 2
make: *** [all] Error 2
I'm using this OS:
NAME="Amazon Linux"
VERSION="2"
ID="amzn"
ID_LIKE="centos rhel fedora"
VERSION_ID="2"
PRETTY_NAME="Amazon Linux 2"
ANSI_COLOR="0;33"
CPE_NAME="cpe:2.3:o:amazon:amazon_linux:2"
HOME_URL="https://amazonlinux.com/"
VARIANT_ID="202304141149-2.0.1065.0"
Did you find any solution by this? Thanks!
After running the
make
command.After composing most of this issue, I tested on an x86 machine with success, and that would satisfy my use case, but the world is going more towards arm64
Honestly, with my limited level of competence with CMake et all, title is most of what I can provide at this time. But I have done all the googling I can. Please let me know if I can elaborate.