C/C++ toolchain?
Home › Forums › Conduit: AEP Model › C/C++ toolchain?
- This topic has 13 replies, 4 voices, and was last updated 1 year, 10 months ago by MaxVerrijzer.
-
AuthorPosts
-
May 8, 2018 at 1:01 pm #23405Martin GagnonParticipant
Hello all,
I’m new to the Conduit AEP product line and I’m looking at building a C/C++ app for AEP. I found http://www.multitech.net/developer/software/mlinux/mlinux-software-development/mlinux-c-toolchain/ in the mLinux docs, but nothing in the AEP docs.Is the mLinux toolchain appropriate for AEP?
If so, is AEP built on top of mLinux 3 or 4? They seem to have different requirements.
If not, which toolchain should I use for C/C++ development on AEP?Currently running a MTCDT-H5-210A Firmware1.4.16
Thanks
May 8, 2018 at 1:07 pm #23406Jeff HatchKeymasterMartin,
To find out what version of mLinux your AEP is based off of, at the command line execute “cat /etc/issue” and you should see the mLinux version. From there you can check out the appropriate version of mLinux and build against that. I believe that AEP 1.4.16 is built against mLinux 3.3.22.
Jeff
May 8, 2018 at 1:10 pm #23407Martin GagnonParticipant3.3.22 right on.
Just came back here to post uname -a output…
Thank you Jeff, that was quick!Martin
May 8, 2018 at 1:21 pm #23408Jeff HatchKeymasterMartin,
You’re welcome! Let us know if you have any more questions.
Cheers,
Jeff
September 10, 2018 at 12:28 pm #26321Mark LinnemanParticipantJeff,
I just posted a related question on another topic, but having now read this thread I gather that the same mLinux operating system is running on my Node-Red AEP product as runs in the other product, sometimes referred to as the “mLinux” product. If that’s correct, then I should be able to go to the “mLinux” application development documentation to learn more about how to develop applications for my AEP unit, keeping in mind that I am using Node-Red. (My Linux version is 3.12.27r15.)
Am I on the right track now? Thanks.
– Mark
September 10, 2018 at 4:01 pm #26324Jeff HatchKeymasterMark,
You are on the right path. If you are adding nodes or node-js modules that need “cross-compilation” in order to install and work on Conduit, then you should be able to build the nodes or modules with the mLinux distribution or the SDK.
Jeff
October 3, 2018 at 10:44 am #26452Mark LinnemanParticipantJeff,
Thanks for clarifying that. I’m now cross-compiling C programs under Ubuntu 14.04 and executing them on the Conduit Application Execution Platform. These mLinux applications are in turn being called by Node Red “exec” nodes. Since at this point I’m planning to stick with Node Red on the AEP, I need to know what my options are in terms of upgrading to a newer version of mLinux. My Conduit came with firmware v. 1.4.16 and mLinux version 3.3.22 and Node Red version 0.15.3. Does the use of Node Red limit my upgrading of mLinux? Thanks.
– Mark
October 3, 2018 at 11:03 am #26457Jeff HatchKeymasterMark,
There is a new version of AEP called AEP-1.6.2 that is based on mLinux 4. What version of mLinux are you targeting?
Jeff
October 3, 2018 at 11:17 am #26458Mark LinnemanParticipantJeff,
I’m not looking for any specific version of mLinux, but I’ve read that it’s suggested to use Ubuntu 14.04 with mLinux 3, but and Ubuntu 16.04 may be used with mLinux 4. So it seems like a good idea to try to use the most recent version of mLinux that is known to work well with the Conduit and with Node Red in order to not have to use too old a version of Ubuntu for developing C/C++ applications with.
Is there an upgrade of Node Red that is required to go to AEP-1.6.2 and mLinux 4? Thanks.
– Mark
October 3, 2018 at 12:43 pm #26461Jeff HatchKeymasterMark,
The same version of Node-RED and node-js runs on AEP-1.6.2. The Conduit is locked at Node-RED 0.15.03 and node-js at 0.10.x due to hardware limitations (the ARM processor is armV5 architecture and does not support the newer versions of node-js and Node-RED). If you have developed applications on AEP-1.4.x in Node-RED, they should work on AEP-1.6.2.
Jeff
October 3, 2018 at 2:27 pm #26464Mark LinnemanParticipantJeff,
That’s great. There are discussions in the forum about making this upgrade to AEP 1.6.2 but was never clear on whether that eliminated the possibility of using Node Red.
I see that AEP 1.6.2 is pretty new. I’ll take a look at the discussions about any issues with the new firmware. Thanks.
– Mark
November 8, 2022 at 5:48 am #33250MaxVerrijzerParticipantHello all,
I am looking to build a custom app on the Multitch conduit-AP MTCAP-868-001A. I am not sure which version of the C/C++ toolchain I should use so I tried the steps outlined by Mark but “cat /etc/issue” resulted in: “cat/etc/issue: No such file or directory” does anyone know what I’m doing wrong? or which steps I could take to find out what version of MLinux I should build for?
The firmware version I’m on is: MPower 5.3.3 I’m connected to the gateway through a SSH connection using Cygwin.
Kind regards,
Max Verrijzer
November 15, 2022 at 9:19 am #33256Jeff HatchKeymasterHello Max,
When using the cat command in your example it looks like there is a space missing between ‘cat’ and ‘/etc/issue’. I get the same error when issuing the same thing. With a space after ‘cat’ it will display the contents of the argument ‘/etc/issue’.
admin@mtcdt:~$ cat /etc/issue _ _____ ____ / \\ | ____| | _ \\ / _ \\ | _| | |_) | / ___ \\ _ | |___ _ | __/_ /_/ \\_\\(_)|_____|(_)|_| (_) MultiTech Systems Application Enablement Platform with mLinux GNU/Linux mLinux 6.0.2 \n \l Version: 6.0.1 Date: 2022-09-01T18:08:36
Jeff
November 16, 2022 at 4:52 am #33257MaxVerrijzerParticipantThank you jeff this fixed the issue for me.
-
AuthorPosts
- You must be logged in to reply to this topic.