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 » Raspberry SPS build
Raspberry SPS build [message #1752712] Thu, 26 January 2017 12:24 Go to next message
Yernar Nukezhanov is currently offline Yernar NukezhanovFriend
Messages: 4
Registered: December 2016
Junior Member
Hello,
I am trying to build forte for Raspberry SPS. I followed as in the tutorial but still am getting errors. What could be the problem?
Thank you
index.php/fa/28234/0/
  • Attachment: Error.png
    (Size: 51.92KB, Downloaded 421 times)
Re: Raspberry SPS build [message #1752804 is a reply to message #1752712] Fri, 27 January 2017 13:59 Go to previous messageGo to next message
Alois Zoitl is currently offline Alois ZoitlFriend
Messages: 1560
Registered: January 2014
Senior Member

Hi,

this is strange. It looks as there is some issue with your cross compiler. Could you be so kind and post the full output of CMake into a text file and attach it here?

BTW. I just saw that you selected the wrong directory for the "Where is the source code" it should be the main FORTE directory. In your case C:/org.eclipse.4diac.forte.

BR,
Alois
Re: Raspberry SPS build [message #1752807 is a reply to message #1752804] Fri, 27 January 2017 14:20 Go to previous messageGo to next message
Yernar Nukezhanov is currently offline Yernar NukezhanovFriend
Messages: 4
Registered: December 2016
Junior Member
I suspect that it is some kind of compatibility problem, but unfortunately I was not able to fix it.
I have 64bit Windows and have used following Linaro toolchain:
https://releases.linaro.org/components/toolchain/binaries/latest/arm-linux-gnueabihf/
gcc-linaro-6.2.1-2016.11-x86_64_arm-linux-gnueabihf.tar.xz
  • Attachment: Error.txt
    (Size: 1.55KB, Downloaded 122 times)
  • Attachment: CMakeError.log
    (Size: 2.30KB, Downloaded 105 times)
Re: Raspberry SPS build [message #1752813 is a reply to message #1752807] Fri, 27 January 2017 15:13 Go to previous messageGo to next message
Kirill Dorofeev is currently offline Kirill DorofeevFriend
Messages: 70
Registered: February 2016
Member
hi, as far as i can see, you're trying to run linux compiler on windows. please, download the mingw32 toolchain from https://releases.linaro.org/components/toolchain/binaries/6.1-2016.08/arm-linux-gnueabihf/gcc-linaro-6.1.1-2016.08-i686-mingw32_arm-linux-gnueabihf.tar.xz
the other issue might be that you should unpack the archive as administrator, otherwise it might prevent creation of symbolic links.
hope, this will work for you.

[Updated on: Fri, 27 January 2017 15:15]

Report message to a moderator

Re: Raspberry SPS build [message #1752883 is a reply to message #1752813] Mon, 30 January 2017 10:14 Go to previous messageGo to next message
Yernar Nukezhanov is currently offline Yernar NukezhanovFriend
Messages: 4
Registered: December 2016
Junior Member
Thank you for reply. It helped a lot.

The one thing also to mention is to run all programs as adminstrator (cmake, gcc, g++).

During configuring in cmake I got two red lines. In tutorial it says that there shouldn't be any of them, but if I check them some errors appear during make. I left them unchecked and it worked well, I hope it will run properly in Raspberry SPS as well.

index.php/fa/28263/0/
  • Attachment: Cmake.png
    (Size: 41.30KB, Downloaded 341 times)
Re: Raspberry SPS build [message #1752934 is a reply to message #1752883] Mon, 30 January 2017 22:33 Go to previous message
Alois Zoitl is currently offline Alois ZoitlFriend
Messages: 1560
Registered: January 2014
Senior Member

The read lines are perfectly ok. They are coming as with checking some modules or architectures it can be that new options are getting available. Therefore you can find in the documentation that you should hit configure as long as you don't get new red lines and then finally generate.
Previous Topic:Java heap space Problem
Next Topic:RFC/Poll: Remove Version Information from FBs in FB Network Editors
Goto Forum:
  


Current Time: Fri Mar 29 01:08:48 GMT 2024

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

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

Back to the top