Trouble finding file.
Posted: Fri Feb 06, 2009 9:18 am
I have written a program that reads from one file and writes to another. It works fine on the command line but when I run it in codelite I get the message:
/usr/local/bin/le_exec.sh: 22: pipes.pgm: not found
pipes.pgm is an input file to my program, it might also be helpful to know that it is getting that filename through a command line argument I set by right clicking a folder in workspace view, selecting "settings", and typed "pipes.pgm myOutput.pgm 1" (without the quotes) into the Command Arguments entry. I then tried changing the Working Directory to the absolute path but it still did not find the file.
I then went to the "Custom Build" tab (Still within settings) and put the absolute path into the Working Directory. I am sure that I am missing something simple here. If I can figure this out I will probably switch over to CodeLite more permanently... I've been using KDevelop, but I really like some of the features this has that I don't see in KDevelop.
Anyway, any advice anyone can give me would be much appreciated!
Jim
/usr/local/bin/le_exec.sh: 22: pipes.pgm: not found
pipes.pgm is an input file to my program, it might also be helpful to know that it is getting that filename through a command line argument I set by right clicking a folder in workspace view, selecting "settings", and typed "pipes.pgm myOutput.pgm 1" (without the quotes) into the Command Arguments entry. I then tried changing the Working Directory to the absolute path but it still did not find the file.
I then went to the "Custom Build" tab (Still within settings) and put the absolute path into the Working Directory. I am sure that I am missing something simple here. If I can figure this out I will probably switch over to CodeLite more permanently... I've been using KDevelop, but I really like some of the features this has that I don't see in KDevelop.
Anyway, any advice anyone can give me would be much appreciated!
Jim