User Activity

  • Posted a comment on discussion Developers on FreeImage

    I got it all worked out. Details are here if you care to see: https://www.ultraengine.com/community/topic/59665-freeimage-build-errors/

  • Posted a comment on discussion Developers on FreeImage

    I am trying to build FreeImage as a universal binary library to support both Intel Macs and the new Apple Silicon Macs. I tried replacing all instances of "-arch x86_64" with "-arch x86_64 -arch arm" or "-arch x86_64 -arch arm64" in makefile.osx, to no avail. How do I do this?

  • Modified a comment on discussion Developers on FreeImage

    These are the changes I made to make it compile successfully: Add at top of segdec.c: #ifdef __APPLE__ #include <libkern/OSByteOrder.h> #define _byteswap_ulong(x) _OSSwapInt32 #endif Add at top of gzguts.h: #ifdef __APPLE__ #include <unistd.h> #endif Add at line 18 of gzlib.c: #ifdef __APPLE__ #define _LARGEFILE64_SOURCE /* See feature_test_macros(7) */ #include <sys/types.h> #include <unistd.h> #endif Add at top of both copies of JXRGlueJxr.c: #ifdef __APPLE__ #include <wchar.h> #endif

  • Posted a comment on discussion Developers on FreeImage

    These are the changes I made to make it compile successfully: Add at top of segdec.c: ifdef APPLE #include <libkern/OSByteOrder.h> #define _byteswap_ulong(x) _OSSwapInt32 endif Add at top of gzguts.h: ifdef APPLE #include <unistd.h> endif Add at line 18 of gzlib.c: ifdef APPLE #define _LARGEFILE64_SOURCE /* See feature_test_macros(7) */ #include <sys/types.h> #include <unistd.h> endif Add at top of both copies of JXRGlueJxr.c: ifdef APPLE #include <wchar.h> endif

  • Modified a comment on discussion Developers on FreeImage

    I am trying to compile FreeImage on macOS Catalina, with Xcode 12.2. The following errors occur: Last login: Sun Jul 11 13:47:54 on ttys000 josh@Joshs-MacBook-Pro ~ % cd ~/Desktop/Freeimage josh@Joshs-MacBook-Pro Freeimage % make /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile.osx /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -Os -fexceptions -fvisibility=hidden -DNO_LCMS -D__ANSI__ -arch x86_64 -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit...

  • Posted a comment on discussion Developers on FreeImage

    I am trying to compile FreeImage on macOS Catalina, with Xcode 12.2. The following errors occur: josh@Joshs-MacBook-Pro Freeimage % make /Applications/Xcode.app/Contents/Developer/usr/bin/make -f Makefile.osx /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolcha in/usr/bin/clang -Os -fexceptions -fvisibility=hidden -DNO_LCMS -D__ANSI__ -arch x86_64 -I. -ISource -ISource/Metadata -ISource/FreeImageToolkit -ISource/LibJPEG -ISource/LibPNG -ISource/LibTIFF4 -ISource/ZLib -ISource/LibOpenJPEG...

View All

Personal Data

Username:
ultraengine
Joined:
2021-07-11 21:12:59

Projects

  • No projects to display.

Personal Tools