Replies: 2 comments 1 reply
-
Seems like it was caused by this commit: bbb0693 But in your case its not finding the correct symbols. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Did you previously build CppSharp on this machine? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I start VS2022 developer command prompt as administrator, and issue command "C:\Program Files\Git\bin\sh.exe" build.sh -configuration Release -platform x64 -target-framework net8.0 to build. Then I got following link errors:
Parser.obj : error LNK2019: unresolved external symbol LLVMInitializeAArch64TargetInfo referenced in function "public:
void __cdecl CppSharp::CppParser::Parser::Setup(bool)" (?Setup@Parser@CppParser@CppSharp@@QEAAX_N@Z) [C:\Users\CZhang6
Downloads\CppSharp-1.1.2\CppSharp-1.1.2\build\vs2022\projects\CppSharp.CppParser.vcxproj]
lldCOFF.lib(Driver.obj) : error LNK2001: unresolved external symbol LLVMInitializeAArch64TargetInfo [C:\Users\CZhang6\D
ownloads\CppSharp-1.1.2\CppSharp-1.1.2\build\vs2022\projects\CppSharp.CppParser.vcxproj]
Parser.obj : error LNK2019: unresolved external symbol LLVMInitializeAArch64Target referenced in function "public: void
__cdecl CppSharp::CppParser::Parser::Setup(bool)" (?Setup@Parser@CppParser@CppSharp@@QEAAX_N@Z) [C:\Users\CZhang6\Down
loads\CppSharp-1.1.2\CppSharp-1.1.2\build\vs2022\projects\CppSharp.CppParser.vcxproj]
lldCOFF.lib(Driver.obj) : error LNK2001: unresolved external symbol LLVMInitializeAArch64Target [C:\Users\CZhang6\Downl
oads\CppSharp-1.1.2\CppSharp-1.1.2\build\vs2022\projects\CppSharp.CppParser.vcxproj]
Parser.obj : error LNK2019: unresolved external symbol LLVMInitializeAArch64TargetMC referenced in function "public: vo
id __cdecl CppSharp::CppParser::Parser::Setup(bool)" (?Setup@Parser@CppParser@CppSharp@@QEAAX_N@Z) [C:\Users\CZhang6\Do
wnloads\CppSharp-1.1.2\CppSharp-1.1.2\build\vs2022\projects\CppSharp.CppParser.vcxproj]
lldCOFF.lib(Driver.obj) : error LNK2001: unresolved external symbol LLVMInitializeAArch64TargetMC [C:\Users\CZhang6\Dow
nloads\CppSharp-1.1.2\CppSharp-1.1.2\build\vs2022\projects\CppSharp.CppParser.vcxproj]
Parser.obj : error LNK2019: unresolved external symbol LLVMInitializeAArch64AsmPrinter referenced in function "public:
struct CppSharp::CppParser::ParserResult * __cdecl CppSharp::CppParser::Parser::Compile(class std::basic_string<char,st
ruct std::char_traits,class std::allocator > const &)" (?Compile@Parser@CppParser@CppSharp@@QEAAPEAUParserR
esult@23@AEBV?$basic_string@DU?$char_traits@D@std@@v?$allocator@D@2@@std@@@z) [C:\Users\CZhang6\Downloads\CppSharp-1.1.
2\CppSharp-1.1.2\build\vs2022\projects\CppSharp.CppParser.vcxproj]
lldCOFF.lib(Driver.obj) : error LNK2001: unresolved external symbol LLVMInitializeAArch64AsmPrinter [C:\Users\CZhang6\D
ownloads\CppSharp-1.1.2\CppSharp-1.1.2\build\vs2022\projects\CppSharp.CppParser.vcxproj]
Parser.obj : error LNK2019: unresolved external symbol LLVMInitializeAArch64AsmParser referenced in function "public: v
oid __cdecl CppSharp::CppParser::Parser::Setup(bool)" (?Setup@Parser@CppParser@CppSharp@@QEAAX_N@Z) [C:\Users\CZhang6\D
ownloads\CppSharp-1.1.2\CppSharp-1.1.2\build\vs2022\projects\CppSharp.CppParser.vcxproj]
lldCOFF.lib(Driver.obj) : error LNK2001: unresolved external symbol LLVMInitializeAArch64AsmParser [C:\Users\CZhang6\Do
wnloads\CppSharp-1.1.2\CppSharp-1.1.2\build\vs2022\projects\CppSharp.CppParser.vcxproj]
......\bin\Release_x64\CppSharp.CppParser.dll : fatal error LNK1120: 5 unresolved externals [C:\Users\CZhang6\Downloa
ds\CppSharp-1.1.2\CppSharp-1.1.2\build\vs2022\projects\CppSharp.CppParser.vcxproj]
Beta Was this translation helpful? Give feedback.
All reactions