Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Titan » TITAN installation tutorial video for Windows with compiling on Cygwin.(Installation tutorial for the TITAN TTCN-3 toolset on Windows with compiling on Cygwin.)
TITAN installation tutorial video for Windows with compiling on Cygwin. [message #1827181] Sat, 09 May 2020 14:58 Go to next message
Balázs Sándor is currently offline Balázs SándorFriend
Messages: 1
Registered: May 2020
Junior Member
I created a tutorial video for the installation of the TITAN TTCN-3 toolset on Windows 10 with compiling on Cygwin.

The video accassable the folloving link:
https://www.youtube.com/watch?v=Fx4Dc5pm_Q0

The video start from an empty Windows 10 system and contains the folowing staps:
- JDK installation
- JDK path setting
- Eclipse installation
- Eclipse configuration.
- Eclipse TITAN Plugin installation.
- Compileing and running a JAVA TTCN3 project.
- Installation of Cygwin.
- Installation of necessary Cygwin packages.
- Configuration of the envirement for compiling.
- Cloning of the TITAN compiler's repository.
- Compileing of the TITAN Compiler.
- Configuration and checking of the TITAN compiler.
- Setting up the compiler on Eclipse.
- Compileing and running of the TITAN C Hello World Project.

Many thanks to Kristóf Szabados for the lots of help!

I hope you find this video useful!


---/---


Prerequisites for the installation (Accessable on the video's descripton too):

For the JAVA environment:
- A PC with Windows.
- JDK Installer for Windows
[https://www.oracle.com/java/technologies/javase-downloads.html]
- Eclipse instaler for Windows
[https://www.eclipse.org/downloads]
- ANTLR Runtime 4.3 (JAR)
[https://www.antlr.org/download/index.html]
- ECLIPSE TITAN Plugin (Current vesion: Eclipse plug-ins 6.6.1)
[https://projects.eclipse.org/projects/tools.titan/downloads]

For the Windows environment:
- Cygwin
[https://cygwin.com/install.html]

Optional:
- Python for Windows
[https://www.python.org/downloads/windows]
- Cygwin mirror speed meter script
[https://gist.github.com/ushkinaz/1274038]


Used Cygwin Libraries:
Base: (All packages - Default setting of the installer)
Net: openssl
Tcl: expect
Devel: binutils
Devel: gcc-g++
Devel: make
Libs: libxml2-devel
Net: openssl-devel (automatically installs Net: openssl as well)
Devel: bison
Devel: ctags (optional)
Devel: diffstat
Devel: flex
Devel: gcc-core
Perl: perl
Devel: git
Editors: (any editor of your preference)
Libs: libncurses-devel
Libs: libreadline-devel
Libs: libexpat1
Libs: libiconv, libiconv-devel, libiconv2
Devel: gccmakedep
Devel: makedepend

For more TITAN tutorials see this channel: [https://www.youtube.com/channel/UCWKS0_t_6upG1eRpQyk4Geg]

[Updated on: Sat, 09 May 2020 17:34]

Report message to a moderator

Re: TITAN installation tutorial video for Windows with compiling on Cygwin. [message #1827289 is a reply to message #1827181] Tue, 12 May 2020 10:09 Go to previous messageGo to next message
Ganesh Pahade is currently offline Ganesh PahadeFriend
Messages: 4
Registered: May 2020
Junior Member
Hi Guys,

I am configure the Iottestware Manual Installation project to my local environment on Latest version of Eclipse Titan. but i am facing some issue please help me.

I have install the python in my windows system and run the below script.

protocol command:-

python install.py -p mqtt
python install.py --protocol mqtt

build command:-

python install.py -p mqtt -b
python install.py -p mqtt --build

After run the above command python clone the below project
IoT-Testware
Libraries
ProtocolModules
TestPorts

When i import the project on eclipse iottestware.mqtt.tpd file then we are getting some issue & i have also attach the eclipse project snapshot please give me some suggestion to remove the error logs.

Quickstart Guide link:-

https://iottestware.readthedocs.io/en/master/install_ide.html

[Updated on: Tue, 12 May 2020 10:13]

Report message to a moderator

Re: TITAN installation tutorial video for Windows with compiling on Cygwin. [message #1827290 is a reply to message #1827289] Tue, 12 May 2020 10:19 Go to previous messageGo to next message
Elemer Lelik is currently offline Elemer LelikFriend
Messages: 1075
Registered: January 2015
Senior Member
Hi Ganesh,

I think you should open a separate topic with a title that indicates the subject that is IOTTestware.
Else it will not be read by those who are in the know.

Your question is not strictly related to Titan install on Windows.

BR
Elemer
Re: TITAN installation tutorial video for Windows with compiling on Cygwin. [message #1827384 is a reply to message #1827181] Thu, 14 May 2020 01:00 Go to previous messageGo to next message
Didi He is currently offline Didi HeFriend
Messages: 7
Registered: May 2020
Junior Member
Hi,

When I install the titan on cygwin, after type in "make install",there are some errors,like Makefile:38:install error 1.

Then I open the eclipse and create a new titan project ,then the window pops,report error"When trying to execute the "sh -c make dep'shell command occured'possible that -the command does not exist.....

Could you please give some suggestions for the problem?thank you very much!
Re: TITAN installation tutorial video for Windows with compiling on Cygwin. [message #1827469 is a reply to message #1827384] Fri, 15 May 2020 05:53 Go to previous messageGo to next message
Elemer Lelik is currently offline Elemer LelikFriend
Messages: 1075
Registered: January 2015
Senior Member
Hi Didi,

did you follow the installation/configuration flow as exemplified in the video?


BR

Elemer
Re: TITAN installation tutorial video for Windows with compiling on Cygwin. [message #1827511 is a reply to message #1827469] Sat, 16 May 2020 09:10 Go to previous messageGo to next message
Didi He is currently offline Didi HeFriend
Messages: 7
Registered: May 2020
Junior Member
I want to watch it but our network can't connect to Youtube,so I am looking for a solution to watch the video but it's not going well.Could you please send the video to my mailbox:bamboo421@126.com

Thank you very much!

Best Regards

Didi

[Updated on: Sat, 16 May 2020 09:13]

Report message to a moderator

Re: TITAN installation tutorial video for Windows with compiling on Cygwin. [message #1827521 is a reply to message #1827511] Sun, 17 May 2020 07:40 Go to previous messageGo to next message
Didi He is currently offline Didi HeFriend
Messages: 7
Registered: May 2020
Junior Member
Hi Elemer,

I watch the video and have a question.
Is the ANTLR optional or neccessary? What does it used for?
Re: TITAN installation tutorial video for Windows with compiling on Cygwin. [message #1827522 is a reply to message #1827521] Sun, 17 May 2020 08:58 Go to previous messageGo to next message
Elemer Lelik is currently offline Elemer LelikFriend
Messages: 1075
Registered: January 2015
Senior Member
Hi Didi,

it's absolutely necessary if you want to use the Eclipse IDE
(as a front end or stand-alone);

text parsing in the Java version is based on ANTLR (flex and bison being used in the C/C++ version)

see https://www.antlr.org/


BR

Elemer

[Updated on: Sun, 17 May 2020 09:00]

Report message to a moderator

Re: TITAN installation tutorial video for Windows with compiling on Cygwin. [message #1827524 is a reply to message #1827522] Sun, 17 May 2020 09:36 Go to previous messageGo to next message
Didi He is currently offline Didi HeFriend
Messages: 7
Registered: May 2020
Junior Member
HI Elemer:

Thanks for your answer!

When I install the ANTLR,there is an error"Unkonwn host" see the attachment.
If I use the eclipse for C/C++ user,is it neccesary to install ANTLR?

BR
Didi

[Updated on: Sun, 17 May 2020 09:49]

Report message to a moderator

Re: TITAN installation tutorial video for Windows with compiling on Cygwin. [message #1827526 is a reply to message #1827524] Sun, 17 May 2020 12:16 Go to previous messageGo to next message
Elemer Lelik is currently offline Elemer LelikFriend
Messages: 1075
Registered: January 2015
Senior Member
Hi Didi,

if you don't install ANTLR, the Eclipse IDE (and the stand-alone JAVA compiler/executor ) will not work,

so you can use Titan only from command line, assuming that the C/C++ compiler/executor installation was successful (and of course you will need a separate editor/IDE to create/edit etc. your TTCN-3 files).

Best regards

Elemer
Re: TITAN installation tutorial video for Windows with compiling on Cygwin. [message #1827709 is a reply to message #1827524] Thu, 21 May 2020 09:17 Go to previous message
Kristof Szabados is currently offline Kristof SzabadosFriend
Messages: 54
Registered: July 2015
Member
Hi Didi,


The zip file for the eclipse plugins (on the download site) should contain all necessary dependencies (that do not come with eclipse itself).

Could you give us more information on how or why the installation tried to reach out for that host (raw.githubusercontent.com...)?
I have not seen this behavior yet, but maybe we can fix it, if it is an issue on our side.

BR.
Kristof
Previous Topic:Installation problems on Window 10 Cygwin
Next Topic:External functions returning templates
Goto Forum:
  


Current Time: Wed Aug 05 06:34:30 GMT 2020

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

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

Back to the top