[SOLVED] Bash not found on Windows host

Forum related to ERIKA Enterprise and RT-Druid version 2

Moderator: paolo.gai

Post Reply
Junjie
Newbie
Posts: 6
Joined: Wed Mar 07, 2018 4:00 pm

[SOLVED] Bash not found on Windows host

Post by Junjie » Mon Mar 19, 2018 1:36 pm

I am trying to build a demo project on Windows 10_64b host and with the latest version of ERIKA Enterprise v2.
I have followed the instructions of the tutorial, however, the error occurs:
/* *********************** */
C:\Program Files\cygwin \bin\bash not found.
/* *********************** */

Solution:
Edit the file "Debug -> make_launcher.bat" as follows:
1. Add double quote for "Program Files" due to the space, and
2. Delete the space after cygwin
like:
/* *********************** */
@set EE_BASH_PATH= C:\"Program Files"\cygwin\bin\bash
/* *********************** */

Notice: such modification will be overwritten after each "Build clean". You can also copy this file out of the "Debug" folder, and
right click your project, "properties -> C/C++ Build", modify the path of "Build command" to direct to your new make_launcher.bat file.

paolo.gai
Administrator
Posts: 875
Joined: Thu Dec 07, 2006 12:11 pm

Re: [SOLVED] Bash not found on Windows host

Post by paolo.gai » Mon Mar 19, 2018 3:27 pm

Hi!

Now we know... Note that the typical installation path for cygwin is either c:\cygwin or c:\cygwin64 ... we always tested with those installation directories in mind!

Ciao,

PJ

Post Reply