forked from niessner/mLib
-
Notifications
You must be signed in to change notification settings - Fork 0
Research Library used in the Visual Computing Lab
License
theswiftfox/mLib
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Changes from theswiftfox ------------------------- Updated mLib to work with MSVC v140 To fix build you have to make a small change to a header from mLibExternal! From stackoverflow: I ran into this myself, turned out to be a bug in Eigen. In my case, just replacing the following line in src/Eigen/Eigen/src/Core/util/Macros.h #if defined(_MSC_VER) && (!defined(__INTEL_COMPILER)) with #if defined(_MSC_VER) && (_MSC_VER < 1900) && (!defined(__INTEL_COMPILER)) solved this issue. The assignment operators are then generated. Original Readme: ------------------------- mLib is a library to support research projects, and has been used in a large number of publications. You are free to use this code with proper attribution under the MIT license (Please see LICENSE). For the possibilities of commercial use, please contact the authors. CONTACT (feel free to contact us): niessner@cs.stanford.edu mdfisher@cs.stanford.edu adai@cs.stanford.edu INSTALLATION: Make to check out mLib and mLibExternal on the same directory level; ideally, in you work folder. A typical file structure looks this: E:\Work\mLib E:\Work\mLibExternal E:\Work\<project name> Most code was developed under VS2013, but the library is cross platform and most modules run under Windows, Linux, and Mac. Example projects can be found in mLib\test. In order to add mLib to your project create mLibInclude.h and mLibInclude.cpp files to. These file need to be added to your to your VisualStudio project or Makefile. Requirements: - All external libraries are in mLibExternal (the idea is that everybody is using the same library versions) - DirectX SDK June 2010 (needs to be separately installed for Windows rendering) We are also looking for active participation in maintaining and extending mLib. However, please when you are changing the API be aware that you might break other research projects. Example of mLibInclude.h: #include "mLibCore.h" #include "mLibD3D11.h" #include "mLibD3D11Font.h" #include "mLibDepthCamera.h" #include "mLibANN.h" #include "mLibEigen.h" #include "mLibLodePNG.h" #include "mLibZLib.h" #include "mlibCGAL.h" #include "mLibOpenMesh.h" #include "mLibFreeImage.h" //this must be included after OpenMesh; otherwise there is a crash using namespace ml; Example of mLibInclude.cpp: #include "mLibCore.cpp" #include "mLibD3D11.cpp" #include "mLibLodePNG.cpp" #include "mLibZLib.cpp"
About
Research Library used in the Visual Computing Lab
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- C++ 85.8%
- C 13.8%
- Other 0.4%