-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build problem #7
Comments
It seems like Z3Prover.cpp is not compiled. Please check that it's in your
solution file.
HXMCPP ***@***.***> schrieb am Sa., 27. Mai 2023, 19:19:
… 5>LLVMParser.obj : error LNK2019: unresolved external symbol "bool __cdecl prove(class z3::expr)" (?prove@@***@***.***@@@z) referenced in function "private: bool __cdecl LSiMBA::LLVMParser::verify(class llvm::SmallVectorImpl<struct LSiMBA::BFSEntry> &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > &,class llvm::SmallVectorImpl<class llvm::Value *> &)" ***@***@***.***@@***@***@***.***@@@llvm@@***@***.******@***@***.***@@***@***@***.***@@std@@***@***@***.***@@@4@@z)
6>SiMBA++.vcxproj -> Z:\SiMBA-\build\RelWithDebInfo\SiMBA++.exe
5>Simplifier.obj : error LNK2019: unresolved external symbol "bool __cdecl proveReplacement(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > &,int,class std::vector<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > > &)" (?proveReplacement@@***@***.******@***@***.***@@***@***@***.***@@std@@***@***.******@***.******@***@***.***@@***@***@***.***@@std@@***@***.******@***.******@***@***.***@@***@***@***.***@@std@@@2@@2@@z) referenced in function "private: bool __cdecl LSiMBA::Simplifier::verify_mba_unsat(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > &,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > &)" ***@***@***.***@@***@***.******@***@***.***@@***@***@***.***@@std@@***@***.***)
5>Z:\SiMBA-\build\RelWithDebInfo\SiMBAPass.dll : fatal error LNK1120: 2 unresolved externals
5>Done building project "SiMBAPass.vcxproj" -- FAILED.
What version of z3 you are using ?
llvm was compiled with LLVM_ENABLE_Z3_SOLVER=ON support and the z3 lib is
linked.
—
Reply to this email directly, view it on GitHub
<#7>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACJFEX4UOMHVMOURTFKGULTXIIA55ANCNFSM6AAAAAAYRGIPLA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
i installed z3 using vcpkg. why would i need to add Z3Prover.cpp. |
https://github.com/pgarba/SiMBA-/blob/main/Z3Prover.cpp is part of the project and its not getting compiled on your side. This file implements the functions |
yes i fixed it, but there is anohter problem, why on the first
|
|
Try with llvm 15 |
Closing this as no feedback provided |
What version of z3 you are using ?
llvm was compiled with
LLVM_ENABLE_Z3_SOLVER=ON
support and the z3 lib is linked.The text was updated successfully, but these errors were encountered: