alecjacobson / gptoolbox

Matlab toolbox for Geometry Processing.
MIT License
628 stars 166 forks source link

build for win7x64 and matlab #30

Closed Dizzman closed 7 years ago

Dizzman commented 7 years ago

I used for build this (alecjacobson branch) https://ci.appveyor.com/project/danielepanozzo/libigl-6hjk1

git clone -q --branch=alecjacobson https://github.com/libigl/libigl.git git checkout -qf 3887cdd git submodule update --init --recursive

image OK!

cd tutorial mkdir build cd build cmake -D "LIBIGL_USE_STATIC_LIBRARY=ON" -G "Visual Studio 14 2015 Win64" ../ image

MATLAB_MAT_LIBRARY - NOT FOUND MATLAB_MEX_LIBRARY - NOT FOUND MATLAB_MX_LIBRARY - NOT FOUND MATLAB_ENF_LIBRARY - NOT FOUND

and in CMakeError.log

D:\alecjacobson\libigl\tutorial\build\CMakeFiles\CMakeTmp\CheckIncludeFile.c(1): fatal error C1083: ## Cannot open include file: 'pthread.h': No such file or directory [D:\alecjacobson\libigl\tutorial\build\CMakeFiles\CMakeTmp\cmTC_8d429.vcxproj]

Try use cmale-gui CGAL_DIR-NOTFOUND image

and Matlab_ROOT_DIR D:\MATLAB/R2017a image

Push configure

-- libigl includes: D:/tmp/libbb/shared/cmake/../../external/nanogui/ext/eigen D:/tmp/libbb/shared/cmake/../../include D:/tmp/libbb/shared/cmake/../../external/CoMISo/ext/gmm-4.2/include D:/tmp/libbb/shared/cmake/../../external/CoMISo/../ D:/tmp/libbb/shared/cmake/../../external/embree/include D:/tmp/libbb/shared/cmake/../../external/lim MATLAB_INCLUDE_DIR-NOTFOUND D:/tmp/libbb/shared/cmake/../../external/nanogui/ext/glew/include D:/tmp/libbb/shared/cmake/../../external/nanogui/ext/glfw/include D:/tmp/libbb/shared/cmake/../../external/nanogui/ext/glew/include D:/tmp/libbb/shared/cmake/../../external/nanogui/ext/glfw/include D:/tmp/libbb/shared/cmake/../../external/nanogui/ext/glfw/include D:/tmp/libbb/shared/cmake/../../external/nanogui/ext/glew/include D:/tmp/libbb/shared/cmake/../../external/stb_image D:/tmp/libbb/shared/cmake/../../external/tetgen D:/tmp/libbb/shared/cmake/../../external/triangle D:/tmp/libbb/shared/cmake/../../external/tinyxml2 -- libigl libraries: igl_xml igl_triangle igl_tetgen igl_png igl_viewer igl_opengl_glfw igl_opengl2 igl_opengl igl_matlab igl_lim igl_embree igl_comiso igl -- libigl extra libraries: CoMISo D:/tmp/libbb/shared/cmake/../../external/CoMISo/ext/OpenBLAS-v0.2.14-Win64-int64/lib/libopenblas.dll.a.lib embree lim MATLAB_MAT_LIBRARY-NOTFOUND MATLAB_MEX_LIBRARY-NOTFOUND MATLAB_MX_LIBRARY-NOTFOUND MATLAB_ENG_LIBRARY-NOTFOUND opengl32 glew opengl32 glew glfw stb_image tetgen triangle tinyxml2 -- libigl definitions: -DIGL_STATIC_LIBRARY -DINCLUDE_TEMPLATES -DIGL_NO_MOSEK CMake Error: The following variables are used in this project, but they are set to NOTFOUND.