Open selau642 opened 5 years ago
The following changes were required to build on Windows(win10 + VS2017).
host.h L315- change
# define snprintf _snprintf
# define isnan _isnan
#if _MSC_VER < 1700
# define snprintf _snprintf
# define isnan _isnan
#endif
absolute_motion_terms.h L7- add
#if _MSC_VER < 1700
#define _USE_MATH_DEFINES
#include <math.h>
#endif
The following are the changes in the properties of the VL project. Change .lib to .dll. Add "VL_BUILDDLL" and "__SSE2_\" to the preprocessor definition.
I installed Ceres[SparseSuite], OpenGV(import pyopengv working), SparseSuite from VCPKG, package manager. Subsequently I setup the CmakeSettings.json file in VS2019 to point to various libraries like AMD_INCLUDE_DIR etc...to SparseSuite folder. This is because I don't know how to setup the paths when running python setup.py so I tried using VS2019 internal system to build OpenSfM.
Despite that, when I build, I received the following message: The error message seems to be split into three parts:
Should I post the CMakeError.log and CmakeOut.log files?
Can someone help me please?