pangolin
pangolin copied to clipboard
Building on Windows [solution]
Environment: Windows 10, Visual Studio 2019, Python 3.7.4 64-bit
- Follow the instructions in
readme.md
- When cmake fails to find
vcvarsall.bat
, instead of usual command prompt, use "developer command prompt" of Visual Studio (it's in Start menu) - You'll have to download and install git for Windows (hmm doesn't VS have that included?)
- After cmake succeds, open the .sln file with Visual Studio, switch Debug to Release and try building. When the build fails at "pangolin_export.h not found", go to build\src\include\pangolin\ and rename
_pangolin_export.h
topangolin_export.h
. Remove all leading underscores inside the file as well. This should build 18 projects in the solution and 1 still fails. - Inside Visual Studio go to
pangolin
project properties > C/C++ > General > Additional Include Directories > add directories to the list:
yourgitclonepath\build\src\include
yourgitclonepath\build\external\glew\include
- Download Eigen library and add to include directories
- Build the solution
- Change the
setup.py
file:
__library_file__ = 'Release/pangolin*.pyd' # line 8
assert len(lib_file) == 1 and install_dir is not None # line 24
can you help me? i am new person