Menu

Compile problem.

Help
Stephen B
2002-05-11
2002-05-13
  • Stephen B

    Stephen B - 2002-05-11

    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?

     
    • Jacek Poplawski

      Jacek Poplawski - 2002-05-13

      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.

       

Log in to post a comment.

MongoDB Logo MongoDB