0
cgo로 GraphicsMagick을 실행하고 싶습니다.cgo 및 pkg-config
/*
#cgo pkg-config: GraphicsMagick-config
#include <magick/api.h>
static int gm(int argc, char **argv) {
int status;
status = GMCommand(argc, argv);
return 1-status;
}
*/
는 내가 실행, 그것은 말한다 '설치 이동'
# pkg-config --cflags GraphicsMagick-config
Package GraphicsMagick-config was not found in the pkg-config search path.
Perhaps you should add the directory containing `GraphicsMagick-config.pc'
to the PKG_CONFIG_PATH environment variable
No package 'GraphicsMagick-config' found
exit status 1
을하지만 난 쉘에서 'PKG-설정 GraphicsMagick-설정'을 실행하고 괜찮아요.