Wei Sun Home
 
 
Building libDAI is not an easy job in Windows. I spent more than two days on that effort but failed, mainly because there is not a clear way to build MPIR (the Windows port of GMP) that compatible with libDAI in Windows environment. Briefly, the failed building process for Windows is the following: 

testdai.obj
libdai.lib(factor.obj) : error LNK2001: unresolved external symbol ___gmpz_mul_u
i
libdai.lib(bbp.obj) : error LNK2019: unresolved external symbol ___gmpz_mul_ui r
eferenced in function "public: __thiscall boost::bad_lexical_cast::bad_lexical_c
ast(class type_info const &,class type_info const &)" (
??0bad_lexical_cast@boost
@@QAE@ABVtype_info@@0@Z) ....

 

Hope somebody can figure out what is wrong in the process described above. If so, please email me.

 

 

 

---

Created on April 28th, 2012, by Wei Sun.