gabyx / ApproxMVBB

Fast algorithms to compute an approximation of the minimal volume oriented bounding box of a point cloud in 3D.
Mozilla Public License 2.0
441 stars 93 forks source link

Change files to build with Visual Studio 2013 #5

Closed Maghoumi closed 8 years ago

Maghoumi commented 8 years ago

Here are the changes that I had to make in order to build ApproxMVBB and ApproxMVBBExample under Visual Studio 2013. Not sure if this will break GNU's build.

gabyx commented 8 years ago

ok good corrections, I will try to integrate most of them, except the dllimport (your corrections are right, typename is not needed) was hard to find!

dllimport export should be fixed by giving the Compiler the flag "ApproxMVBB_BUILD_LIBRARY" obviously it does not work although it is given when you build with cygwin

cd /home/Mehran/build/lib && /usr/bin/c++.exe   -DApproxMVBB_BUILD_LIBRARY -DApproxMVBB_EXPORTS -std=c++11 -fmax-errors=50 -Werror=return-type  -fvisibility=hidden  -DApproxMVBB_BUILD_LIBRARY 

Can you provide the MSVC output? as well?

Maghoumi commented 8 years ago

Regarding MSVC, I wanted to but I couldn't get /VERBOSE to work. I will fiddle with it and will get you the verbose output soon.

Maghoumi commented 8 years ago

Here is the verbose MSVC output:

1>------ Build started: Project: ZERO_CHECK, Configuration: Debug x64 ------
1>Build started 11/25/2015 9:21:28 PM.
1>InitializeBuildStatus:
1>  Creating "x64\Debug\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
1>CustomBuild:
1>  Checking Build System
1>  CMake does not need to re-run because C:/cygwin64/home/Mehran/build-vs/CMakeFiles/generate.stamp is up-to-date.
1>  CMake does not need to re-run because C:/cygwin64/home/Mehran/build-vs/lib/CMakeFiles/generate.stamp is up-to-date.
1>  CMake does not need to re-run because C:/cygwin64/home/Mehran/build-vs/tests/CMakeFiles/generate.stamp is up-to-date.
1>  CMake does not need to re-run because C:/cygwin64/home/Mehran/build-vs/example/CMakeFiles/generate.stamp is up-to-date.
1>  CMake does not need to re-run because C:/cygwin64/home/Mehran/build-vs/example/approxMVBB/CMakeFiles/generate.stamp is up-to-date.
1>  CMake does not need to re-run because C:/cygwin64/home/Mehran/build-vs/example/kdTreeFiltering/CMakeFiles/generate.stamp is up-to-date.
1>FinalizeBuildStatus:
1>  Deleting file "x64\Debug\ZERO_CHECK\ZERO_CHECK.tlog\unsuccessfulbuild".
1>  Touching "x64\Debug\ZERO_CHECK\ZERO_CHECK.tlog\ZERO_CHECK.lastbuildstate".
1>
1>Build succeeded.
1>
1>Time Elapsed 00:00:00.10
2>------ Build started: Project: ApproxMVBB_PredInitGenInternal, Configuration: Debug x64 ------
2>Build started 11/25/2015 9:21:28 PM.
2>InitializeBuildStatus:
2>  Creating "ApproxMVBB_PredInitGenInternal.dir\Debug\ApproxMV.B121D60F.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
2>CustomBuild:
2>  Building Custom Rule C:/cygwin64/home/Mehran/ApproxMVBB/CMakeLists.txt
2>  CMake does not need to re-run because C:\cygwin64\home\Mehran\build-vs\CMakeFiles\generate.stamp is up-to-date.
2>cl : Command line warning D9002: ignoring unknown option '/EH;'
2>cl : Command line warning D9002: ignoring unknown option '/EH/'
2>cl : Command line warning D9002: ignoring unknown option '/EHM'
2>cl : Command line warning D9002: ignoring unknown option '/EHP'
2>  PredicatesInit.cpp
2>C:\cygwin64\home\Mehran\ApproxMVBB\external\GeometryPredicates\src\PredicatesInit.cpp(70): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details.
2>          C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\stdio.h(211) : see declaration of 'fopen'
2>Link:
2>  ApproxMVBB_PredInitGenInternal.vcxproj -> C:\cygwin64\home\Mehran\build-vs\Debug\ApproxMVBB_PredInitGenInternal.exe
2>FinalizeBuildStatus:
2>  Deleting file "ApproxMVBB_PredInitGenInternal.dir\Debug\ApproxMV.B121D60F.tlog\unsuccessfulbuild".
2>  Touching "ApproxMVBB_PredInitGenInternal.dir\Debug\ApproxMV.B121D60F.tlog\ApproxMVBB_PredInitGenInternal.lastbuildstate".
2>
2>Build succeeded.
2>
2>Time Elapsed 00:00:00.55
3>------ Build started: Project: ApproxMVBB_PredInitGen, Configuration: Debug x64 ------
3>Build started 11/25/2015 9:21:28 PM.
3>InitializeBuildStatus:
3>  Creating "x64\Debug\ApproxMVBB_PredInitGen\ApproxMV.7B709BC4.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
3>CustomBuild:
3>  Building Custom Rule C:/cygwin64/home/Mehran/ApproxMVBB/CMakeLists.txt
3>  CMake does not need to re-run because C:\cygwin64\home\Mehran\build-vs\CMakeFiles\generate.stamp is up-to-date.
3>  Generating include/ApproxMVBB/GeometryPredicates/PredicatesInit.hpp
3>FinalizeBuildStatus:
3>  Deleting file "x64\Debug\ApproxMVBB_PredInitGen\ApproxMV.7B709BC4.tlog\unsuccessfulbuild".
3>  Touching "x64\Debug\ApproxMVBB_PredInitGen\ApproxMV.7B709BC4.tlog\ApproxMVBB_PredInitGen.lastbuildstate".
3>
3>Build succeeded.
3>
3>Time Elapsed 00:00:01.70
4>------ Build started: Project: ApproxMVBB, Configuration: Debug x64 ------
4>Build started 11/25/2015 9:21:30 PM.
4>InitializeBuildStatus:
4>  Creating "ApproxMVBB.dir\Debug\ApproxMVBB.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
4>CustomBuild:
4>  Building Custom Rule C:/cygwin64/home/Mehran/ApproxMVBB/lib/CMakeLists.txt
4>  CMake does not need to re-run because C:\cygwin64\home\Mehran\build-vs\lib\CMakeFiles\generate.stamp is up-to-date.
4>ClCompile:
4>  Microsoft (R) C/C++ Optimizing Compiler Version 18.00.40629 for x64
4>  Copyright (C) Microsoft Corporation.  All rights reserved.
4>  
4>  cl /c /IC:\cygwin64\home\Mehran\ApproxMVBB\external\GeometryPredicates\include /I"C:\cygwin64\home\Mehran\build-vs\include" /IC:\Users\Mehran\Desktop\dependencies /IC:\cygwin64\home\Mehran\ApproxMVBB\external\Diameter\include /IC:\cygwin64\home\Mehran\ApproxMVBB\include /IC:\Users\Mehran\Desktop\dependencies\pugixml\include /Zi /W3 /WX- /Od /Ob0 /D WIN32 /D _WINDOWS /D _DEBUG /D ApproxMVBB_BUILD_LIBRARY /D "CMAKE_INTDIR=\"Debug\"" /D ApproxMVBB_EXPORTS /D _WINDLL /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /GR /Fo"ApproxMVBB.dir\Debug\\" /Fd"ApproxMVBB.dir\Debug\vc120.pdb" /Gd /TP /errorReport:prompt /VERBOSE /EHsc";"/MP C:\cygwin64\home\Mehran\ApproxMVBB\src\ApproxMVBB\Common\MyMatrixTypeDefs.cpp C:\cygwin64\home\Mehran\ApproxMVBB\src\ApproxMVBB\ConvexHull2D.cpp C:\cygwin64\home\Mehran\ApproxMVBB\src\ApproxMVBB\MinAreaRectangle.cpp C:\cygwin64\home\Mehran\ApproxMVBB\src\ApproxMVBB\OOBB.cpp C:\cygwin64\home\Mehran\ApproxMVBB\src\ApproxMVBB\AABB.cpp C:\cygwin64\home\Mehran\ApproxMVBB\external\Diameter\src\EstimateDiameter.cpp C:\cygwin64\home\Mehran\ApproxMVBB\external\Diameter\src\alloc.cpp C:\cygwin64\home\Mehran\ApproxMVBB\external\Diameter\src\util.cpp C:\cygwin64\home\Mehran\ApproxMVBB\external\Diameter\src\rand.cpp C:\cygwin64\home\Mehran\ApproxMVBB\external\GeometryPredicates\src\Predicates.cpp
4>cl : Command line warning D9035: option 'V' has been deprecated and will be removed in a future release
4>  
4>cl : Command line warning D9002: ignoring unknown option '/EH;'
4>cl : Command line warning D9002: ignoring unknown option '/EH/'
4>cl : Command line warning D9002: ignoring unknown option '/EHM'
4>cl : Command line warning D9002: ignoring unknown option '/EHP'
4>  cl /c /IC:\cygwin64\home\Mehran\ApproxMVBB\external\GeometryPredicates\include /I"C:\cygwin64\home\Mehran\build-vs\include" /IC:\Users\Mehran\Desktop\dependencies /IC:\cygwin64\home\Mehran\ApproxMVBB\external\Diameter\include /IC:\cygwin64\home\Mehran\ApproxMVBB\include /IC:\Users\Mehran\Desktop\dependencies\pugixml\include /Zi /W3 /WX- /Od /Ob0 /D WIN32 /D _WINDOWS /D _DEBUG /D ApproxMVBB_BUILD_LIBRARY /D "CMAKE_INTDIR=\"Debug\"" /D ApproxMVBB_EXPORTS /D _WINDLL /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /GR /Fo"ApproxMVBB.dir\Debug\\" /Fd"ApproxMVBB.dir\Debug\vc120.pdb" /Gd /TP /errorReport:prompt /VERBOSE /EHsc";"/MP C:\cygwin64\home\Mehran\ApproxMVBB\src\ApproxMVBB\Common\MyMatrixTypeDefs.cpp C:\cygwin64\home\Mehran\ApproxMVBB\src\ApproxMVBB\ConvexHull2D.cpp C:\cygwin64\home\Mehran\ApproxMVBB\src\ApproxMVBB\MinAreaRectangle.cpp C:\cygwin64\home\Mehran\ApproxMVBB\src\ApproxMVBB\OOBB.cpp C:\cygwin64\home\Mehran\ApproxMVBB\src\ApproxMVBB\AABB.cpp C:\cygwin64\home\Mehran\ApproxMVBB\external\Diameter\src\EstimateDiameter.cpp C:\cygwin64\home\Mehran\ApproxMVBB\external\Diameter\src\alloc.cpp C:\cygwin64\home\Mehran\ApproxMVBB\external\Diameter\src\util.cpp C:\cygwin64\home\Mehran\ApproxMVBB\external\Diameter\src\rand.cpp C:\cygwin64\home\Mehran\ApproxMVBB\external\GeometryPredicates\src\Predicates.cpp
4>cl : Command line warning D9035: option 'V' has been deprecated and will be removed in a future release
4>  
4>cl : Command line warning D9002: ignoring unknown option '/EH;'
4>cl : Command line warning D9002: ignoring unknown option '/EH/'
4>cl : Command line warning D9002: ignoring unknown option '/EHM'
4>cl : Command line warning D9002: ignoring unknown option '/EHP'
4>  MyMatrixTypeDefs.cpp
4>  cl /c /IC:\cygwin64\home\Mehran\ApproxMVBB\external\GeometryPredicates\include /I"C:\cygwin64\home\Mehran\build-vs\include" /IC:\Users\Mehran\Desktop\dependencies /IC:\cygwin64\home\Mehran\ApproxMVBB\external\Diameter\include /IC:\cygwin64\home\Mehran\ApproxMVBB\include /IC:\Users\Mehran\Desktop\dependencies\pugixml\include /Zi /W3 /WX- /Od /Ob0 /D WIN32 /D _WINDOWS /D _DEBUG /D ApproxMVBB_BUILD_LIBRARY /D "CMAKE_INTDIR=\"Debug\"" /D ApproxMVBB_EXPORTS /D _WINDLL /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /GR /Fo"ApproxMVBB.dir\Debug\\" /Fd"ApproxMVBB.dir\Debug\vc120.pdb" /Gd /TP /errorReport:prompt /VERBOSE /EHsc";"/MP C:\cygwin64\home\Mehran\ApproxMVBB\src\ApproxMVBB\Common\MyMatrixTypeDefs.cpp C:\cygwin64\home\Mehran\ApproxMVBB\src\ApproxMVBB\ConvexHull2D.cpp C:\cygwin64\home\Mehran\ApproxMVBB\src\ApproxMVBB\MinAreaRectangle.cpp C:\cygwin64\home\Mehran\ApproxMVBB\src\ApproxMVBB\OOBB.cpp C:\cygwin64\home\Mehran\ApproxMVBB\src\ApproxMVBB\AABB.cpp C:\cygwin64\home\Mehran\ApproxMVBB\external\Diameter\src\EstimateDiameter.cpp C:\cygwin64\home\Mehran\ApproxMVBB\external\Diameter\src\alloc.cpp C:\cygwin64\home\Mehran\ApproxMVBB\external\Diameter\src\util.cpp C:\cygwin64\home\Mehran\ApproxMVBB\external\Diameter\src\rand.cpp C:\cygwin64\home\Mehran\ApproxMVBB\external\GeometryPredicates\src\Predicates.cpp
4>cl : Command line warning D9035: option 'V' has been deprecated and will be removed in a future release
4>  
4>cl : Command line warning D9002: ignoring unknown option '/EH;'
4>cl : Command line warning D9002: ignoring unknown option '/EH/'
4>cl : Command line warning D9002: ignoring unknown option '/EHM'
4>cl : Command line warning D9002: ignoring unknown option '/EHP'
4>  ConvexHull2D.cpp
4>  cl /c /IC:\cygwin64\home\Mehran\ApproxMVBB\external\GeometryPredicates\include /I"C:\cygwin64\home\Mehran\build-vs\include" /IC:\Users\Mehran\Desktop\dependencies /IC:\cygwin64\home\Mehran\ApproxMVBB\external\Diameter\include /IC:\cygwin64\home\Mehran\ApproxMVBB\include /IC:\Users\Mehran\Desktop\dependencies\pugixml\include /Zi /W3 /WX- /Od /Ob0 /D WIN32 /D _WINDOWS /D _DEBUG /D ApproxMVBB_BUILD_LIBRARY /D "CMAKE_INTDIR=\"Debug\"" /D ApproxMVBB_EXPORTS /D _WINDLL /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /GR /Fo"ApproxMVBB.dir\Debug\\" /Fd"ApproxMVBB.dir\Debug\vc120.pdb" /Gd /TP /errorReport:prompt /VERBOSE /EHsc";"/MP C:\cygwin64\home\Mehran\ApproxMVBB\src\ApproxMVBB\Common\MyMatrixTypeDefs.cpp C:\cygwin64\home\Mehran\ApproxMVBB\src\ApproxMVBB\ConvexHull2D.cpp C:\cygwin64\home\Mehran\ApproxMVBB\src\ApproxMVBB\MinAreaRectangle.cpp C:\cygwin64\home\Mehran\ApproxMVBB\src\ApproxMVBB\OOBB.cpp C:\cygwin64\home\Mehran\ApproxMVBB\src\ApproxMVBB\AABB.cpp C:\cygwin64\home\Mehran\ApproxMVBB\external\Diameter\src\EstimateDiameter.cpp C:\cygwin64\home\Mehran\ApproxMVBB\external\Diameter\src\alloc.cpp C:\cygwin64\home\Mehran\ApproxMVBB\external\Diameter\src\util.cpp C:\cygwin64\home\Mehran\ApproxMVBB\external\Diameter\src\rand.cpp C:\cygwin64\home\Mehran\ApproxMVBB\external\GeometryPredicates\src\Predicates.cpp
4>cl : Command line warning D9035: option 'V' has been deprecated and will be removed in a future release
4>  
4>cl : Command line warning D9002: ignoring unknown option '/EH;'
4>cl : Command line warning D9002: ignoring unknown option '/EH/'
4>cl : Command line warning D9002: ignoring unknown option '/EHM'
4>cl : Command line warning D9002: ignoring unknown option '/EHP'
4>  MinAreaRectangle.cpp
4>  cl /c /IC:\cygwin64\home\Mehran\ApproxMVBB\external\GeometryPredicates\include /I"C:\cygwin64\home\Mehran\build-vs\include" /IC:\Users\Mehran\Desktop\dependencies /IC:\cygwin64\home\Mehran\ApproxMVBB\external\Diameter\include /IC:\cygwin64\home\Mehran\ApproxMVBB\include /IC:\Users\Mehran\Desktop\dependencies\pugixml\include /Zi /W3 /WX- /Od /Ob0 /D WIN32 /D _WINDOWS /D _DEBUG /D ApproxMVBB_BUILD_LIBRARY /D "CMAKE_INTDIR=\"Debug\"" /D ApproxMVBB_EXPORTS /D _WINDLL /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /GR /Fo"ApproxMVBB.dir\Debug\\" /Fd"ApproxMVBB.dir\Debug\vc120.pdb" /Gd /TP /errorReport:prompt /VERBOSE /EHsc";"/MP C:\cygwin64\home\Mehran\ApproxMVBB\src\ApproxMVBB\Common\MyMatrixTypeDefs.cpp C:\cygwin64\home\Mehran\ApproxMVBB\src\ApproxMVBB\ConvexHull2D.cpp C:\cygwin64\home\Mehran\ApproxMVBB\src\ApproxMVBB\MinAreaRectangle.cpp C:\cygwin64\home\Mehran\ApproxMVBB\src\ApproxMVBB\OOBB.cpp C:\cygwin64\home\Mehran\ApproxMVBB\src\ApproxMVBB\AABB.cpp C:\cygwin64\home\Mehran\ApproxMVBB\external\Diameter\src\EstimateDiameter.cpp C:\cygwin64\home\Mehran\ApproxMVBB\external\Diameter\src\alloc.cpp C:\cygwin64\home\Mehran\ApproxMVBB\external\Diameter\src\util.cpp C:\cygwin64\home\Mehran\ApproxMVBB\external\Diameter\src\rand.cpp C:\cygwin64\home\Mehran\ApproxMVBB\external\GeometryPredicates\src\Predicates.cpp
4>cl : Command line warning D9035: option 'V' has been deprecated and will be removed in a future release
4>  
4>cl : Command line warning D9002: ignoring unknown option '/EH;'
4>cl : Command line warning D9002: ignoring unknown option '/EH/'
4>cl : Command line warning D9002: ignoring unknown option '/EHM'
4>cl : Command line warning D9002: ignoring unknown option '/EHP'
4>  OOBB.cpp
4>C:\cygwin64\home\Mehran\ApproxMVBB\include\ApproxMVBB/Common/MyMatrixTypeDefs.hpp(119): warning C4251: 'ApproxMVBB::MyMatrixIOFormat::Matlab' : struct 'Eigen::IOFormat' needs to have dll-interface to be used by clients of struct 'ApproxMVBB::MyMatrixIOFormat' (C:\cygwin64\home\Mehran\ApproxMVBB\src\ApproxMVBB\Common\MyMatrixTypeDefs.cpp)
4>          c:\users\mehran\desktop\dependencies\eigen\src/Core/IO.h(51) : see declaration of 'Eigen::IOFormat'
4>C:\cygwin64\home\Mehran\ApproxMVBB\include\ApproxMVBB/Common/MyMatrixTypeDefs.hpp(120): warning C4251: 'ApproxMVBB::MyMatrixIOFormat::CommaSep' : struct 'Eigen::IOFormat' needs to have dll-interface to be used by clients of struct 'ApproxMVBB::MyMatrixIOFormat' (C:\cygwin64\home\Mehran\ApproxMVBB\src\ApproxMVBB\Common\MyMatrixTypeDefs.cpp)
4>          c:\users\mehran\desktop\dependencies\eigen\src/Core/IO.h(51) : see declaration of 'Eigen::IOFormat'
4>C:\cygwin64\home\Mehran\ApproxMVBB\include\ApproxMVBB/Common/MyMatrixTypeDefs.hpp(121): warning C4251: 'ApproxMVBB::MyMatrixIOFormat::SpaceSep' : struct 'Eigen::IOFormat' needs to have dll-interface to be used by clients of struct 'ApproxMVBB::MyMatrixIOFormat' (C:\cygwin64\home\Mehran\ApproxMVBB\src\ApproxMVBB\Common\MyMatrixTypeDefs.cpp)
4>          c:\users\mehran\desktop\dependencies\eigen\src/Core/IO.h(51) : see declaration of 'Eigen::IOFormat'
4>C:\cygwin64\home\Mehran\ApproxMVBB\include\ApproxMVBB/Common/MyMatrixTypeDefs.hpp(119): warning C4251: 'ApproxMVBB::MyMatrixIOFormat::Matlab' : struct 'Eigen::IOFormat' needs to have dll-interface to be used by clients of struct 'ApproxMVBB::MyMatrixIOFormat' (C:\cygwin64\home\Mehran\ApproxMVBB\src\ApproxMVBB\MinAreaRectangle.cpp)
4>          c:\users\mehran\desktop\dependencies\eigen\src/Core/IO.h(51) : see declaration of 'Eigen::IOFormat'
4>C:\cygwin64\home\Mehran\ApproxMVBB\include\ApproxMVBB/Common/MyMatrixTypeDefs.hpp(119): warning C4251: 'ApproxMVBB::MyMatrixIOFormat::Matlab' : struct 'Eigen::IOFormat' needs to have dll-interface to be used by clients of struct 'ApproxMVBB::MyMatrixIOFormat' (C:\cygwin64\home\Mehran\ApproxMVBB\src\ApproxMVBB\OOBB.cpp)
4>          c:\users\mehran\desktop\dependencies\eigen\src/Core/IO.h(51) : see declaration of 'Eigen::IOFormat'
4>C:\cygwin64\home\Mehran\ApproxMVBB\include\ApproxMVBB/Common/MyMatrixTypeDefs.hpp(120): warning C4251: 'ApproxMVBB::MyMatrixIOFormat::CommaSep' : struct 'Eigen::IOFormat' needs to have dll-interface to be used by clients of struct 'ApproxMVBB::MyMatrixIOFormat' (C:\cygwin64\home\Mehran\ApproxMVBB\src\ApproxMVBB\MinAreaRectangle.cpp)
4>          c:\users\mehran\desktop\dependencies\eigen\src/Core/IO.h(51) : see declaration of 'Eigen::IOFormat'
4>C:\cygwin64\home\Mehran\ApproxMVBB\include\ApproxMVBB/Common/MyMatrixTypeDefs.hpp(120): warning C4251: 'ApproxMVBB::MyMatrixIOFormat::CommaSep' : struct 'Eigen::IOFormat' needs to have dll-interface to be used by clients of struct 'ApproxMVBB::MyMatrixIOFormat' (C:\cygwin64\home\Mehran\ApproxMVBB\src\ApproxMVBB\OOBB.cpp)
4>          c:\users\mehran\desktop\dependencies\eigen\src/Core/IO.h(51) : see declaration of 'Eigen::IOFormat'
4>C:\cygwin64\home\Mehran\ApproxMVBB\include\ApproxMVBB/Common/MyMatrixTypeDefs.hpp(121): warning C4251: 'ApproxMVBB::MyMatrixIOFormat::SpaceSep' : struct 'Eigen::IOFormat' needs to have dll-interface to be used by clients of struct 'ApproxMVBB::MyMatrixIOFormat' (C:\cygwin64\home\Mehran\ApproxMVBB\src\ApproxMVBB\MinAreaRectangle.cpp)
4>          c:\users\mehran\desktop\dependencies\eigen\src/Core/IO.h(51) : see declaration of 'Eigen::IOFormat'
4>C:\cygwin64\home\Mehran\ApproxMVBB\include\ApproxMVBB/Common/MyMatrixTypeDefs.hpp(121): warning C4251: 'ApproxMVBB::MyMatrixIOFormat::SpaceSep' : struct 'Eigen::IOFormat' needs to have dll-interface to be used by clients of struct 'ApproxMVBB::MyMatrixIOFormat' (C:\cygwin64\home\Mehran\ApproxMVBB\src\ApproxMVBB\OOBB.cpp)
4>          c:\users\mehran\desktop\dependencies\eigen\src/Core/IO.h(51) : see declaration of 'Eigen::IOFormat'
4>C:\cygwin64\home\Mehran\ApproxMVBB\include\ApproxMVBB/Common/MyMatrixTypeDefs.hpp(119): warning C4251: 'ApproxMVBB::MyMatrixIOFormat::Matlab' : struct 'Eigen::IOFormat' needs to have dll-interface to be used by clients of struct 'ApproxMVBB::MyMatrixIOFormat' (C:\cygwin64\home\Mehran\ApproxMVBB\src\ApproxMVBB\ConvexHull2D.cpp)
4>          c:\users\mehran\desktop\dependencies\eigen\src/Core/IO.h(51) : see declaration of 'Eigen::IOFormat'
4>C:\cygwin64\home\Mehran\ApproxMVBB\include\ApproxMVBB/Common/MyMatrixTypeDefs.hpp(120): warning C4251: 'ApproxMVBB::MyMatrixIOFormat::CommaSep' : struct 'Eigen::IOFormat' needs to have dll-interface to be used by clients of struct 'ApproxMVBB::MyMatrixIOFormat' (C:\cygwin64\home\Mehran\ApproxMVBB\src\ApproxMVBB\ConvexHull2D.cpp)
4>          c:\users\mehran\desktop\dependencies\eigen\src/Core/IO.h(51) : see declaration of 'Eigen::IOFormat'
4>C:\cygwin64\home\Mehran\ApproxMVBB\include\ApproxMVBB/Common/MyMatrixTypeDefs.hpp(121): warning C4251: 'ApproxMVBB::MyMatrixIOFormat::SpaceSep' : struct 'Eigen::IOFormat' needs to have dll-interface to be used by clients of struct 'ApproxMVBB::MyMatrixIOFormat' (C:\cygwin64\home\Mehran\ApproxMVBB\src\ApproxMVBB\ConvexHull2D.cpp)
4>          c:\users\mehran\desktop\dependencies\eigen\src/Core/IO.h(51) : see declaration of 'Eigen::IOFormat'
4>C:\cygwin64\home\Mehran\ApproxMVBB\include\ApproxMVBB/OOBB.hpp(136): warning C4251: 'ApproxMVBB::OOBB::m_q_KI' : class 'Eigen::Quaternion<double,0>' needs to have dll-interface to be used by clients of class 'ApproxMVBB::OOBB' (C:\cygwin64\home\Mehran\ApproxMVBB\src\ApproxMVBB\OOBB.cpp)
4>C:\cygwin64\home\Mehran\ApproxMVBB\include\ApproxMVBB/OOBB.hpp(137): warning C4251: 'ApproxMVBB::OOBB::m_minPoint' : class 'Eigen::Matrix<double,3,1,0,3,1>' needs to have dll-interface to be used by clients of class 'ApproxMVBB::OOBB' (C:\cygwin64\home\Mehran\ApproxMVBB\src\ApproxMVBB\OOBB.cpp)
4>C:\cygwin64\home\Mehran\ApproxMVBB\include\ApproxMVBB/OOBB.hpp(138): warning C4251: 'ApproxMVBB::OOBB::m_maxPoint' : class 'Eigen::Matrix<double,3,1,0,3,1>' needs to have dll-interface to be used by clients of class 'ApproxMVBB::OOBB' (C:\cygwin64\home\Mehran\ApproxMVBB\src\ApproxMVBB\OOBB.cpp)
4>C:\cygwin64\home\Mehran\ApproxMVBB\include\ApproxMVBB/ConvexHull2D.hpp(61): warning C4251: 'ApproxMVBB::ConvexHull2D::m_indicesCH' : class 'std::vector<std::seed_seq::result_type,std::allocator<char32_t>>' needs to have dll-interface to be used by clients of class 'ApproxMVBB::ConvexHull2D' (C:\cygwin64\home\Mehran\ApproxMVBB\src\ApproxMVBB\ConvexHull2D.cpp)
4>C:\cygwin64\home\Mehran\ApproxMVBB\include\ApproxMVBB/ConvexHull2D.hpp(62): warning C4251: 'ApproxMVBB::ConvexHull2D::m_p' : class 'Eigen::Ref<EigenType,0,Eigen::OuterStride<-1>>' needs to have dll-interface to be used by clients of class 'ApproxMVBB::ConvexHull2D'
4>          with
4>          [
4>              EigenType=const ApproxMVBB::PointFunctions::Matrix2Dyn
4>          ] (C:\cygwin64\home\Mehran\ApproxMVBB\src\ApproxMVBB\ConvexHull2D.cpp)
4>C:\cygwin64\home\Mehran\ApproxMVBB\include\ApproxMVBB/ConvexHull2D.hpp(61): warning C4251: 'ApproxMVBB::ConvexHull2D::m_indicesCH' : class 'std::vector<std::seed_seq::result_type,std::allocator<char32_t>>' needs to have dll-interface to be used by clients of class 'ApproxMVBB::ConvexHull2D' (C:\cygwin64\home\Mehran\ApproxMVBB\src\ApproxMVBB\MinAreaRectangle.cpp)
4>C:\cygwin64\home\Mehran\ApproxMVBB\include\ApproxMVBB/ConvexHull2D.hpp(62): warning C4251: 'ApproxMVBB::ConvexHull2D::m_p' : class 'Eigen::Ref<EigenType,0,Eigen::OuterStride<-1>>' needs to have dll-interface to be used by clients of class 'ApproxMVBB::ConvexHull2D'
4>          with
4>          [
4>              EigenType=const ApproxMVBB::PointFunctions::Matrix2Dyn
4>          ] (C:\cygwin64\home\Mehran\ApproxMVBB\src\ApproxMVBB\MinAreaRectangle.cpp)
4>C:\cygwin64\home\Mehran\ApproxMVBB\include\ApproxMVBB/MinAreaRectangle.hpp(193): warning C4251: 'ApproxMVBB::MinAreaRectangle::m_hullIdx' : class 'std::vector<std::seed_seq::result_type,std::allocator<char32_t>>' needs to have dll-interface to be used by clients of class 'ApproxMVBB::MinAreaRectangle' (C:\cygwin64\home\Mehran\ApproxMVBB\src\ApproxMVBB\MinAreaRectangle.cpp)
4>C:\cygwin64\home\Mehran\ApproxMVBB\include\ApproxMVBB/MinAreaRectangle.hpp(195): warning C4251: 'ApproxMVBB::MinAreaRectangle::m_angles' : class 'std::vector<double,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'ApproxMVBB::MinAreaRectangle'
4>          with
4>          [
4>              _Ty=double
4>          ] (C:\cygwin64\home\Mehran\ApproxMVBB\src\ApproxMVBB\MinAreaRectangle.cpp)
4>C:\cygwin64\home\Mehran\ApproxMVBB\include\ApproxMVBB/MinAreaRectangle.hpp(196): warning C4251: 'ApproxMVBB::MinAreaRectangle::m_minBox' : struct 'ApproxMVBB::MinAreaRectangle::Box2d' needs to have dll-interface to be used by clients of class 'ApproxMVBB::MinAreaRectangle' (C:\cygwin64\home\Mehran\ApproxMVBB\src\ApproxMVBB\MinAreaRectangle.cpp)
4>          C:\cygwin64\home\Mehran\ApproxMVBB\include\ApproxMVBB/MinAreaRectangle.hpp(48) : see declaration of 'ApproxMVBB::MinAreaRectangle::Box2d'
4>C:\cygwin64\home\Mehran\ApproxMVBB\include\ApproxMVBB/MinAreaRectangle.hpp(197): warning C4251: 'ApproxMVBB::MinAreaRectangle::m_p' : class 'Eigen::Ref<EigenType,0,Eigen::OuterStride<-1>>' needs to have dll-interface to be used by clients of class 'ApproxMVBB::MinAreaRectangle'
4>          with
4>          [
4>              EigenType=const ApproxMVBB::PointFunctions::Matrix2Dyn
4>          ] (C:\cygwin64\home\Mehran\ApproxMVBB\src\ApproxMVBB\MinAreaRectangle.cpp)
4>C:\cygwin64\home\Mehran\ApproxMVBB\src\ApproxMVBB\ConvexHull2D.cpp(78): warning C4267: 'initializing' : conversion from 'size_t' to 'unsigned int', possible loss of data
4>C:\cygwin64\home\Mehran\ApproxMVBB\src\ApproxMVBB\MinAreaRectangle.cpp(36): warning C4267: 'initializing' : conversion from 'size_t' to 'unsigned int', possible loss of data
4>  AABB.cpp
4>C:\cygwin64\home\Mehran\ApproxMVBB\src\ApproxMVBB\MinAreaRectangle.cpp(130): warning C4267: 'initializing' : conversion from 'size_t' to 'unsigned int', possible loss of data
4>  EstimateDiameter.cpp
4>C:\cygwin64\home\Mehran\ApproxMVBB\include\ApproxMVBB/Common/MyMatrixTypeDefs.hpp(119): warning C4251: 'ApproxMVBB::MyMatrixIOFormat::Matlab' : struct 'Eigen::IOFormat' needs to have dll-interface to be used by clients of struct 'ApproxMVBB::MyMatrixIOFormat' (C:\cygwin64\home\Mehran\ApproxMVBB\src\ApproxMVBB\AABB.cpp)
4>          c:\users\mehran\desktop\dependencies\eigen\src/Core/IO.h(51) : see declaration of 'Eigen::IOFormat'
4>C:\cygwin64\home\Mehran\ApproxMVBB\include\ApproxMVBB/Common/MyMatrixTypeDefs.hpp(120): warning C4251: 'ApproxMVBB::MyMatrixIOFormat::CommaSep' : struct 'Eigen::IOFormat' needs to have dll-interface to be used by clients of struct 'ApproxMVBB::MyMatrixIOFormat' (C:\cygwin64\home\Mehran\ApproxMVBB\src\ApproxMVBB\AABB.cpp)
4>          c:\users\mehran\desktop\dependencies\eigen\src/Core/IO.h(51) : see declaration of 'Eigen::IOFormat'
4>C:\cygwin64\home\Mehran\ApproxMVBB\include\ApproxMVBB/Common/MyMatrixTypeDefs.hpp(121): warning C4251: 'ApproxMVBB::MyMatrixIOFormat::SpaceSep' : struct 'Eigen::IOFormat' needs to have dll-interface to be used by clients of struct 'ApproxMVBB::MyMatrixIOFormat' (C:\cygwin64\home\Mehran\ApproxMVBB\src\ApproxMVBB\AABB.cpp)
4>          c:\users\mehran\desktop\dependencies\eigen\src/Core/IO.h(51) : see declaration of 'Eigen::IOFormat'
4>  alloc.cpp
4>  util.cpp
4>  rand.cpp
4>C:\cygwin64\home\Mehran\ApproxMVBB\include\ApproxMVBB/Common/MyMatrixTypeDefs.hpp(119): warning C4251: 'ApproxMVBB::MyMatrixIOFormat::Matlab' : struct 'Eigen::IOFormat' needs to have dll-interface to be used by clients of struct 'ApproxMVBB::MyMatrixIOFormat' (C:\cygwin64\home\Mehran\ApproxMVBB\external\Diameter\src\EstimateDiameter.cpp)
4>          c:\users\mehran\desktop\dependencies\eigen\src/Core/IO.h(51) : see declaration of 'Eigen::IOFormat'
4>C:\cygwin64\home\Mehran\ApproxMVBB\include\ApproxMVBB/Common/MyMatrixTypeDefs.hpp(120): warning C4251: 'ApproxMVBB::MyMatrixIOFormat::CommaSep' : struct 'Eigen::IOFormat' needs to have dll-interface to be used by clients of struct 'ApproxMVBB::MyMatrixIOFormat' (C:\cygwin64\home\Mehran\ApproxMVBB\external\Diameter\src\EstimateDiameter.cpp)
4>          c:\users\mehran\desktop\dependencies\eigen\src/Core/IO.h(51) : see declaration of 'Eigen::IOFormat'
4>C:\cygwin64\home\Mehran\ApproxMVBB\include\ApproxMVBB/Common/MyMatrixTypeDefs.hpp(121): warning C4251: 'ApproxMVBB::MyMatrixIOFormat::SpaceSep' : struct 'Eigen::IOFormat' needs to have dll-interface to be used by clients of struct 'ApproxMVBB::MyMatrixIOFormat' (C:\cygwin64\home\Mehran\ApproxMVBB\external\Diameter\src\EstimateDiameter.cpp)
4>          c:\users\mehran\desktop\dependencies\eigen\src/Core/IO.h(51) : see declaration of 'Eigen::IOFormat'
4>  Predicates.cpp
4>Link:
4>     Creating library C:/cygwin64/home/Mehran/build-vs/lib/Debug/ApproxMVBB-dbg.lib and object C:/cygwin64/home/Mehran/build-vs/lib/Debug/ApproxMVBB-dbg.exp
4>  ApproxMVBB.vcxproj -> C:\cygwin64\home\Mehran\build-vs\lib\Debug\ApproxMVBB-dbg.dll
4>FinalizeBuildStatus:
4>  Deleting file "ApproxMVBB.dir\Debug\ApproxMVBB.tlog\unsuccessfulbuild".
4>  Touching "ApproxMVBB.dir\Debug\ApproxMVBB.tlog\ApproxMVBB.lastbuildstate".
4>
4>Build succeeded.
4>
4>Time Elapsed 00:00:05.49
5>------ Build started: Project: ApproxMVBBExample, Configuration: Debug x64 ------
5>Build started 11/25/2015 9:21:36 PM.
5>InitializeBuildStatus:
5>  Creating "ApproxMVBBExample.dir\Debug\ApproxMV.3FF8BCBF.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
5>CustomBuild:
5>  Building Custom Rule C:/cygwin64/home/Mehran/ApproxMVBB/example/approxMVBB/CMakeLists.txt
5>  CMake does not need to re-run because C:\cygwin64\home\Mehran\build-vs\example\approxMVBB\CMakeFiles\generate.stamp is up-to-date.
5>cl : Command line warning D9002: ignoring unknown option '/EH;'
5>cl : Command line warning D9002: ignoring unknown option '/EH/'
5>cl : Command line warning D9002: ignoring unknown option '/EHM'
5>cl : Command line warning D9002: ignoring unknown option '/EHP'
5>  main.cpp
5>C:\cygwin64\home\Mehran\ApproxMVBB\include\ApproxMVBB/Common/MyMatrixTypeDefs.hpp(119): warning C4251: 'ApproxMVBB::MyMatrixIOFormat::Matlab' : struct 'Eigen::IOFormat' needs to have dll-interface to be used by clients of struct 'ApproxMVBB::MyMatrixIOFormat'
5>          c:\users\mehran\desktop\dependencies\eigen\src/Core/IO.h(51) : see declaration of 'Eigen::IOFormat'
5>C:\cygwin64\home\Mehran\ApproxMVBB\include\ApproxMVBB/Common/MyMatrixTypeDefs.hpp(120): warning C4251: 'ApproxMVBB::MyMatrixIOFormat::CommaSep' : struct 'Eigen::IOFormat' needs to have dll-interface to be used by clients of struct 'ApproxMVBB::MyMatrixIOFormat'
5>          c:\users\mehran\desktop\dependencies\eigen\src/Core/IO.h(51) : see declaration of 'Eigen::IOFormat'
5>C:\cygwin64\home\Mehran\ApproxMVBB\include\ApproxMVBB/Common/MyMatrixTypeDefs.hpp(121): warning C4251: 'ApproxMVBB::MyMatrixIOFormat::SpaceSep' : struct 'Eigen::IOFormat' needs to have dll-interface to be used by clients of struct 'ApproxMVBB::MyMatrixIOFormat'
5>          c:\users\mehran\desktop\dependencies\eigen\src/Core/IO.h(51) : see declaration of 'Eigen::IOFormat'
5>C:\cygwin64\home\Mehran\ApproxMVBB\include\ApproxMVBB/OOBB.hpp(136): warning C4251: 'ApproxMVBB::OOBB::m_q_KI' : class 'Eigen::Quaternion<double,0>' needs to have dll-interface to be used by clients of class 'ApproxMVBB::OOBB'
5>C:\cygwin64\home\Mehran\ApproxMVBB\include\ApproxMVBB/OOBB.hpp(137): warning C4251: 'ApproxMVBB::OOBB::m_minPoint' : class 'Eigen::Matrix<double,3,1,0,3,1>' needs to have dll-interface to be used by clients of class 'ApproxMVBB::OOBB'
5>C:\cygwin64\home\Mehran\ApproxMVBB\include\ApproxMVBB/OOBB.hpp(138): warning C4251: 'ApproxMVBB::OOBB::m_maxPoint' : class 'Eigen::Matrix<double,3,1,0,3,1>' needs to have dll-interface to be used by clients of class 'ApproxMVBB::OOBB'
5>C:\cygwin64\home\Mehran\ApproxMVBB\include\ApproxMVBB/ConvexHull2D.hpp(61): warning C4251: 'ApproxMVBB::ConvexHull2D::m_indicesCH' : class 'std::vector<std::seed_seq::result_type,std::allocator<char32_t>>' needs to have dll-interface to be used by clients of class 'ApproxMVBB::ConvexHull2D'
5>C:\cygwin64\home\Mehran\ApproxMVBB\include\ApproxMVBB/ConvexHull2D.hpp(62): warning C4251: 'ApproxMVBB::ConvexHull2D::m_p' : class 'Eigen::Ref<EigenType,0,Eigen::OuterStride<-1>>' needs to have dll-interface to be used by clients of class 'ApproxMVBB::ConvexHull2D'
5>          with
5>          [
5>              EigenType=const ApproxMVBB::PointFunctions::Matrix2Dyn
5>          ]
5>C:\cygwin64\home\Mehran\ApproxMVBB\include\ApproxMVBB/MinAreaRectangle.hpp(193): warning C4251: 'ApproxMVBB::MinAreaRectangle::m_hullIdx' : class 'std::vector<std::seed_seq::result_type,std::allocator<char32_t>>' needs to have dll-interface to be used by clients of class 'ApproxMVBB::MinAreaRectangle'
5>C:\cygwin64\home\Mehran\ApproxMVBB\include\ApproxMVBB/MinAreaRectangle.hpp(195): warning C4251: 'ApproxMVBB::MinAreaRectangle::m_angles' : class 'std::vector<double,std::allocator<_Ty>>' needs to have dll-interface to be used by clients of class 'ApproxMVBB::MinAreaRectangle'
5>          with
5>          [
5>              _Ty=double
5>          ]
5>C:\cygwin64\home\Mehran\ApproxMVBB\include\ApproxMVBB/MinAreaRectangle.hpp(196): warning C4251: 'ApproxMVBB::MinAreaRectangle::m_minBox' : struct 'ApproxMVBB::MinAreaRectangle::Box2d' needs to have dll-interface to be used by clients of class 'ApproxMVBB::MinAreaRectangle'
5>          C:\cygwin64\home\Mehran\ApproxMVBB\include\ApproxMVBB/MinAreaRectangle.hpp(48) : see declaration of 'ApproxMVBB::MinAreaRectangle::Box2d'
5>C:\cygwin64\home\Mehran\ApproxMVBB\include\ApproxMVBB/MinAreaRectangle.hpp(197): warning C4251: 'ApproxMVBB::MinAreaRectangle::m_p' : class 'Eigen::Ref<EigenType,0,Eigen::OuterStride<-1>>' needs to have dll-interface to be used by clients of class 'ApproxMVBB::MinAreaRectangle'
5>          with
5>          [
5>              EigenType=const ApproxMVBB::PointFunctions::Matrix2Dyn
5>          ]
5>C:\cygwin64\home\Mehran\ApproxMVBB\include\ApproxMVBB/ProjectedPointSet.hpp(207): warning C4251: 'ApproxMVBB::ProjectedPointSet::m_p' : class 'Eigen::Matrix<double,2,-1,0,2,-1>' needs to have dll-interface to be used by clients of class 'ApproxMVBB::ProjectedPointSet'
5>C:\cygwin64\home\Mehran\ApproxMVBB\include\ApproxMVBB/ProjectedPointSet.hpp(209): warning C4251: 'ApproxMVBB::ProjectedPointSet::m_zDir' : class 'Eigen::Matrix<double,3,1,0,3,1>' needs to have dll-interface to be used by clients of class 'ApproxMVBB::ProjectedPointSet'
5>C:\cygwin64\home\Mehran\ApproxMVBB\include\ApproxMVBB/ProjectedPointSet.hpp(210): warning C4251: 'ApproxMVBB::ProjectedPointSet::m_A_KI' : class 'Eigen::Matrix<double,3,3,0,3,3>' needs to have dll-interface to be used by clients of class 'ApproxMVBB::ProjectedPointSet'
5>C:\cygwin64\home\Mehran\ApproxMVBB\include\ApproxMVBB/ComputeApproxMVBB.hpp(52): warning C4244: 'argument' : conversion from '__int64' to 'unsigned int', possible loss of data
5>          C:\cygwin64\home\Mehran\ApproxMVBB\include\ApproxMVBB/ComputeApproxMVBB.hpp(304) : see reference to function template instantiation 'void ApproxMVBB::samplePointsGrid<Derived>(ApproxMVBB::Matrix3Dyn &,const Eigen::MatrixBase<Derived> &,const unsigned int,ApproxMVBB::OOBB &)' being compiled
5>          with
5>          [
5>              Derived=Eigen::Matrix<double,3,-1,0,3,-1>
5>          ]
5>          C:\cygwin64\home\Mehran\ApproxMVBB\example\approxMVBB\src\main.cpp(23) : see reference to function template instantiation 'ApproxMVBB::OOBB ApproxMVBB::approximateMVBB<Derived>(const Eigen::MatrixBase<Derived> &,const ApproxMVBB::PREC,const unsigned int,const unsigned int,const unsigned int,const unsigned int)' being compiled
5>          with
5>          [
5>              Derived=Eigen::Matrix<double,3,-1,0,3,-1>
5>          ]
5>C:\cygwin64\home\Mehran\ApproxMVBB\include\ApproxMVBB/ComputeApproxMVBB.hpp(85): warning C4244: 'initializing' : conversion from '__int64' to 'unsigned int', possible loss of data
5>Link:
5>     Creating library C:/cygwin64/home/Mehran/build-vs/example/approxMVBB/Debug/ApproxMVBBExample.lib and object C:/cygwin64/home/Mehran/build-vs/example/approxMVBB/Debug/ApproxMVBBExample.exp
5>  ApproxMVBBExample.vcxproj -> C:\cygwin64\home\Mehran\build-vs\example\approxMVBB\Debug\ApproxMVBBExample.exe
5>FinalizeBuildStatus:
5>  Deleting file "ApproxMVBBExample.dir\Debug\ApproxMV.3FF8BCBF.tlog\unsuccessfulbuild".
5>  Touching "ApproxMVBBExample.dir\Debug\ApproxMV.3FF8BCBF.tlog\ApproxMVBBExample.lastbuildstate".
5>
5>Build succeeded.
5>
5>Time Elapsed 00:00:04.43
========== Build: 5 succeeded, 0 failed, 1 up-to-date, 0 skipped ==========