rotal/alembic

Alembic 1.1.0 does not compile on Windows

Closed this issue · 0 comments

What steps will reproduce the problem?
1. Download Alembic 1.1.0 
2. Compile Alembic 1.1.0
3. Build errors

What is the expected output? What do you see instead?
2 build errors.

What version of the product are you using? On what operating system?
Alembic 1.1.0

Please provide any additional information below.
1) OMaterial.cpp, line 130
"interface" is a MSVC reserved token. Please rename "interface" member variable.

2) TimeSamplingType.cpp, line 46
std::numeric_limits::max() conflicts with max() in windows.h
Please define NOMINMAX before include Windows.h in Alembic/Util/Foundation.h

Thanks~

Original issue reported on code.google.com by shinc...@gmail.com on 17 Sep 2012 at 10:40