GSI Forum - RDF feed
https://forum.gsi.de/index.php
Compilation errors in trunk release 28886
https://forum.gsi.de/index.phpindex.php?t=rview&goto=19001&th=4809#msg_19001
I just reinstalled FairRoot and PandaRoot, and during the compilation of PandaRoot, I encountered some failures that needed fixing before I could compile. Some of the things are really strange, and I would think that they would show up when whoever wrote the code tries to compile it him/herself. Here's the list:
PndMdtPointsToWaveform.h: Remove "#pragma once"
PndMdtWaveform.h: Remove "#pragma once"
PndMdtIGeometry.cxx: ofstream -> std::ofstream
PndMdtIGeometry.h: Make a lot of stuff (at least the structs) not private
PndMdtParamDigi.h: Make a lot of stuff (at least the structs) not private
PndEmcBump.h: Remove "#pragma once"
PndEmcRecoPar.h: Remove "#pragma once"
PndRichRecoTask.cxx: #include <db_cxx.h> not necessary (I didn't have the required library on my system, but it compiled when taking that part out without complaining, so I guess it's not used anywhere)
PndCAGlobalPerformance.cxx: line 148: sort -> std::sort
PndCAPerformance.cxx: ofstream -> std::ofstream, ifstream -> std::ifstream
I guess some compilers might not complain about the 'std' parts. As for the "#pragma once", I am not an expert, but as far as I understand you should not use it in combination with
]]>Marcel Tiemens2016-02-09T14:43:31-00:00Re: Compilation errors in trunk release 28886
https://forum.gsi.de/index.phpindex.php?t=rview&goto=19002&th=4809#msg_19002
]]>StefanoSpataro2016-02-09T14:53:13-00:00Re: Compilation errors in trunk release 28886
https://forum.gsi.de/index.phpindex.php?t=rview&goto=19003&th=4809#msg_19003
But the only Problem seems to be
rich/PndRichRecoTask.cxx:16:20: fatal error: db_cxx.h: No such file or directory
#include <db_cxx.h>
^
compilation terminated.
make[2]: *** [rich/CMakeFiles/Rich.dir/PndRichRecoTask.cxx.o] Error 1
make[1]: *** [rich/CMakeFiles/Rich.dir/all] Error 2
make: *** [all] Error 2
The other errors are not reproduceable. at least not for me
so the other errors are maybe only occuring when using a specific OS or compiler
regards Dominik]]>Dominik Steinschaden2016-02-09T14:57:24-00:00Re: Compilation errors in trunk release 28886
https://forum.gsi.de/index.phpindex.php?t=rview&goto=19004&th=4809#msg_19004
Marcel Tiemens2016-02-09T14:58:10-00:00Re: Compilation errors in trunk release 28886
https://forum.gsi.de/index.phpindex.php?t=rview&goto=19005&th=4809#msg_19005
Can you please send the log of the compilation errors?]]>StefanoSpataro2016-02-09T15:07:55-00:00Re: Compilation errors in trunk release 28886
https://forum.gsi.de/index.phpindex.php?t=rview&goto=19006&th=4809#msg_19006
mar15 and v.1511?]]>StefanoSpataro2016-02-09T15:08:34-00:00Re: Compilation errors in trunk release 28886
https://forum.gsi.de/index.phpindex.php?t=rview&goto=19007&th=4809#msg_19007
fairsoft: nov15
fairroot: v15.11 (with slight changes to the FairWriteoutbuffer)
Os: Ubuntu 14.04
How do I check which Compiler is used for the compilation?
at least my gcc/g++ Version is also 4.8.4]]>Dominik Steinschaden2016-02-09T15:18:31-00:00Re: Compilation errors in trunk release 28886
https://forum.gsi.de/index.phpindex.php?t=rview&goto=19008&th=4809#msg_19008
What is the output of root-config --version?]]>Radoslaw Karabowicz2016-02-09T15:48:14-00:00Re: Compilation errors in trunk release 28886
https://forum.gsi.de/index.phpindex.php?t=rview&goto=19009&th=4809#msg_19009
I'm using ROOT 6.06/00
And indeed mar15 for the external packages and FairRoot v15-11]]>Marcel Tiemens2016-02-09T16:12:09-00:00Re: Compilation errors in trunk release 28886
https://forum.gsi.de/index.phpindex.php?t=rview&goto=19010&th=4809#msg_19010
I am sorry but the system is not maintained for root6.
The suggested FairRoot version is mar15 where root6 is not yet available, and I do not have a running version of pandaroot with root6. This means, at present, we cannot ask developers to follow root6 directives.]]>StefanoSpataro2016-02-09T16:19:53-00:00Re: Compilation errors in trunk release 28886
https://forum.gsi.de/index.phpindex.php?t=rview&goto=19011&th=4809#msg_19011
I checked the recent log and noticed a file was wrongly committed, PndRichRecotask.cxx. I have reverted the change, please update 28891 and try again.]]>StefanoSpataro2016-02-09T16:23:55-00:00Re: Compilation errors in trunk release 28886
https://forum.gsi.de/index.phpindex.php?t=rview&goto=19012&th=4809#msg_19012
Marcel Tiemens2016-02-09T16:37:34-00:00Re: Compilation errors in trunk release 28886
https://forum.gsi.de/index.phpindex.php?t=rview&goto=19014&th=4809#msg_19014
1) PndMdtIGeometry.h: the structs are private
PndMdtParamDigi.h: the structs are private
Solved by making the structs public
2) PndRichRecoTask.cxx: #include <db_cxx.h> not found
Fixed in rev 28892