Share

AtomicParsley

The forum address has changed, you have been automatically redirected. Please update any bookmarks to use the new URL.

Subscribe

0.9.0: error when building on macos x 10.5?

  1. 2008-01-12 10:06:12 UTC
    hi,

    i am getting an error when trying to build 0.9.0 on macos x 10.5. any hints? TIA

    $ unzip AtomicParsley-source-0.9.0.zip
    $ cd AtomicParsley-source-0.9.0
    $ ./build
    (...)
    Compiling AP_commons.cpp ...
    Compiling AtomicParsley_genres.cpp ...
    Compiling AP_iconv.cpp ...
    Compiling AP_NSFile_utils.mm ...
    Compiling AP_NSImage.mm ...
    AP_NSImage.mm: In function ‘bool ResizeGivenImage(const char*, PicPrefs, char*)’:
    AP_NSImage.mm:204: error: ‘_NSBitmapImageFileType’ was not declared in this scope
    AP_NSImage.mm:204: error: expected `;' before ‘filetype’
    AP_NSImage.mm:208: error: ‘filetype’ was not declared in this scope
    AP_NSImage.mm:212: error: ‘filetype’ was not declared in this scope
    AP_NSImage.mm:216: error: ‘filetype’ was not declared in this scope
    Compiling AtomicParsley.cpp ...
    Compiling AP_AtomExtracts.cpp ...
    Compiling APar_sha1.cpp ...
    Compiling APar_uuid.cpp ...
    Compiling main.cpp ...
    Linking AtomicParsley...
    i686-apple-darwin9-g++-4.0.1: obj_files/AP_NSImage.o: No such file or directory
    strip: can't open file: AtomicParsley (No such file or directory)
  2. 2008-01-12 23:17:12 UTC
    Yes, there is a typo in file "AP_NSImage.mm". Line 204: error: ‘_NSBitmapImageFileType’ was not declared in this scope.

    Change '_NSBitmapImageFileType' to 'NSBitmapImageFileType' (remove the underscore. Take a look at the patch of Atomic Parsley in sourceforge.
< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.