【发布时间】:2018-05-10 13:17:02
【问题描述】:
我正在尝试在 AWS Amazon Linux EC2 实例上构建 OpenJpeg。我安装了 cmake 和 gcc 并且在安装过程中没有任何问题。当我尝试 cmake openjpeg 时,出现以下错误:
-- Check if the system is big endian
-- Searching 16 bit integer
CMake Error at /usr/share/cmake/Modules/TestBigEndian.cmake:44 (message):
no suitable type found
Call Stack (most recent call first):
CMakeLists.txt:164 (TEST_BIG_ENDIAN)
-- Configuring incomplete, errors occurred!
检查错误日志,CMake 似乎无法确定整数、short 和 long 的大小。完整的错误日志可见this gist
我怎样才能解决这个问题并使 CMake 工作?
【问题讨论】:
标签: cmake amazon-linux