When I thought that I was finally going to use assimp, I get an error telling me that the .obj file is invalid or corrupt. I looked on the internet and didn't find anything specific for that.
I get the error when I add the .obj file in the Resource Files of my project ( I am using Visual Studio 2013 Express ). The file is located in the same directory as the code of my project.
Here is the beginning of the .obj file, to see if maybe there is an error (I don't think so, because I am following a tutorial which already used this model).
# Blender v2.64 (sub 0) OBJ File: 'nanosuit.blend'
# www.blender.org
mtllib nanosuit.mtl
o Visor
v 0.320384 14.057541 0.507779
v 0.385196 13.984534 0.445066
v 0.416643 14.114325 0.462461
v 0.629804 14.365792 0.220990
v 0.643727 14.511806 0.201993
v 0.624523 14.536142 0.250058
v 0.626923 14.357680 0.224195
v 0.598598 14.519918 0.300183
v 0.605319 14.333345 0.262418
v 0.516982 14.252226 0.379605
v 0.571713 14.503694 0.351682
v 0.522263 14.487471 0.422635
v 0.445928 14.479359 0.506406
All the other files that come together with the .obj file are in the same folder as well.
The error message is this one:
error LNK1136: invalid or corrupt file C:\Users\Leonardo\documents\visual studio 2013\Projects\OpenGLEngine\OpenGLEngine\nanosuit.obj 1 1 OpenGLEngine
I don't think this problem has anything to do with my code (which was working fine), so I am not posting it here.