Solution to issue when using x64 pack

48 views
Skip to first unread message

Runjie Zhao

unread,
Apr 11, 2023, 4:11:08 PM4/11/23
to lp_solve
I meet the issue when I plan to run my c++ code with Debug x64 on visual studio 2022 where I include lp_solve55.lib in my linker and lp_lib.h in my c++ code. In the lp_lib.h, we need to modify WIN32 to _WIN64 on line 214. Then, I also modify the xhash file in visual studio. In line 915 of xhash file, I change _CSTD to _STD to complete solve the issue. If you are also including glm, you may also need to modify func_common.inl file by changing std::isnan to glm::isnan on line 586.
Reply all
Reply to author
Forward
0 new messages