jjzjj

CGImageDestinationCreateWithURL

全部标签

c++ - 编译opencv框架的未知错误: Undefined symbols: "_CGImageDestinationCreateWithURL"

Xcode给了我以下错误,我真的不知道该怎么办,这让我发疯了。我正在导入一个OpenCV框架,所以问题可能存在或与编译器有关。谁能告诉我要做什么或搜索什么?Undefinedsymbols:"_CGImageDestinationCreateWithURL",referencedfrom:cv::ImageIOEncoder::write(cv::Matconst&,std::vector>const&)inOpenCV(grfmt_imageio.o)"_CGImageDestinationAddImage",referencedfrom:cv::ImageIOEncoder::wr

c++ - 编译opencv框架的未知错误: Undefined symbols: "_CGImageDestinationCreateWithURL"

Xcode给了我以下错误,我真的不知道该怎么办,这让我发疯了。我正在导入一个OpenCV框架,所以问题可能存在或与编译器有关。谁能告诉我要做什么或搜索什么?Undefinedsymbols:"_CGImageDestinationCreateWithURL",referencedfrom:cv::ImageIOEncoder::write(cv::Matconst&,std::vector>const&)inOpenCV(grfmt_imageio.o)"_CGImageDestinationAddImage",referencedfrom:cv::ImageIOEncoder::wr

ios - CGImageDestinationCreateWithURL 的问题

我正在使用CGImageDestinationCreateWithURL保存gif图像,这是我的代码:funcgifFromImages(images:Array,animationTime:Double)->String?{letdate=Int(NSDate().timeIntervalSince1970)letpath=Bundle.main.bundlePath+"/gifs/"+String(date)+".gif"letdelay=animationTime/Double(totalFrames)letprep=[kCGImagePropertyGIFDictionarya