Description
This error may come up when nios2-bsp-create-settings.exe is launched with --script option. The --script argument points to a user defined script that may be used to pass the bsp-set-defaults.tcl script.
Resolution
To work around this error, ensure that the variable 'argv0' is set with the path <installation_directory>\nios2eds\sdk2\bin to source the bsp-set-defaults.tcl file.