You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
There are a few errors that occur when trying to build the firmware via docker on Windows. Maybe you can add these information to the documentation:
On Windows, the path must be specified directly, so the $(pwd) command wont work: docker run --rm -it -v PATH_TO_FILE:/usr/local/src/RS41ng rs41ng_compiler should be the correct one
Now you will probably get an error like this: line 1: $':\r': command not found
This is because Windows creates new lines via unix and not via dos like Linux.
This problem can be easily solved on Windows using Notepad++:
At first open Notepad++
1. menu: Search -> Find in Files...
2. directory = set to your RS41ng source directory
4. find what = \r\n
5. replace with = \n
6. search mode = extended
7. press "Replace in Files More information on how to convert the files to unix
This should solve the problem. Please note that you may have to rebuild the Docker image.
The text was updated successfully, but these errors were encountered:
@Taxtra Are you using Windows Subsystem for Linux (WSL) to compile this and do you use the bash shell? Those are the ones supported by the build process here...
Hi,
There are a few errors that occur when trying to build the firmware via docker on Windows. Maybe you can add these information to the documentation:
On Windows, the path must be specified directly, so the $(pwd) command wont work:
docker run --rm -it -v PATH_TO_FILE:/usr/local/src/RS41ng rs41ng_compiler
should be the correct oneNow you will probably get an error like this:
line 1: $':\r': command not found
This is because Windows creates new lines via unix and not via dos like Linux.
This problem can be easily solved on Windows using Notepad++:
At first open Notepad++
1. menu: Search -> Find in Files...
2. directory = set to your RS41ng source directory
4. find what = \r\n
5. replace with = \n
6. search mode = extended
7. press "Replace in Files
More information on how to convert the files to unix
This should solve the problem. Please note that you may have to rebuild the Docker image.
The text was updated successfully, but these errors were encountered: