VS 2015 Compilation Error
Posted: Fri Jul 15, 2016 4:39 pm
Hello
I am trying to compile latest source code by MS VS 2015 64-bits (community edition), Qt 5.7, cmake 3.6.0
compiler return 4 errors like this one:
In cmake I enabled only COMPILE_CC_CORE_LIB_WITH_QT remaining stuff is turned off.
Please, what is wrong?
Thank you
Peter
I am trying to compile latest source code by MS VS 2015 64-bits (community edition), Qt 5.7, cmake 3.6.0
compiler return 4 errors like this one:
Code: Select all
2> DgmOctree.cpp
2>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\ratio(109): error C2065: 'INTMAX_MAX': undeclared identifier
2> C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\ratio(117): note: see reference to class template instantiation 'std::ratio<_Nx,_Dx>' being compiled
2>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\ratio(110): error C2065: 'INTMAX_MAX': undeclared identifier
2>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\ratio(26): error C2065: 'INTMAX_MAX': undeclared identifier
2> C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\ratio(159): note: see reference to class template instantiation 'std::_Ratio_add<_R1,_R2>' being compiled
2>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\ratio(210): error C2338: integer arithmetic overflow
2> C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\chrono(966): note: see reference to class template instantiation 'std::_Ratio_multiply_sfinae<std::ratio<100,1>,std::nano,false,void>' being compiled
2>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\chrono(966): error C2794: 'type': is not a member of any direct or indirect base class of 'std::_Ratio_multiply_sfinae<std::ratio<100,1>,std::nano,false,void>'
2>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\chrono(966): error C2938: 'ratio_multiply<std::ratio<100,1>,std::nano>' : Failed to specialize alias template
2>C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\chrono(966): error C2062: type 'unknown-type' unexpected
...
Please, what is wrong?
Thank you
Peter