Hi,
I started using vxWorks SDK recently using the x86-qemu sdk package. While trying out the basic “Hello World” example given in the README file, I found out that compiling the rust project did not work as the cargo command was not found. Upon investigating a little bit in some of the script files in the "/wrsdk-vxworks7-qemu-1.14/wrsdk-vxworks7-qemu/vxsdk/sysroot/usr/rust" folder, I found that the environment variable $WIND_HOME
is not defined anywhere even though it is being used in the scripts.
Another environment variable ie $WIND_SDK_HOME
is define with correct path by the sdkenv.sh
script though. When I defined the WIND_HOME
to the same value as WIND_SDK_HOME
, the cargo command started working.
I think these scripts need to be updated to use the $WIND_SDK_HOME
variable instead of $WIND_HOME
or it should also define the $WIND_HOME
variable correctly.