Results 1 to 3 of 3
Attempting to compile a program in Cygwin, and get this error. The program has several included header files, and strings.h and another header file I created seem to not be ...
- 08-04-2009 #1Just Joined!
- Join Date
- Jul 2009
- Posts
- 27
error: strings.h : no such file or directory??
Attempting to compile a program in Cygwin, and get this error. The program has several included header files, and strings.h and another header file I created seem to not be found, although stdio.h and others have no problems. I have installed all possible Cygwin packages that came with the installer, do I need something else??
- 08-04-2009 #2
Well, you have a typo. The file is string.h, not strings.h. The header file that you created yourself needs to be in the same directory as your source code and needs to be included as:
If this doesn't fix things, please describe the layout of your project and how your files are including your headers.Code:#include "myheader.h"
DISTRO=Arch
Registered Linux User #388732
- 08-04-2009 #3Just Joined!
- Join Date
- Jul 2009
- Posts
- 27
Wow, dont know how I missed that, but you're right! Thanks! To fix the other error I had to move the header file to the same directory as you said


Reply With Quote