のねのBlog

パソコンの問題や、ソフトウェアの開発で起きた問題など書いていきます。よろしくお願いします^^。

エラー C3861 'hb_buffer_append': 識別子が見つかりませんでした

githubから、harfbuzzをcloneして、コンパイルすると以下のエラーになった。
コンパイルは、visual studioでプロジェクトを作成し、hb-view.ccをコンパイルした。

includeは、vcpkgのフォルダを以下のフォルダを指定した。

GitHub\vcpkg\installed\x86-windows\include
GitHub\vcpkg\installed\x86-windows\include\harfbuzz
重大度レベル	コード	説明	プロジェクト	ファイル	行	抑制状態
エラー	C3861	'hb_buffer_append': 識別子が見つかりませんでした	hbTools	c:\users\m_fujii\documents\github\harfbuzz\util\options.hh	263	
エラー	C2065	'HB_GLYPH_FLAG_UNSAFE_TO_BREAK': 定義されていない識別子です。	hbTools	c:\users\m_fujii\documents\github\harfbuzz\util\options.hh	356	
エラー	C3861	'hb_buffer_append': 識別子が見つかりませんでした	hbTools	c:\users\m_fujii\documents\github\harfbuzz\util\options.hh	398	
エラー	C3861	'hb_buffer_append': 識別子が見つかりませんでした	hbTools	c:\users\m_fujii\documents\github\harfbuzz\util\options.hh	407	
エラー	C2065	'hb_buffer_diff_flags_t': 定義されていない識別子です。	hbTools	c:\users\m_fujii\documents\github\harfbuzz\util\options.hh	417	
エラー	C2146	構文エラー: ';' が、識別子 'diff' の前に必要です。	hbTools	c:\users\m_fujii\documents\github\harfbuzz\util\options.hh	417	
エラー	C2065	'diff': 定義されていない識別子です。	hbTools	c:\users\m_fujii\documents\github\harfbuzz\util\options.hh	417	
エラー	C3861	'hb_buffer_diff': 識別子が見つかりませんでした	hbTools	c:\users\m_fujii\documents\github\harfbuzz\util\options.hh	417	
エラー	C2065	'diff': 定義されていない識別子です。	hbTools	c:\users\m_fujii\documents\github\harfbuzz\util\options.hh	418	
エラー	C3861	'hb_buffer_append': 識別子が見つかりませんでした	hbTools	c:\users\m_fujii\documents\github\harfbuzz\util\options.hh	426	
エラー	C3861	'hb_ot_shape_glyphs_closure': 識別子が見つかりませんでした	hbTools	c:\users\m_fujii\documents\github\harfbuzz\util\options.hh	442	
エラー	C4996	'strdup': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _strdup. See online help for details.	hbTools	c:\users\m_fujii\documents\github\harfbuzz\util\options.hh	594	
エラー	C4146	符号付きの値を代入する変数は、符号付き型にキャストしなければなりません。	hbTools	c:\users\m_fujii\documents\github\harfbuzz\util\view-cairo.hh	49