Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - yakup

#1
Get Help on Your Input File / Re: Generation stuck at 2/98
September 21, 2018, 09:34:18 AM
Thanks. missed it
#2
Get Help on Your Input File / Generation stuck at 2/98
September 17, 2018, 03:22:58 PM
Hello; attached input file has some hard constraints, but i can place most of the activities manually. Automatic generation stucks at 2 activities.
#3

Failed with this configuration:

gcc version 4.8.4 (Ubuntu 4.8.4-2ubuntu1~14.04.4)


QMake version 3.0
Using Qt version 5.2.1 in /usr/lib/x86_64-linux-gnu

engine/timetableexport.cpp:9875:28: error: 'assert' was not declared in this scope
        default: assert(0==1); break;
                            ^
Makefile.src-cl:1113: recipe for target '../tmp/commandline/timetableexport.o' failed
make[1]: *** [../tmp/commandline/timetableexport.o] Error 1
make[1]: Leaving directory '/root/fet-5.37.1/src'
Makefile:39: recipe for target 'sub-src-src-cl-pro-make_default' failed
make: *** [sub-src-src-cl-pro-make_default] Error 2

succeeded with this configuration:
gcc version 8.1.0 (Ubuntu 8.1.0-5ubuntu1~14.04)
QMake version 3.0
Using Qt version 5.2.1 in /usr/lib/x86_64-linux-gnu
#4
Thanks. That solved the issue. I'm writing details for anyone that needs this:

Ubuntu 14 command-line version:
edit fet.pro
delete src.pro from second line.

edit src/src-cl.pro

find c++11 and change it to c++14

sudo apt-get update && \
sudo apt-get install build-essential software-properties-common -y && \
sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y && \
sudo apt-get update && \
sudo apt-get install gcc-snapshot -y && \
sudo apt-get update && \
sudo apt-get install gcc-8 g++-8 -y && \
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 60 --slave /usr/bin/g++ g++ /usr/bin/g++-8


sudo update-alternatives --config gcc

apt-get install qt5-default

go to fet directory
qmake
make
make install

than you can call fet with command "fet-cl" from terminal
#5
Hello everyone; I'm trying to compile 5.37.1 version on ubuntu server but no luck. I've tried all the steps on README. I'm getting "error:use of deleted method qAsConst" at "make" step. I think problem is: I can not install qt version 5.7 or greater. qt5-default package is some 5.2 version on ubuntu repositories. any help would be great. Thanks.

Exact error is: In file included from engine/timetableexport.cpp:46:0:
engine/timetable_defs.h:42:25: error:   initializing argument 1 of 'void qAsConst(const T&&) [with T = QList<int>]'
template <class T> void qAsConst(const T&&) = delete;