|
Re: Problem titan HelloWorld example in eclipse [message #1729847 is a reply to message #1729823] |
Tue, 19 April 2016 13:25 |
|
Hi Boubacar,
could you give us more information?
Are you using Titan in command line mode or you are using the Eclipse plug-ins?
-did you download a pre-built package from Eclipse Titan download page or built from source code?
-if the former, did you download the right package for your Linux?
is it 64 or 32 bit Linux?
-please check that all the below packages are installed:
g++ expect libssl-dev libxml2-dev libncurses5-dev flex bison
-what's the output of the following commands?
uname -a
gcc -v
printenv | grep PATH
printenv| grep TTCN
compiler -v
which compiler
-Is your Eclipse part configured properly with path to Titan core installation and so on? (see install guide for Designer etc.)
send us please the eclipse.ini file
BR
Elemer
|
|
|
Re: Problem titan HelloWorld example in eclipse [message #1729861 is a reply to message #1729847] |
Tue, 19 April 2016 15:57 |
Boubacar Diallo Messages: 11 Registered: April 2016 |
Junior Member |
|
|
hi Elemer
i am using the Eclipse plug-ins
I tryed two way:
First
i download a pre-built package 64 bit Linux titan from Eclipse Titan download page
Second
I built from source code.
all the packages are installed.
koussy@koussy-Latitude-E6320:~/test$ uname -a
Linux koussy-Latitude-E6320 3.16.0-62-generic #83~14.04.1-Ubuntu SMP Fri Feb 26 22:52:39 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
koussy@koussy-Latitude-E6320:~/test$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.8/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.8.4-2ubuntu1~14.04.1' --with-bugurl=file:///usr/share/doc/gcc-4.8/README.Bugs --enable-languages=c,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.8 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.8 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --disable-libmudflap --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.8-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.8-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04.1)
koussy@koussy-Latitude-E6320:~/test$ printenv | grep PATH
MANPATH=:/home/koussy/TTCN3/man
LD_LIBRARY_PATH=:/home/koussy/TTCN3/lib
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
DEFAULTS_PATH=/usr/share/gconf/ubuntu.default.path
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/koussy/TTCN3/bin
MANDATORY_PATH=/usr/share/gconf/ubuntu.mandatory.path
koussy@koussy-Latitude-E6320:~/test$ printenv | grep TTCN
MANPATH=:/home/koussy/TTCN3/man
LD_LIBRARY_PATH=:/home/koussy/TTCN3/lib
TTCN3_DIR=/home/koussy/TTCN3
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/home/koussy/TTCN3/bin
koussy@koussy-Latitude-E6320:~/test$ compiler -v
TTCN-3 and ASN.1 Compiler for the TTCN-3 Test Executor
Product number: CRL 113 200/5 R4A
Build date: Nov 13 2015 15:43:36
Compiled with: GCC 4.8.2
Copyright (c) 2000-2015 Ericsson Telecom AB
koussy@koussy-Latitude-E6320:~/test$ which compiler
/home/koussy/TTCN3/bin/compiler
eclipse.ini file
-startup
plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.300.v20150602-1417
-product
org.eclipse.epp.package.cpp.product
--launcher.defaultAction
openFile
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.7
-XX:MaxPermSize=256m
-Xms256m
-Xmx1024m
|
|
|
Re: Problem titan HelloWorld example in eclipse [message #1729926 is a reply to message #1729861] |
Wed, 20 April 2016 09:55 |
|
Hi Boubacar,
your environment seems correct.
Have you built the HelloWorld successfully, haven't you?
I suppose the message came at execution and ther were problems with the config file.
Could you attach the config file from the bin directory? Is it a MyExample.cfg file or a temp cfg file. I suppose it is faulty. The error message comes from the parser, I suppose the cfg file parser. It should send a more user friendly error message so it is a fault and the cfg file is very important for us.
I would suggest a shortcut: Start the HelloWorld this way: Right click on src/MyExample.cfg and select Run As>5 Titan Parallel laucher (see the attched file HWpng.png )
After this follow the description in chapters 4 and 5 of Eclipse_Executor_userguide.pdf.
Best regards
Jeno Balasko,
Titan Team, Ericsson
-
Attachment: HWpng.png
(Size: 98.03KB, Downloaded 449 times)
|
|
|
|
Powered by
FUDForum. Page generated in 0.03768 seconds