compressonator icon indicating copy to clipboard operation
compressonator copied to clipboard

Mac version not compiling

Open Silveryard opened this issue 2 years ago • 1 comments

Hi,

I tried building Compressonator on MacOS because there is no prebuilt version in the releases. The build is currently failing with the following error:

/Users/sebastianbischlager/Tools/Compressonator/applications/_plugins/cimage/ktx/./lib/ktx.h:148:10: warning: non-portable path to file '"khr/khrplatform.h"'; specified path differs in case from file name on disk [-Wnonportable-include-path]
#include "KHR/khrplatform.h"
         ^~~~~~~~~~~~~~~~~~~
         "khr/khrplatform.h"
/Users/sebastianbischlager/Tools/Compressonator/applications/_plugins/cimage/ktx/./lib/ktx.h:165:16: fatal error: 'GL/glcorearb.h' file not found
      #include <GL/glcorearb.h>
               ^~~~~~~~~~~~~~~~

MacOS version: 13.4.1 cmake command: cmake -DOPTION_ENABLE_ALL_APPS=OFF -DOPTION_BUILD_APPS_CMP_CLI=ON

initsetup_mac.sh and fetch_dependencies.py were executed before building.

Silveryard avatar Jun 25 '23 13:06 Silveryard

We don't currently target or test MacOS builds, so there are likely many build errors like mentioned in this issue and related issues: #168, #167, and #171

denislevesqueAMD avatar Jul 19 '23 15:07 denislevesqueAMD