- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm trying to create a Nios II project in Eclipse, but the New Project-Wizards creates files with Windows style delimiters instead fo Unix ones (the "create-this-app" and "create-this-bsp" files) which results in an execution error:
Executing: wsl ./create-this-bsp --cpu-name Nios2Processor --no-make (C:\some\directory\projectname\software\TestProject_bsp)
./create-this-bsp: line 4: $'\r': command not found
./create-this-bsp: line 11: $'\r': command not found
./create-this-bsp: line 20: syntax error near unexpected token `$'in\r''
./create-this-bsp: line 20: ` case "$1" in
'
I've already set the Eclipse settings to use Unix styled delimiters for new files, but the Wizard still creates the Windows styled ones.
How can I get this running on Windows?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Found out the solution myself: the script uses the wsl command instead of cygwin. Therefore you have to configure a WSL linux and install the dos2unix package and the building tools.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Found out the solution myself: the script uses the wsl command instead of cygwin. Therefore you have to configure a WSL linux and install the dos2unix package and the building tools.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Michael for your found. I really appreciate your answer.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page