-
Notifications
You must be signed in to change notification settings - Fork 302
Open
Description
build by README.md, generator: -G "Visual Studio 17 2022"
here is the error :
232>AutoloadCallback.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: class llvm::StringRef __cdecl clang::AnnotateAttr::getAnnotation(void)const " (__imp_?getAnnotation@AnnotateAttr@clang@@QEBA?AVStringRef@llvm@@XZ)
232>DynamicLookup.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: class llvm::StringRef __cdecl clang::AnnotateAttr::getAnnotation(void)const " (__imp_?getAnnotation@AnnotateAttr@clang@@QEBA?AVStringRef@llvm@@XZ)
232>NullDerefProtectionTransformer.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: class llvm::StringRef __cdecl clang::AnnotateAttr::getAnnotation(void)const " (__imp_?getAnnotation@AnnotateAttr@clang@@QEBA?AVStringRef@llvm@@XZ)
232>NullDerefProtectionTransformer.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: static bool __cdecl clang::AnnotateAttr::classof(class clang::Attr const *)" (__imp_?classof@AnnotateAttr@clang@@SA_NPEBVAttr@2@@Z)
232>AutoSynthesizer.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: static bool __cdecl clang::AnnotateAttr::classof(class clang::Attr const *)" (__imp_?classof@AnnotateAttr@clang@@SA_NPEBVAttr@2@@Z)
232>AutoloadCallback.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: static bool __cdecl clang::AnnotateAttr::classof(class clang::Attr const *)" (__imp_?classof@AnnotateAttr@clang@@SA_NPEBVAttr@2@@Z)
232>DynamicLookup.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: static bool __cdecl clang::AnnotateAttr::classof(class clang::Attr const *)" (__imp_?classof@AnnotateAttr@clang@@SA_NPEBVAttr@2@@Z)
232>ForwardDeclPrinter.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: static bool __cdecl clang::AnnotateAttr::classof(class clang::Attr const *)" (__imp_?classof@AnnotateAttr@clang@@SA_NPEBVAttr@2@@Z)
232>DeclUnloader.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: static bool __cdecl clang::CUDAGlobalAttr::classof(class clang::Attr const *)" (__imp_?classof@CUDAGlobalAttr@clang@@SA_NPEBVAttr@2@@Z),函数 "public: __cdecl clang::GlobalDecl::GlobalDecl(class clang::FunctionDecl const *,unsigned int)" (??0GlobalDecl@clang@@QEAA@PEBVFunctionDecl@1@I@Z) 中引用了该符号
232>Interpreter.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: static bool __cdecl clang::CUDAGlobalAttr::classof(class clang::Attr const *)" (__imp_?classof@CUDAGlobalAttr@clang@@SA_NPEBVAttr@2@@Z)
232>ValuePrinter.obj : error LNK2001: 无法解析的外部符号 "__declspec(dllimport) public: static bool __cdecl clang::CUDAGlobalAttr::classof(class clang::Attr const *)" (__imp_?classof@CUDAGlobalAttr@clang@@SA_NPEBVAttr@2@@Z)
232>DeviceKernelInliner.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: static bool __cdecl clang::CUDADeviceAttr::classof(class clang::Attr const *)" (__imp_?classof@CUDADeviceAttr@clang@@SA_NPEBVAttr@2@@Z),函数 "public: virtual class llvm::PointerIntPair<class clang::Decl *,1,bool,struct llvm::PointerLikeTypeTraits<class clang::Decl *>,struct llvm::PointerIntPairInfo<class clang::Decl *,1,struct llvm::PointerLikeTypeTraits<class clang::Decl *> > > __cdecl cling::DeviceKernelInliner::Transform(class clang::Decl *)" (?Transform@DeviceKernelInliner@cling@@UEAA?AV?$PointerIntPair@PEAVDecl@clang@@$00_NU?$PointerLikeTypeTraits@PEAVDecl@clang@@@llvm@@U?$PointerIntPairInfo@PEAVDecl@clang@@$00U?$PointerLikeTypeTraits@PEAVDecl@clang@@@llvm@@@4@@llvm@@PEAVDecl@clang@@@Z) 中引用了该符号
232>NullDerefProtectionTransformer.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: class llvm::iterator_range<class clang::ParamIdx *> __cdecl clang::NonNullAttr::args(void)const " (__imp_?args@NonNullAttr@clang@@QEBA?AV?$iterator_range@PEAVParamIdx@clang@@@llvm@@XZ),函数 "private: bool __cdecl `anonymous namespace'::PointerCheckInjector::isDeclCandidate(class clang::FunctionDecl *)" (?isDeclCandidate@PointerCheckInjector@?A0x581a629a@@AEAA_NPEAVFunctionDecl@clang@@@Z) 中引用了该符号
232>NullDerefProtectionTransformer.obj : error LNK2019: 无法解析的外部符号 "__declspec(dllimport) public: static bool __cdecl clang::NonNullAttr::classof(class clang::Attr const *)" (__imp_?classof@NonNullAttr@clang@@SA_NPEBVAttr@2@@Z),函数 "private: bool __cdecl `anonymous namespace'::PointerCheckInjector::isDeclCandidate(class clang::FunctionDecl *)" (?isDeclCandidate@PointerCheckInjector@?A0x581a629a@@AEAA_NPEAVFunctionDecl@clang@@@Z) 中引用了该符号
232>F:\environment\llvm\cling-build\Release\bin\cling.exe : fatal error LNK1120: 6 个无法解析的外部命令```Metadata
Metadata
Assignees
Labels
No labels