Compiling in RH 7.3 I get this error (I have sdl installed and sdl image plus 2.4.18):
mesh.cc: In method `Mesh::Mesg (FILE *)`:
line 41 complains about strcmp being undeclared..
and 48 complains about srtlen and 59 about strcpy? any ideas?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
at top of mesh.cc and other files, where it's needed.
I have gcc-2.95.3, and I now in other versions you need to write these includes. It will be very helpful if you will send me information where includes are needed. Thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Compiling in RH 7.3 I get this error (I have sdl installed and sdl image plus 2.4.18):
mesh.cc: In method `Mesh::Mesg (FILE *)`:
line 41 complains about strcmp being undeclared..
and 48 complains about srtlen and 59 about strcpy? any ideas?
You should add line:
#include <string.h>
at top of mesh.cc and other files, where it's needed.
I have gcc-2.95.3, and I now in other versions you need to write these includes. It will be very helpful if you will send me information where includes are needed. Thanks.