C++ compiler error for Eclipse plugin [message #1741886] |
Tue, 30 August 2016 08:07  |
Eclipse User |
|
|
|
i have recently installed the titan plugin for eclipse and have following issues
**************************************************************
2016-08-30_04:41:17: starting to build helloworld_ttcn_project
**************************************************************
sh -c make dep
Creating dependency file for MyExample.cc
In file included from /usr/local/TTCN3/include/TTCN3.hh:36:0,
from MyExample.hh:19,
from MyExample.cc:11:
/usr/local/TTCN3/include/cversion.h:7:2: error: #error The version of GCC does not match the expected version (GCC 5.3.1)
#error The version of GCC does not match the expected version (GCC 5.3.1)
i tried to find the GCC 5.3.1 but no luck,
i have tried with both gcc 4.3.5 and gcc 5.4.0 but didnt work
kindly help
|
|
|
|
Re: C++ compiler error for Eclipse plugin [message #1741953 is a reply to message #1741940] |
Tue, 30 August 2016 14:46   |
Eclipse User |
|
|
|
thanks for the prompt response
i have two gcc versions 4.8 and 5.4
using update alternative i am switching between them but none of them works
before you spend more time to help me can i get a link to gcc 5.3.1 to download and try with that first
thanks
follwoing are the output of the commands which were asked
ejabnoo@ubuntu:~/workspace/helloworld_ttcn_project/src$ compiler -v
TTCN-3 and ASN.1 Compiler for the TTCN-3 Test Executor
Product number: CRL 113 200/5 R5A
Build date: May 24 2016 12:50:36
Compiled with: GCC 5.3.1
Copyright (c) 2000-2016 Ericsson Telecom AB
ejabnoo@ubuntu:~/workspace/helloworld_ttcn_project/src$ dpkg -l | grep gcc | awk '{print $2}'
gcc
gcc-4.8
gcc-4.8-base:amd64
gcc-5
gcc-5-base:amd64
gcc-6-base:amd64
gir1.2-packagekitglib-1.0
libcaca0:amd64
libgcc-4.8-dev:amd64
libgcc-5-dev:amd64
libgcc1:amd64
libpackagekit-glib2-16:amd64
libunity-action-qt1:amd64
libwebrtc-audio-processing-0:amd64
qtchooser
qtdeclarative5-unity-action-plugin:amd64
ejabnoo@ubuntu:~/workspace/helloworld_ttcn_project/src$ g++ -v
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.4.0-6ubuntu1~16.04.2' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --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-5-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-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 --enable-multilib --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 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.2)
ejabnoo@ubuntu:~/workspace/helloworld_ttcn_project/src$
ejabnoo@ubuntu:~/workspace/helloworld_ttcn_project/src$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.4.0-6ubuntu1~16.04.2' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --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-5-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-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 --enable-multilib --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 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.2)
ejabnoo@ubuntu:~/workspace/helloworld_ttcn_project/src$
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03815 seconds