#include <stdio.h>
#include <iostream>
#include <fstream>
#include <string>
#include <Magick++.h>
#include <list>
using namespace std;
using namespace Magick;
int main(int argc, char **argv) {
try {
InitializeMagick(*argv);
Image my_image("D:\\test.jpg");
unsigned int x;
unsigned int columns(x);
cout << "width: " << x << endl;
}
catch (Magick::Exception & error) {
cerr << "Caught Magick++ exception: " << error.what() << endl;
}
getchar();
return 0;
}
这不起作用。请帮忙
simillar问题在这里没有答案 Magick++ undefined reference to Magick::Image::Columns