Im getting this error:
fromerror C2440: 'initializing' : cannot convert from 'void *' to 'float (*)[3]'
Conversion from 'void*' to pointer to non-'void' requires an explicit cast
That's standard code for lib3ds so I think the problem is that it's c code being compiled in a cpp file. Can I specify that line to be compiled as c, or maybe there's another solution?Code:Lib3dsVector *normalL = malloc(3*sizeof(Lib3dsVector)*mesh->faces);
Thanks,
MadCow