我创建了一个控制台项目并将 Quartz.Framework、QuartzCore.Framework 添加到我的应用程序中。
但是在链接过程中会出现以下错误
Undefined symbols for architecture x86_64:
"_CGColorCreateGenericRGB", referenced from:
GifFlippingBook::GifFlippingBookCreator::CreateGifFlippingBook(int, int, double, std::string, int, std::string, std::string, int, std::string, std::string, std::string) in main.o
"_CGDataProviderCreateWithFilename", referenced from:
GifFlippingBook::GifFlippingBookCreator::CreateGifFlippingBook(int, int, double, std::string, int, std::string, std::string, int, std::string, std::string, std::string) in main.o
"_CGImageCreateWithPNGDataProvider", referenced from:
GifFlippingBook::GifFlippingBookCreator::CreateGifFlippingBook(int, int, double, std::string, int, std::string, std::string, int, std::string, std::string, std::string) in main.o
任何想法为什么?