GreatGBL
Hello, I want to build PLC which base on Arduino. In the "Getting started" part, I confuse about the step 4

****************************************************************************************************
4) Enter in the OpenPLC_v2 directory and build the project (it may take a while):

cd OpenPLC_v2
./build_win.sh
****************************************************************************************************

I dont know how to build the project, and I try to use Cygwin64 Terminal to build it but it fail.

So I want to find the help, thanks!

Quote 0 0
thiagoralves
If you have done successfully the steps 1, 2 and 3, then just open Cygwin64 Terminal and type:

cd OpenPLC_v2 [ENTER]
./build_win.sh [ENTER]

These commands will start the building process for the OpenPLC. If it fails, copy and paste here the output.

Tip: you can copy and paste commands on cygwin terminal by right-clicking inside the terminal.
Quote 0 0
GreatGBL


ASUS@JACK ~
$ cd OpenPLC_v2
-bash: cd: OpenPLC_v2: No such file or directory

ASUS@JACK ~
$ ./build_win.sh
-bash: ./build_win.sh: No such file or directory

ASUS@JACK ~
$

 




Quote 0 0
thiagoralves
It seems that you didn't follow properly steps 2 and 3 because OpenPLC is not installed. You need to open Cygwin Terminal and type:

lynx -source rawgit.com/transcode-open/apt-cyg/master/apt-cyg > apt-cyg

install apt-cyg /bin

apt-cyg install gcc-core gcc-g++ git

apt-cyg install automake autoconf libtool make

git clone https://github.com/thiagoralves/OpenPLC_v2.git


Then you finally can start OpenPLC:

cd OpenPLC_v2

./build_win.sh
Quote 0 0
GreatGBL
I successed, Thanks for your help
Quote 0 0