. 이전 답변에서 발견 한 이유는 포함하는 경우 잘못된 구성입니다. 다음은 코드에 포함 된 내용입니다.정의되지 않은 참조 : __ default_alloc_template <true, 0> :: 할당 취소 (무효 *, 부호없는 int)를'
#pragma warning(disable:4786)
#include <stdio.h>
#include <map>
#include <string>
#include <vector>
#include <png.h>
#include <math.h>
#include <ft2build.h>
#include <gd.h>
#include FT_FREETYPE_H
using namespace std;
#ifndef WIN32
#define stricmp strcasecmp
#else
#include <io.h>
#include <fcntl.h>
#endif
수정하는 데 도움이 필요합니까?
헤더가 누락되었을 수 있습니다. 또는 gcc로 컴파일하고 g ++로 컴파일하지 않았을 수 있습니다. –
몇 가지 비고 : C++에서''과''을''과''으로하고,'#include FT_FREETYPE_H'가 잘못되었으므로'#ifndef WIN32'가 잘못되었습니다 : 대신 _WIN32를 사용하십시오. –
rubenvb