I used cygwin to work in windows, however now I have a problem here.
Since I put my cygwin on D:\cygwin
, when I try to run a program, namely ocamldep.exe
, it returns a path error which I don't know how to fix.
The error is as follow.
/bin/sh: D:cygwinbinocamldep.exe: command not found
I know for sure they dont have cygwinbinocamldep.exe, but how to change this into ocamldep.exe only? Sorry but I'm really a dummy in Unix and everything on it.
Post, please, what's in your $PATH variable: echo $PATH will tell what's its value.
But you can solve it without doing that../
and not\
. I have the impression that you run you code with backslashes as path separators.PATH
(of course), did you try to run it by providing an explicit path?