Hi, > Yes, it was dumb of me to not include the code that I was trying to > compile -- it was from www.opengc.org. (As an aside, I had the same test > results as Rob Cochran.) > > The file that I was trying to compile begins: > > #include <FL/Fl.H> // this is from fltk-devel > #include "ogcAppObject.h" > > And, ogcAppObject.h begins: > > #include <iostream> > > These are the error messages: > from /home/steve/opengc55-fgfs094/opengc/Source/Base/main.cpp:45: > /usr/include/c++/3.3.3/cstring:79: error: `memcpy' not declared > /usr/include/c++/3.3.3/cstring:80: error: `memmove' not declared #include <cstdlib> > /usr/include/c++/3.3.3/cstring:81: error: `strcpy' not declared > /usr/include/c++/3.3.3/cstring:82: error: `strncpy' not declared > /usr/include/c++/3.3.3/cstring:83: error: `strcat' not declared > /usr/include/c++/3.3.3/cstring:84: error: `strncat' not declared #include <cstring> Should fix that lot. > from /home/steve/opengc55-fgfs094/opengc/Source/Base/main.cpp:45: > /usr/include/c++/3.3.3/cmath: At global scope: using namespace std; will help Hmm, not much to it really ;-) TTFN Paul -- "Our enemies are innovative and resourceful - and so are we," "They never stop thinking about new ways to harm our country and our people - and neither do we." - George W. Bush, Aug 2004
Attachment:
signature.asc
Description: This is a digitally signed message part