GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » R3BRoot » Installation and Compilation » Installation fails (neuland reconstruction directory)
Installation fails [message #20562] Thu, 16 March 2017 16:48 Go to previous message
lanyizsombor is currently offline  lanyizsombor
Messages: 6
Registered: March 2017
Location: Budapest, Hungary
occasional visitor
From: *catv.broadband.hu
Hi Dima,

I'm installing R3BRoot to another computer, everything (FairSoft, FairRoot and R3BRoot) is the latest version, and I followed all the instructions that I followed before, when I installed it before, on my other machine. But cmake fails when building neuland/reconstruction directory with pointer error:

...
[ 53%] Building CXX object neuland/reconstruction/CMakeFiles/R3BNeulandReconstruction.dir/Reconstru ctionNeuralNetworkMultiplicity.cxx.o
/home/lanyi/R3BRoot/neuland/reconstruction/ReconstructionNeuralNetworkMu ltiplicity.cxx: In member function 'virtual std::vector<R3BNeulandNeutron> Neuland::ReconstructionNeuralNetworkMultiplicity::GetNeutrons(const std::vector<R3BNeulandCluster*>&) const':
/home/lanyi/R3BRoot/neuland/reconstruction/ReconstructionNeuralNetworkMu ltiplicity.cxx:69:39: error: no matching function for call to 'FairMQSocketZMQ::Send(std::unique_ptr<FairMQMessageZMQ>::pointer, int)'
fSocket->Send(msg.get(), 0);
^
/home/lanyi/R3BRoot/neuland/reconstruction/ReconstructionNeuralNetworkMu ltiplicity.cxx:69:39: note: candidates are:
In file included from /home/lanyi/R3BRoot/neuland/reconstruction/ReconstructionNeuralNetworkMu ltiplicity.h:6:0,
from /home/lanyi/R3BRoot/neuland/reconstruction/ReconstructionNeuralNetworkMu ltiplicity.cxx:1:
/home/lanyi/FairRoot/install-v-16.06a/include/FairMQSocketZMQ.h:38:17: note: virtual int FairMQSocketZMQ::Send(FairMQMessagePtr&, int)
virtual int Send(FairMQMessagePtr& msg, const int flags = 0);
^
/home/lanyi/FairRoot/install-v-16.06a/include/FairMQSocketZMQ.h:38:17: note: no known conversion for argument 1 from 'std::unique_ptr<FairMQMessageZMQ>::pointer {aka FairMQMessageZMQ*}' to 'FairMQMessagePtr& {aka std::unique_ptr<FairMQMessage>&}'
/home/lanyi/FairRoot/install-v-16.06a/include/FairMQSocketZMQ.h:41:21: note: virtual int64_t FairMQSocketZMQ::Send(std::vector<std::unique_ptr<FairMQMessage> >&, int)
virtual int64_t Send(std::vector<std::unique_ptr<FairMQMessage>>& msgVec, const int flags = 0);
^
/home/lanyi/FairRoot/install-v-16.06a/include/FairMQSocketZMQ.h:41:21: note: no known conversion for argument 1 from 'std::unique_ptr<FairMQMessageZMQ>::pointer {aka FairMQMessageZMQ*}' to 'std::vector<std::unique_ptr<FairMQMessage> >&'
/home/lanyi/R3BRoot/neuland/reconstruction/ReconstructionNeuralNetworkMu ltiplicity.cxx:73:43: error: no matching function for call to 'FairMQSocketZMQ::Receive(std::unique_ptr<FairMQMessageZMQ>::pointer, int)'
fSocket->Receive(answ.get(), 0);
^
/home/lanyi/R3BRoot/neuland/reconstruction/ReconstructionNeuralNetworkMu ltiplicity.cxx:73:43: note: candidates are:
In file included from /home/lanyi/R3BRoot/neuland/reconstruction/ReconstructionNeuralNetworkMu ltiplicity.h:6:0,
from /home/lanyi/R3BRoot/neuland/reconstruction/ReconstructionNeuralNetworkMu ltiplicity.cxx:1:
/home/lanyi/FairRoot/install-v-16.06a/include/FairMQSocketZMQ.h:39:17: note: virtual int FairMQSocketZMQ::Receive(FairMQMessagePtr&, int)
virtual int Receive(FairMQMessagePtr& msg, const int flags = 0);
^
/home/lanyi/FairRoot/install-v-16.06a/include/FairMQSocketZMQ.h:39:17: note: no known conversion for argument 1 from 'std::unique_ptr<FairMQMessageZMQ>::pointer {aka FairMQMessageZMQ*}' to 'FairMQMessagePtr& {aka std::unique_ptr<FairMQMessage>&}'
/home/lanyi/FairRoot/install-v-16.06a/include/FairMQSocketZMQ.h:42:21: note: virtual int64_t FairMQSocketZMQ::Receive(std::vector<std::unique_ptr<FairMQMessage> >&, int)
virtual int64_t Receive(std::vector<std::unique_ptr<FairMQMessage>>& msgVec, const int flags = 0);
^
/home/lanyi/FairRoot/install-v-16.06a/include/FairMQSocketZMQ.h:42:21: note: no known conversion for argument 1 from 'std::unique_ptr<FairMQMessageZMQ>::pointer {aka FairMQMessageZMQ*}' to 'std::vector<std::unique_ptr<FairMQMessage> >&'
neuland/reconstruction/CMakeFiles/R3BNeulandReconstruction.dir/build.mak e:207: recipe for target 'neuland/reconstruction/CMakeFiles/R3BNeulandReconstruction.dir/Reconstr uctionNeuralNetworkMultiplicity.cxx.o' failed
make[2]: *** [neuland/reconstruction/CMakeFiles/R3BNeulandReconstruction.dir/Reconstr uctionNeuralNetworkMultiplicity.cxx.o] Error 1
CMakeFiles/Makefile2:1587: recipe for target 'neuland/reconstruction/CMakeFiles/R3BNeulandReconstruction.dir/all' failed
make[1]: *** [neuland/reconstruction/CMakeFiles/R3BNeulandReconstruction.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2

Best regards,
Zsombor
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Fresh Installation does not work
Next Topic: FairRoot installation problem
Goto Forum:
  


Current Time: Mon Nov 11 06:31:26 CET 2024

Total time taken to generate the page: 0.00838 seconds