[GEM-dev] Gem Build Errors

j-p k jptrkz at gmail.com
Sun Oct 25 20:21:30 CET 2015


Hi,

Now that I have a computer w/ the new OSX (10.11)  I'm going to try to fix
the [gemvertexbuffer] issues some folks were having that I wasn't
experiencing on OSX 10.6.

However, I'm getting these errors while building the latest Gem:

clang: warning: optimization flag '-falign-loops' is not supported

clang: warning: optimization flag '-falign-functions' is not supported

clang: warning: optimization flag '-falign-jumps' is not supported

clang: warning: argument unused during compilation: '-falign-loops'

clang: warning: argument unused during compilation: '-falign-functions'

clang: warning: argument unused during compilation: '-falign-jumps'


... And then fatal messages below.  I tried reinstalling QT but no luck.

:

*imageQT.cpp:157:31: **error: **use of undeclared identifier
'kQTFileTypePicture'*

    s_mime2type["image/pict"]=kQTFileTypePicture;//-

*                              ^*

*imageQT.cpp:167:30: **error: **use of undeclared identifier
'kQTFileTypeGIF'*

    s_mime2type["image/gif"]=kQTFileTypeGIF;//-

*                             ^*

*imageQT.cpp:168:30: **error: **use of undeclared identifier
'kQTFileTypePNG'; did*

*      you mean 'kICFileType'?*

    s_mime2type["image/png"]=kQTFileTypePNG;//-

*                             ^~~~~~~~~~~~~~*

                             kICFileType

*/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h:166:3:
note: *

      'kICFileType' declared here

  kICFileType                   = 'ICAp',

*  ^*

*imageQT.cpp:169:31: **error: **use of undeclared identifier
'kQTFileTypeTIFF'*

    s_mime2type["image/tiff"]=kQTFileTypeTIFF;//-

*                              ^*

*imageQT.cpp:170:30: **error: **use of undeclared identifier
'kQTFileTypePhotoShop'*

    s_mime2type["image/psd"]=kQTFileTypePhotoShop;//-

*                             ^*

*imageQT.cpp:171:30: **error: **use of undeclared identifier
'kQTFileTypeSGIImage'*

    s_mime2type["image/sgi"]=kQTFileTypeSGIImage;//-

*                             ^*

*imageQT.cpp:172:30: **error: **use of undeclared identifier
'kQTFileTypeBMP'; did*

*      you mean 'kICFileType'?*

    s_mime2type["image/bmp"]=kQTFileTypeBMP;//-

*                             ^~~~~~~~~~~~~~*

                             kICFileType

*/System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/InternetConfig.h:166:3:
note: *

      'kICFileType' declared here

  kICFileType                   = 'ICAp',

*  ^*

*imageQT.cpp:173:31: **error: **use of undeclared identifier
'kQTFileTypeJPEG'*

    s_mime2type["image/jpeg"]=kQTFileTypeJPEG;//-

*                              ^*

*imageQT.cpp:175:30: **error: **use of undeclared identifier
'kQTFileTypeMacPaint'*

    s_mime2type["image/mac"]=kQTFileTypeMacPaint;//-

*                             ^*

*imageQT.cpp:176:32: **error: **use of undeclared identifier
'kQTFileTypeTargaImage'*

    s_mime2type["image/targa"]=kQTFileTypeTargaImage;//-

*                               ^*

*imageQT.cpp:178:38: **error: **use of undeclared identifier*

*      'kQTFileTypeQuickTimeImage'; did you mean*

*      'kQTFileTypeBrandQuickTimeMovie'?*

    s_mime2type["image/x-quicktime"]=kQTFileTypeQuickTimeImage;//-

*                                     ^~~~~~~~~~~~~~~~~~~~~~~~~*

                                     kQTFileTypeBrandQuickTimeMovie

*/System/Library/Frameworks/QuickTime.framework/Headers/MoviesFormat.h:816:3:
note: *

      'kQTFileTypeBrandQuickTimeMovie' declared here

  kQTFileTypeBrandQuickTimeMovie = 'qt  ', /* QuickTime movie files*/

*  ^*

*imageQT.cpp:190:30: **error: **use of undeclared identifier
'kQTFileTypeJPEG2000'*

    s_mime2type["image/jp2"]=kQTFileTypeJPEG2000;//-

*                             ^*

*imageQT.cpp:243:32: **error: **unknown type name 'GraphicsImportComponent'*

static bool QuickTimeImage2mem(GraphicsImportComponent inImporter, image...

*                               ^*

*imageQT.cpp:246:9: **error: **no member named
'GraphicsImportGetNaturalBounds' in*

*      the global namespace*

  if (::GraphicsImportGetNaturalBounds(inImporter, &r)) return NULL;   /...

*      ~~^*

*imageQT.cpp:246:64: **warning: **implicit conversion of NULL constant to
'bool'*

*      [-Wnull-conversion]*

  if (::GraphicsImportGetNaturalBounds(inImporter, &r)) return NULL;
//g...

*                                                        ~~~~~~ ^~~~*

                                                               false

*imageQT.cpp:247:5: **error: **no member named 'OffsetRect' in the global
namespace*

  ::OffsetRect(&r, -r.left, -r.top);

*  ~~^*

*imageQT.cpp:248:9: **error: **no member named
'GraphicsImportSetBoundsRect' in the*

*      global namespace*

  if (::GraphicsImportSetBoundsRect(inImporter, &r)) return NULL;

*      ~~^*

*imageQT.cpp:248:61: **warning: **implicit conversion of NULL constant to
'bool'*

*      [-Wnull-conversion]*

  if (::GraphicsImportSetBoundsRect(inImporter, &r)) return NULL;

*                                                     ~~~~~~ ^~~~*

                                                            false

*imageQT.cpp:250:9: **error: **no member named
'GraphicsImportGetImageDescription' in*

*      the global namespace*

  if (::GraphicsImportGetImageDescription(inImporter, &imageDescH)) return
NULL;

*      ~~^*

*imageQT.cpp:250:76: **warning: **implicit conversion of NULL constant to
'bool'*

*      [-Wnull-conversion]*

  if (::GraphicsImportGetImageDescription(inImporter, &imageDescH)) return
NULL;

*                                                                    ~~~~~~
^~~~*


false

*imageQT.cpp:275:5: **warning: **'DisposeHandle' is deprecated: first
deprecated in*

*      OS X 10.8 [-Wdeprecated-declarations]*

  ::DisposeHandle(reinterpret_cast<Handle>(imageDescH));

*    ^*

*/System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacMemory.h:1278:1:
note: *

      'DisposeHandle' has been explicitly marked deprecated here

DisposeHandle(Handle h)                                       __OSX_AVAI...

*^*

*imageQT.cpp:289:15: **error: **use of undeclared identifier
'QTNewGWorldFromPtr'*

  OSErr err = QTNewGWorldFromPtr(&gw,

*              ^*

*imageQT.cpp:301:5: **error: **no member named 'GraphicsImportSetGWorld' in
the*

*      global namespace*

  ::GraphicsImportSetGWorld(inImporter, gw, NULL);

*  ~~^*

*fatal error: *too many errors emitted, stopping now [-ferror-limit=]

7 warnings and 20 errors generated.

make[2]: *** [gem_imageQT_la-imageQT.lo] Error 1

make[1]: *** [all-recursive] Error 1

make: *** [all-recursive] Error 1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/gem-dev/attachments/20151025/ae7e7917/attachment.html>


More information about the GEM-dev mailing list