Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Reading of binary files on powerpc fails #13

arjan opened this Issue · 4 comments

2 participants

Arjan Scherpenisse Edward Patel
Arjan Scherpenisse

When reading a binary STL file, the program crashes with a std::length_error which is caused by the number of triangles being wrongly read from the binary STL file. I suspect that this is a MSB vs LSB issue.

Arjan Scherpenisse

Textual STL files work fine, by the way.

Arjan Scherpenisse

Awesome! Will try it once I get my hands on a powerpc again :)

Arjan Scherpenisse

I changed the ppc ifdef into BIG_ENDIAN, and then it worked. thanks :)
maybe do a pull request to tim to get this into the mainline.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.