Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » 4DIAC - Framework for Distributed Industrial Automation and Control » openPowerlink(Failed to build)
openPowerlink [message #1838081] Mon, 15 February 2021 14:29 Go to next message
Christoph Schultz is currently offline Christoph SchultzFriend
Messages: 5
Registered: February 2021
Junior Member
Hello,
i would like to use the openPowerlink Lib.
But it seems that i fail to build a Forte with it.
Also i can not find any types in the 4Diac IDE

I downloaded the files from Sourceforge
I tried building the stack in various ways:

with Cmake-gui
I added the options as it says in the tutorial:

CFG_POWERLINK_CHM
CFG_POWERLINK_PROCESS_IMAGE

although i am not sure if just adding an entry is the right way.

after that i try to give the right direktion in Cmake to the FORTE_MODULE_POWERLINK_LIB_DIR
i am not sure if it works the right way.

i also tried to use the cmake command that is specified in the support of Powerlink

$ cmake -DCMAKE_BUILD_TYPE=Release ../..
after that some libs are stored in a lib folder, which i pass to cmake then.

but i always get an error when generating:

Error Message is the following:

/home/PointyHat0111/BA/4Diac_Old/ext_modules/openPOWERLINK_V2.7.1/ObjDicts/CiA302-4_MN/EplApiProcessImageSetup.c

Tried extensions .c .C .c++ .cc .cpp .cxx .cu .m .M .mm .h .hh .h++ .hm
.hpp .hxx .in .txx

CMake Error at CMakeLists.txt:298 (add_library):
No SOURCES given to target: forte_stringlist_externals

CMake Error at src/CMakeLists.txt:261 (add_library):
No SOURCES given to target: FORTE_LITE

or
/home/PointyHat0111/BA/4Diac_Old/ext_modules/openPOWERLINK_V2.7.1/stack/lib/linux/x86_64/ObjDicts/CiA302-4_MN/EplApiProcessImageSetup.c

How are these files ObjDicts/CiA302-4_MN/EplApiProcessImageSetup.c

created?

And where can i find the types in IDE? Or will they only appear after i did this steps the right way?

I hope someone can help me.
Best Regards

Re: openPowerlink [message #1838104 is a reply to message #1838081] Tue, 16 February 2021 07:27 Go to previous messageGo to next message
Alois Zoitl is currently offline Alois ZoitlFriend
Messages: 1214
Registered: January 2014
Senior Member
Hi,

unfortunately the openPowerlink support in 4diac FORTE has not been maintained for quite some time. As it is pointed out in the 4diac docs it works only for open Powerlink 1.8.4. For newer version we would need someone to update and rework our code. We would be happy if someone could do that.

The FB types that you are mentioning can be found in our old typelib repo on SourceForge: https://sourceforge.net/p/fordiac/fordiac-lib/ci/default/tree/

Cheers,
Alois
Re: openPowerlink [message #1838105 is a reply to message #1838104] Tue, 16 February 2021 07:55 Go to previous message
Christoph Schultz is currently offline Christoph SchultzFriend
Messages: 5
Registered: February 2021
Junior Member
Oh,
I just followed the provided link, but i forgot to check the versions here.
Thank you for your service.
Previous Topic:Create Forte Boot-files in 4Diac IDE v. 1.13.1
Next Topic:build forte as static lib and use in a qt app
Goto Forum:
  


Current Time: Tue May 18 01:03:44 GMT 2021

Powered by FUDForum. Page generated in 0.02386 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top