Home Forums GAMES104 现代游戏引擎:从入门到实践 Piccolo 0.0.7 Mac(M1)编译报错

Viewing 0 reply threads
  • Author
    Posts
    • #11927 Score: 0
      smile
      Participant

      更新到最新的0.0.7版本后编译报错了。。。请问大佬们这是怎么回事?有没有解决办法?

      一部分报错信息:`
      ld: warning: ignoring file /Users/zhangzhitong/Code/Piccolo-main/engine/source/meta_parser/3rd_party/LLVM/bin/macOS/libclang.dylib, building for macOS-arm64 but attempting to link with file built for macOS-x86_64
      Undefined symbols for architecture arm64:
      “_clang_Cursor_getSpellingNameRange”, referenced from:
      Cursor::getSourceFile() const in cursor.o
      “_clang_createIndex”, referenced from:
      MetaParser::parse() in parser.o
      “_clang_createTranslationUnitFromSourceFile”, referenced from:
      MetaParser::parse() in parser.o
      “_clang_disposeIndex”, referenced from:
      MetaParser::~MetaParser() in parser.o
      “_clang_disposeString”, referenced from:
      Utils::toString(CXString const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) in meta_utils.o
      “_clang_disposeTranslationUnit”, referenced from:
      MetaParser::~MetaParser() in parser.o
      “_clang_getArgType”, referenced from:
      CursorType::GetArgument(unsigned int) const in cursor_type.o
      “_clang_getCString”, referenced from:
      Utils::toString(CXString const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&) in meta_utils.o`

Viewing 0 reply threads
  • You must be logged in to reply to this topic.