simulavr-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Simulavr-devel] Simulavr 1.0.0 fails to compile on Linux Mint 17


From: Albrecht Frenzel
Subject: Re: [Simulavr-devel] Simulavr 1.0.0 fails to compile on Linux Mint 17
Date: Sat, 30 Jan 2016 19:32:57 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1

Hi Klaus,

I guess, but don't know, that https://github.com/Traumflug/simulavr.git is the repo, you meant.

I cloned it and tried to build, but failed on ./configure: No such file or directory.

Best regards
Albrecht


On 30.01.2016 10:37, Klaus wrote:
Hi Albrecht,

please use git head. 1.0.0. is outdated and broken in many aspects.

Maybe this also fits your documentation issues.

Regards
 Klaus

Am 29.01.2016 um 16:47 schrieb Albrecht Frenzel:
g++ complains on systemclock.cpp:70:23:

libtool: compile: g++ -DHAVE_CONFIG_H -I. -I/usr/include -g -O2 -Icmd
-Iui -Ihwtimer -c systemclock.cpp  -o .libs/systemclock.o
systemclock.cpp: In instantiation of ‘void MinHeap<Key,
Value>::Insert(Key, Value) [with Key = long long int; Value =
SimulationMember*]’:
systemclock.cpp:135:40:   required from here
systemclock.cpp:70:23: error: ‘resize’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point
of instantiation [-fpermissive]
   resize(this->size()+1);
                        ^
systemclock.cpp:70:23: note: declarations in dependent base
‘std::vector<std::pair<long long int, SimulationMember*>,
std::allocator<std::pair<long long int, SimulationMember*> > >’ are not
found by unqualified lookup
systemclock.cpp:70:23: note: use ‘this->resize’ instead
make[3]: *** [systemclock.lo] Error 1
make[3]: Leaving directory `/tmp/simulavr-1.0.0/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/simulavr-1.0.0/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/tmp/simulavr-1.0.0/src'
make: *** [all-recursive] Error 1

Fixing line 70 to

     this->resize(this->size()+1);

makes the error disappear, but I dont't know, if that ist correct.

Albrecht


_______________________________________________
Simulavr-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/simulavr-devel





reply via email to

[Prev in Thread] Current Thread [Next in Thread]