Skip to main content

⚠️ Please note that this topic or post has been archived. The information contained here may no longer be accurate or up-to-date. ⚠️

Scripting Output Error "Stitching Error"

Comments

2 comments

  • Andrew Kenney

    well, by looking through Script Debugger for something else i found that there is a "processing done script" that is called after every process:

    /Applications/Capture One 21.app/Contents/Resources/Scripts/Stitch with Photoshop.app/Contents/Resources/Scripts/Stitch_PostProcess.scpt

    Not sure why, but since I never ever use this feature I made a copy of the script and deleted its contents. No more error :) Maybe this will be helpful for someone else, I couldn't find any posts about this before.

    0
  • David Mett

    Usually, I need to be very specific about clang++, and which standard library to use.

    # Switch GCC for clang
    CC=clang
    # Switch g++ for clang++
    CXXS=clang++
    # Ensure stdlib is defined
    CXXFLAGS += $(DEFINES) -std=gnu++11 -stdlib=libstdc++ $(OPTFLAGS)
    

    If you plan on porting to ImagickMagick 7, add -Wno-deprecated-register to OPTFLAGS

    To test, take the following...

    // link_to_lib.cc
    #include <iostream>
    #include <Magick++.h>
    
    using namespace std;
    using namespace Magick;
    
    int main(int argc, const char ** argv) {
        InitializeMagick(*argv);
        Image img("rose:");
        Geometry size = img.size();
        cout << size.width() << "x" << size.height() << endl;
        return 0;
    }
    

    And compile & link with...FaceTime PC

    clang++ -std=c++11 -stdlib=libstdc++ \
            `Magick++-config --cxxflags` \
            `Magick++-config --libs` \
            link_to_lib.cc -o link_to_lib
    0

Post is closed for comments.