Cannot make Demo Example from Titan [message #1714092] |
Mon, 09 November 2015 15:26  |
Eclipse User |
|
|
|
HI,
I tried to make Demo , MyExample.ttcn, which came with titan installation. I made the copy of the folder and tried to make it with existing Test Ports and .cfg file.
I got errors in it, shown in image. Am i missing any other library for Titan compilation?
From make file , i wrote ttcn3 instead ttcn3-parallel, then this error vanishes, but the second error persist. Although File "titanver" is present in its directory.
Regards,
Burhan
Attachment: Capture.PNG
(Size: 40.92KB, Downloaded 477 times)
|
|
|
|
|
Re: Cannot make Demo Example from Titan [message #1714175 is a reply to message #1714095] |
Tue, 10 November 2015 08:47   |
Eclipse User |
|
|
|
Hi,
I tried to change the Env Variables, as you said and shown in the image "EnvVariable.PNG",
i re started my PC and tried to generate make file, but this time it said "command not found", shown in image "After ChangingEnvVariable".. I also updated the Windows Env Variables as you said.
I think the problem was of writing "titan.core" instead of "titan" (also removed from Windows Env Variables)... So set the variables again after removing ".core", and tried to make file again, but the same old error raised.
My Directory is.. :
C:\cygwin64\home\b.hassan\install (have bin,demo,etc,help,include,lib and man folders)
C:\cygwin64\home\b.hassan\titan
I thought this info can be helpfull...
According to above directories and "Installation guide" came with Titan package, i think my TTCN3 Directory is "C:\cygwin64\home\b.hassan\install"..So in setting Env Variables, i tried with "install" in place of "titan" as well, but of no use.
NOTE: I followed this video "Install ttcn3 on windows using eclipse titan" from You tube to set up Titan, and at time "30:50", it is setting env variables..
Hope i explained the problem i m in ..
Regards,
Burhan
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: Cannot make Demo Example from Titan [message #1714225 is a reply to message #1714223] |
Tue, 10 November 2015 16:08   |
Eclipse User |
|
|
|
I got it, i was not including "MyExample.cfg " in ttcn3_genmakefile command, now its working... (also changed ttcn3_parallel to ttcn3)
I have another question, I have deleted the env variables from Windows, now if i use Titan plugin from Eclipse, should it work correctly?
You did great help Elmer, i really appreciate the effort you put for me, you rock 
Thanks and hope to see you soon in another issue ..
Regards,
Burhan
[Updated on: Tue, 10 November 2015 16:10] by Moderator
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|