Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add instructions how to build on windows OS #2

Open
OWarneke opened this issue Apr 17, 2019 · 3 comments
Open

Add instructions how to build on windows OS #2

OWarneke opened this issue Apr 17, 2019 · 3 comments
Labels
feature-request New feature or request

Comments

@OWarneke
Copy link
Member

Building locally with the shell scripts written for Linux on a windows system might be troublesome.

  1. you will need git to clone the dependencies
  2. You need a bash to execute the scripts
  3. You need symlink support.
  4. you need the plcncli. (PLCnCLI_Win64_2019.0) phoenixcontact.com -> AXCF2152 -> Downloads -> Software
  5. you need the SDK (SDK_WIN64_2019.3) phoenixcontact.com -> AXCF2152 -> Downloads -> Software
@OWarneke OWarneke added the feature-request New feature or request label Apr 23, 2019
@gideonmay
Copy link

With the latest Windows 10 version it is very easy to run a linux distribution, I have very good experiences developing my applications this way. Check Windows subsystem for Linux: https://docs.microsoft.com/en-us/windows/wsl/install-win10 .

@Charkrit-orion
Copy link

Charkrit-orion commented Sep 20, 2021

@gideonmay,
I am attempting this now and am running into issues installing the SDK on the linux environment.
Running command:
plcncli install sdk -d /opt/SDK_AXC_F_2152_2021-6 -p /opt/pxc-glibc-x86_64-axcf2152-image-sdk-cortexa9t2hf-neon-axcf2152-toolchain-2021.6.sh

Returns an error:

The format of the file '/opt/pxc-glibc-x86_64-axcf2152-image-sdk-cortexa9t2hf-neon-axcf2152-toolchain-2021.6.sh' is not supported. Please proceed manually.
-> An error occured while executing the script.
xargs: file: No such file or directory
sed: no input files
find: ‘standard output’: Broken pipe
find: write error

@martinboers
Copy link
Member

Is it possible to execute the script itself on the command line?
e.g.

$ ./pxc-glibc-x86_64-axcf2152-image-sdk-cortexa9t2hf-neon-axcf2152-toolchain-2021.6.sh 
PLCnext Linux SDK installer version 2021.6
==========================================
Enter target directory for SDK (default: /opt/pxc/2021.6): ^C
$

Do you have execute permission for the script?

219M -rwxrwxrwx   1 user group 219M Jun 26 06:01 pxc-glibc-x86_64-axcf2152-image-sdk-cortexa9t2hf-neon-axcf2152-toolchain-2021.6.sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants