1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

Cinder-Runtimeのビルドでlibxml/parser.hが無いって怒られたら

Posted at

素敵!抱いて!と言いたくなるような素敵block, Cinder-Runtime.

でも何故か

/path/to/cinder/blocks/Cinder-Runtime/src/tools/clang/tools/c-index-test/c-index-test.c:15:10: fatal error:
      'libxml/parser.h' file not found
# include <libxml/parser.h>

悲しい. そんなときは取り敢えず

clang/tools/CMakeLists.txtを

add_subdirectory(diagtool)
add_subdirectory(driver)
add_subdirectory(clang-format)
add_subdirectory(clang-format-vs)

# add_subdirectory(c-index-test) # ここをコメントアウトした
add_subdirectory(libclang)

if(CLANG_ENABLE_ARCMT)
  add_subdirectory(arcmt-test)
  add_subdirectory(c-arcmt-test)
endif()

if(CLANG_ENABLE_STATIC_ANALYZER)
  add_subdirectory(clang-check)
endif()

# We support checking out the clang-tools-extra repository into the 'extra'
# subdirectory. It contains tools developed as part of the Clang/LLVM project
# on top of the Clang tooling platform. We keep them in a separate repository
# to keep the primary Clang repository small and focused.
# It also may be included by LLVM_EXTERNAL_CLANG_TOOLS_EXTRA_SOURCE_DIR.
add_llvm_external_project(clang-tools-extra extra)

もう少し真面目に調べて何か分かったら追記します.

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?