SCIInstitute / Cleaver

A MultiMaterial Tetrahedral Meshing Library and Application
https://cleaver.readthedocs.io
Other
40 stars 18 forks source link

Fixed build error on VS2013 #60

Closed lassoan closed 6 years ago

lassoan commented 6 years ago

Problem: build error on Visual Studio 2013

2>c:\d\slicersegmentmesher-win64rel\cleaver\src\lib\cleaver\Vertex.h(53): error C2039: 'int8_t' : is not a member of 'std'

Solution: int8_t is used instead of std::int8_t (and stdint.h is included). This is how it is done in all other places in Cleaver2, and it works well in Visual Studio 2013.

See for example:

https://github.com/SCIInstitute/Cleaver2/blob/6f4a945867b0ccad44102ba00d2d25cdd3157ede/src/lib/cleaver/TetMesh.cpp#L55

https://github.com/SCIInstitute/Cleaver2/blob/master/src/lib/cleaver/TetMesh.cpp#L1590

lassoan commented 6 years ago

Thank you very much for the quick merge.