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 » CMake Error generate_stringlist(Error when trying to compile FORTE for Raspi)
CMake Error generate_stringlist [message #1823079] Thu, 19 March 2020 08:23 Go to next message
Niklas Huhs is currently offline Niklas HuhsFriend
Messages: 25
Registered: October 2019
Junior Member
Hi all,

I am trying to compile FORTE for my Raspberry Pi and got an error which has not occured before. (I am usually using another Computer)

I Always get "unkown Argument:
IND
"
index.php/fa/37621/0/


I attached the cmakelist and some screenshots.

Can anybody tell me whats wrong?

Thanks in Advance.

index.php/fa/37622/0/

[Updated on: Thu, 19 March 2020 08:34]

Report message to a moderator

Re: CMake Error generate_stringlist [message #1823094 is a reply to message #1823079] Thu, 19 March 2020 12:17 Go to previous messageGo to next message
Jose Maria Jesus Cabral Lassalle is currently offline Jose Maria Jesus Cabral LassalleFriend
Messages: 194
Registered: February 2016
Senior Member
Hi,

which modules did you enabled? Did you create your own Function Blocks?
Re: CMake Error generate_stringlist [message #1823146 is a reply to message #1823094] Fri, 20 March 2020 10:11 Go to previous messageGo to next message
Niklas Huhs is currently offline Niklas HuhsFriend
Messages: 25
Registered: October 2019
Junior Member
Hi Thanks for your answer,

apparently it was a Problem with CMake.
It worked after I reinstalled it. Probably should have done that earlier.
Re: CMake Error generate_stringlist [message #1823159 is a reply to message #1823146] Fri, 20 March 2020 13:45 Go to previous messageGo to next message
Alois Zoitl is currently offline Alois ZoitlFriend
Messages: 1036
Registered: January 2014
Senior Member
Interesting. Never heard of that. But good to know.
Re: CMake Error generate_stringlist [message #1823270 is a reply to message #1823159] Tue, 24 March 2020 07:09 Go to previous messageGo to next message
Monika Wenger is currently offline Monika WengerFriend
Messages: 1
Registered: March 2020
Junior Member
please try an older cmake version, e.g. 3.16.3. please use a new build folder then, do not override your exiting one.
Re: CMake Error generate_stringlist [message #1824094 is a reply to message #1823270] Tue, 07 April 2020 21:53 Go to previous messageGo to next message
Alois Zoitl is currently offline Alois ZoitlFriend
Messages: 1036
Registered: January 2014
Senior Member
Today I finally found time to look more into it. As Monika pointed out it seems to be a problem of a stricter execution of CMake code by CMake 3.17. Maybe even a wrong execution because when a list item contains the name IN a different foreach syntax is taken. Nonetheless after reading a bit in the Cmake docs I came up with a solution that worked for me in an older (3.16.x) and newer version of CMake (3.17.x). If you want to test the patch in gerrit is here [1]. The according bug for comments can be found here [2]. Feedback would be great as i see this a critical bug i would like to have fixed for the already a bit delayed 1.12.0 release.

[1] https://git.eclipse.org/r/#/c/160619/
[2] https://bugs.eclipse.org/bugs/show_bug.cgi?id=561884
Re: CMake Error generate_stringlist [message #1824096 is a reply to message #1824094] Tue, 07 April 2020 22:31 Go to previous message
Kirill Dorofeev is currently offline Kirill DorofeevFriend
Messages: 52
Registered: February 2016
Member
I did the exercise. the bug appeared when I updated my cmake and disappeared after I applied the patch.
Previous Topic:Validating FBOOT file by a runtime application
Next Topic:XPlus3 Tutorial not working because of deploying errors
Goto Forum:
  


Current Time: Thu Oct 22 13:14:47 GMT 2020

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

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

Back to the top