Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: about build openPOWERLINK with ProviewR V5.9.0-2

about build openPOWERLINK with ProviewR V5.9.0-2 1 year 10 months ago #11508

  • daniel9088
  • daniel9088's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 20
  • Karma: 0
Hello!

spend couple days to learn and tried build openPOWERLINK with ProviewR v5.9.0-2 source code. the result are:

1. build openPOWERLINK V1.08.4, was successfully. only one things is cmake 3.16.3 using -D relace -i for build option

2. I didn't found any information for openPOWERLINK 2.x.x, because after v2.x.x has lot chenge then v1.08.x, directory, filename etc. must be modify pwre_configure.sh to pass pwre configure check. I found 2 place for check powerlink available or not.

pwrecheck_libpowerlinklocation.png


pwrecheck_includepowerlinklocation.png


I trid to replace them using following files:

$powerlink/stack/lib/linux/x86_64/liboplkcn.a
$powerlink/stack/lib/linux/x86_64/liboplkmn.a

$powerlink/stack/include/oplk.h
$powerlink/stack/proj/linux/libopkcn/oplkcfg.h

then runing pwre_configure.sh, found libpowerlinkmn and libpowerlinkcn, others not found.

pwreconfigure.png


any Experts can help me to figure out what's Iam did wrong.



Thank you so much!

/Daniel
The administrator has disabled public write access.

about build openPOWERLINK with ProviewR V5.9.0-2 1 year 10 months ago #11509

  • daniel9088
  • daniel9088's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 20
  • Karma: 0
I using $powerlink/stack/include/common/oplkinc.h to replace Epl.h for include check, passed pwre configure check. but I still can't find which one is correct for include user header file check.

pwreconfigure2.png
The administrator has disabled public write access.

about build openPOWERLINK with ProviewR V5.9.0-2 1 year 9 months ago #11513

  • FoxMan
  • FoxMan's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 23
  • Thank you received: 10
  • Karma: 3
Hi Daniel,

I can't understand in detail what your problem is, but maybe the following tips will help:

First, I recommend using OpenPowerlink version 1.08.5, as discussed in http://www.proview.se/v3/index.php/forum/3-help-forum/6322-is-powerlink-still-supported?limitstart=0. Without the changes to the OpenPowerlink stack mentioned there, communication with the µ-Remote from Weidmüller and possibly other devices will not work.

The necessary libraries are created with the commands:

cd <OpenPowerlinkSourcePath>/build
cmake ./
make
cd <OpenPowerlinkSourcePath>/cnbuild
cmake ./
make

This works just as smoothly on my latest Ubuntu 22.04-ProviewR-5.9.0-2 development environment as it does on Ubuntu 16.04-ProviewR-5.6.1-1. I therefore cannot understand the cmake changes that you see as necessary.

If the EPL path is set correctly before "pwre configure", then
(export epl=<OpenPowerlinkSourcePath>), both the master and the client node are recognized correctly.

Version 1.08.5 is the latest version before 2... Because the API function calls changed with version 2 you can't use version 2 without corresponding adjustments to the ProviewR source code. Since everything worked fine for me with version 1.08.5, I never invested the time...

/Martin
The administrator has disabled public write access.

about build openPOWERLINK with ProviewR V5.9.0-2 1 year 9 months ago #11532

  • daniel9088
  • daniel9088's Avatar
  • OFFLINE
  • Junior Boarder
  • Posts: 20
  • Karma: 0
Hi Martain,

Thank you for your recommend!
I will test openPOWERLINK V1.08.5,

by the way which version of openCONFIGURATOR is good for that V1.08.5?


Best regard,

/Daniel
The administrator has disabled public write access.
  • Page:
  • 1
Time to create page: 7.306 seconds