What is the meaning of the following error:
Code:ld: fatal: file mystring.hpp: unknown file type ld: fatal: File processing errors. No output written to a.out collect2: ld returned 1 exit status
This is a discussion on C++ error within the C++ Programming forums, part of the General Programming Boards category; What is the meaning of the following error: Code: ld: fatal: file mystring.hpp: unknown file type ld: fatal: File processing ...
What is the meaning of the following error:
Code:ld: fatal: file mystring.hpp: unknown file type ld: fatal: File processing errors. No output written to a.out collect2: ld returned 1 exit status
Don't try to link (or compile) a .hpp file. Assuming you're typing things on the command line, don't type the .hpp file.