Hi,
I’m trying to compile the PC demo program that comes with FreeRTOS.org. When I make, the linker has errors, the build log is as follows:
cd D:\FreeRTOS\Demo\PC
wmake -f D:\FreeRTOS\Demo\PC\rtosdemo.mk -h -e D:\FreeRTOS\Demo\PC\rtosdemo.exe
wcc …\…\SOURCE\croutine.c -i=D:\WATCOM\h;…\common\include;…\…\source\include;…\…\source\portable\owatcom\16bitdos\common;. -w4 -e25 -za -dOPEN_WATCOM_INDUSTRIAL_PC_PORT -dUSE_STDIO -j -zq -otexan -s -fpc -zu -1 -bt=dos -ml
Error(E14): Cannot execute (wcc): No such file or directory
Error(E42): Last command making (D:\FreeRTOS\Demo\PC\croutine.obj) returned a bad status
Error(E02): Make execution terminated
Execution complete
It can’t find WCC even though my environment variable ‘path’ include (amongst others):
D:\WATCOM\BINNT;D:\WATCOM\BINW
I’m using XP, OpenWatcom 1.6, FreeRTOS 4.2.0
Help?
Sam
Hi,
thanks for the reply.
I am compiling with the IDE btw, the error is from the build log.
I only have a file names wcc386.exe in my binnt directory and this seems to be the problem.
I have renamed wcc386.exe to wcc.exe in the same directory. I don’t think this is the correct solution, I think possibly the compiler must have a setting to make it look for wcc386 although I haven’t found it yet. I also had to rename wcc386.dll to wccd.dll.
I also changed my Memory model switches to Pentium (Options->Linker switches->C compiler switches->memory model switches)
Unfortunately it still will not compile as it is looking for libraries in locations that don’t exist. I have a feeling the settings are all incorrect.
Sam
I should try reinstalling OW. It sounds to me that you have installed the wrong components. Maybe just the 32bit components. You need to the 16bit components.
Works!! Now it compiles with no problems, thanks.
When I run the .exe under a DOS window in XP however, I get the following errors:
Exception: 0D, Error code: 02AC