compiler construction - Cannot execute wfc386 no such file or directory - Watcom Fortran IDE -
i've been given legacy fortan iv program need compile legacy programming languages class , i've been instructed use watcom ide http://www.openwatcom.org/index.php/downloads.
my steps follows:
- install ide c:\program files\watcom fortan compiler
- create new project @ c:\sampleproject.wpj
- select win32 (nt/95/win32s) target environment
- select windows executable (.exe) image type
- select 'new source' under 'sources' menu
- locate , add c:\hilbert.for file project
- select 'make all' main menu bar
my build environment:
- windows 7 x64 sp 1
- intel core i7-3720qm @ 2.6ghz
- 16gb ram
results:
cd c:\ - "can't find filename in 'cd c:\'" wmake -f c:\sampleproject.mk -h -e - "can't find filename in 'wmake -f c:\sampleproject.mk -h -e'" wfc386 \hilbert.for -d2 -q -dep - "can't find filename in wfc386 \hilbert.for -d2 -q -dep'" error(e14): cannot execute (wfc386): no such file or directory error(e42): last command making (c:\hilbert.obj) returned bad status error(e02): make execution terminated execution complete
i've run 3 problems far.
- i downloaded wrong ide. if can't find wfc386 file didn't download right version. had downloaded c/c++ compiler mistake.
- installing path spaces in unsupported. hooray old software.
- storing project path spaces in unsupported. hooray again old software.
the solution:
- move install c:\watcom
- move projects c:\projects or c:\watcom\projects
- update local environment variables old values new correct path based on moved watcom installation
Comments
Post a Comment