Hallo Sathya,
ich fürchte, ich bräuchte noch einmal deine (sehr geschätzte) Hilfe. Die 0.5.20 kann ich bauen, aber beim Übersetzen der 0.5.24-7 laufe ich auf einen Fehler, den ich nicht wirklich verstehe… meine C+±Zeiten liegen zu lange zurück.
Fehlerausgabe siehe unten - fällt dir dazu etwas ein?
Vielen Dank und viele Grüße
-SirN.
==== Building events (debug) ====
Creating obj/Debug/events
EventHandler.cpp
In file included from /usr/include/c++/4.7/bits/stl_algobase.h:65:0,
from /usr/include/c++/4.7/bits/char_traits.h:41,
from /usr/include/c++/4.7/string:42,
from Libraries/Events/../../Modules/Base/Database/DatabaseTypes.h:33,
from Libraries/Events/../../Modules/Base/BaseLib.h:4,
from Libraries/Events/EventHandler.h:33,
from Libraries/Events/EventHandler.cpp:30:
/usr/include/c++/4.7/bits/stl_pair.h: In instantiation of ‘struct std::pair<const int, std::future<bool> >’:
Libraries/Events/EventHandler.cpp:72:105: required from here
/usr/include/c++/4.7/bits/stl_pair.h:94:11: error: ‘std::pair<_T1, _T2>::second’ has incomplete type
In file included from Libraries/Events/EventHandler.h:41:0,
from Libraries/Events/EventHandler.cpp:30:
/usr/include/c++/4.7/future:111:11: error: declaration of ‘class std::future<bool>’
Libraries/Events/EventHandler.cpp: In member function ‘void EventHandler::collectGarbage()’:
Libraries/Events/EventHandler.cpp:74:11: error: ‘struct std::pair<const int, std::future<bool> >’ has no member named ‘second’
Libraries/Events/EventHandler.cpp: In member function ‘void EventHandler::mainThread()’:
Libraries/Events/EventHandler.cpp:178:219: error: invalid use of incomplete type ‘class std::future<bool>’
In file included from Libraries/Events/EventHandler.h:41:0,
from Libraries/Events/EventHandler.cpp:30:
/usr/include/c++/4.7/future:111:11: error: declaration of ‘class std::future<bool>’
In file included from /usr/include/c++/4.7/bits/stl_algobase.h:65:0,
from /usr/include/c++/4.7/bits/char_traits.h:41,
from /usr/include/c++/4.7/string:42,
from Libraries/Events/../../Modules/Base/Database/DatabaseTypes.h:33,
from Libraries/Events/../../Modules/Base/BaseLib.h:4,
from Libraries/Events/EventHandler.h:33,
from Libraries/Events/EventHandler.cpp:30:
/usr/include/c++/4.7/bits/stl_pair.h: In instantiation of ‘struct std::pair<int, std::future<bool> >’:
Libraries/Events/EventHandler.cpp:178:220: required from here
/usr/include/c++/4.7/bits/stl_pair.h:94:11: error: ‘std::pair<_T1, _T2>::second’ has incomplete type
In file included from Libraries/Events/EventHandler.h:41:0,
from Libraries/Events/EventHandler.cpp:30:
/usr/include/c++/4.7/future:111:11: error: declaration of ‘class std::future<bool>’
Libraries/Events/EventHandler.cpp:230:219: error: invalid use of incomplete type ‘class std::future<bool>’
In file included from Libraries/Events/EventHandler.h:41:0,
from Libraries/Events/EventHandler.cpp:30:
/usr/include/c++/4.7/future:111:11: error: declaration of ‘class std::future<bool>’
Libraries/Events/EventHandler.cpp: In member function ‘void EventHandler::trigger(uint64_t, int32_t, std::shared_ptr<std::vector<std::basic_string<char> > >, std::shared_ptr<std::vector<std::shared_ptr<BaseLib::RPC::Variable> > >)’:
Libraries/Events/EventHandler.cpp:778:205: error: invalid use of incomplete type ‘class std::future<bool>’
In file included from Libraries/Events/EventHandler.h:41:0,
from Libraries/Events/EventHandler.cpp:30:
/usr/include/c++/4.7/future:111:11: error: declaration of ‘class std::future<bool>’
Libraries/Events/EventHandler.cpp: In member function ‘void EventHandler::trigger(uint64_t, int32_t, std::string&, std::shared_ptr<BaseLib::RPC::Variable>&)’:
Libraries/Events/EventHandler.cpp:827:186: error: invalid use of incomplete type ‘class std::future<bool>’
In file included from Libraries/Events/EventHandler.h:41:0,
from Libraries/Events/EventHandler.cpp:30:
/usr/include/c++/4.7/future:111:11: error: declaration of ‘class std::future<bool>’
make[1]: *** [obj/Debug/events/EventHandler.o] Fehler 1
make: *** [events] Fehler 2