Skip to main content



      Home
Home » Eclipse Projects » 4DIAC - Framework for Distributed Industrial Automation and Control » Raspberry SPS build
Raspberry SPS build [message #1752712] Thu, 26 January 2017 07:24 Go to next message
Eclipse UserFriend
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 507 times)
Re: Raspberry SPS build [message #1752804 is a reply to message #1752712] Fri, 27 January 2017 08:59 Go to previous messageGo to next message
Eclipse UserFriend
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 09:20 Go to previous messageGo to next message
Eclipse UserFriend
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 147 times)
  • Attachment: CMakeError.log
    (Size: 2.30KB, Downloaded 130 times)
Re: Raspberry SPS build [message #1752813 is a reply to message #1752807] Fri, 27 January 2017 10:13 Go to previous messageGo to next message
Eclipse UserFriend
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 10:15] by Moderator

Re: Raspberry SPS build [message #1752883 is a reply to message #1752813] Mon, 30 January 2017 05:14 Go to previous messageGo to next message
Eclipse UserFriend
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 404 times)
Re: Raspberry SPS build [message #1752934 is a reply to message #1752883] Mon, 30 January 2017 17:33 Go to previous message
Eclipse UserFriend
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 Aug 08 06:49:45 EDT 2025

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

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

Back to the top