Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building Eutelescope fails due to Eudaq error in EUTelNativeReader #34

Closed
terzo opened this issue Apr 9, 2014 · 2 comments
Closed

Building Eutelescope fails due to Eudaq error in EUTelNativeReader #34

terzo opened this issue Apr 9, 2014 · 2 comments

Comments

@terzo
Copy link

terzo commented Apr 9, 2014

Building git-version of Eutelescope with eudaq trunk version gives the following error (ubuntu 12.04 LTS, g++ 4.8.1):

/remote/pcatlas2/testbeam/Analysis/ilcsoft/v01-17-05/Eutelescope/trunk/external/eudaq/trunk/nreader/src/EUTelNativeReader.cc: In member function ‘virtual void eutelescope::EUTelNativeReader::readDataSource(int)’: /remote/pcatlas2/testbeam/Analysis/ilcsoft/v01-17-05/Eutelescope/trunk/external/eudaq/trunk/nreader/src/EUTelNativeReader.cc:150:67: error: no matching function for call to ‘eudaq::FileReader::FileReader(std::string&, const char [1], bool&)’ reader = new eudaq::FileReader( _fileName, "", _syncTriggerID ); ^ /remote/pcatlas2/testbeam/Analysis/ilcsoft/v01-17-05/Eutelescope/trunk/external/eudaq/trunk/nreader/src/EUTelNativeReader.cc:150:67: note: candidates are: In file included from /remote/pcatlas2/testbeam/Analysis/ilcsoft/v01-17-05/Eutelescope/trunk/external/eudaq/trunk/nreader/src/EUTelNativeReader.cc:42:0: /remote/pcatlas2/testbeam/Analysis/ilcsoft/v01-17-05/Eutelescope/trunk/external/eudaq/trunk/./main/include/eudaq/FileReader.hh:17:7: note: eudaq::FileReader::FileReader(const string&, const string&) FileReader(const std::string & filename, const std::string & filepattern = ""); ^ /remote/pcatlas2/testbeam/Analysis/ilcsoft/v01-17-05/Eutelescope/trunk/external/eudaq/trunk/./main/include/eudaq/FileReader.hh:17:7: note: candidate expects 2 arguments, 3 provided /remote/pcatlas2/testbeam/Analysis/ilcsoft/v01-17-05/Eutelescope/trunk/external/eudaq/trunk/./main/include/eudaq/FileReader.hh:15:19: note: eudaq::FileReader::FileReader(const eudaq::FileReader&) class DLLEXPORT FileReader { ^ /remote/pcatlas2/testbeam/Analysis/ilcsoft/v01-17-05/Eutelescope/trunk/external/eudaq/trunk/./main/include/eudaq/FileReader.hh:15:19: note: candidate expects 1 argument, 3 provided make[2]: **\* [nreader/CMakeFiles/NativeReader.dir/src/EUTelNativeReader.cc.o] Error 1 make[1]: **\* [nreader/CMakeFiles/NativeReader.dir/all] Error 2 make: **\* [all] Error 2
@hperrey
Copy link
Contributor

hperrey commented Apr 9, 2014

Thanks for reporting this!
This is likely a result of recent changes to the FileReader (see eudaq/eudaq#39) -- we will fix this, but for now, please try using version 1.2 of EUDAQ (which was released just two weeks ago). Or do you require any of the commits only present in the master branch of EUDAQ?
Cheers,
Hanno

@hperrey
Copy link
Contributor

hperrey commented Apr 10, 2014

@terzo This should work now with the master branch of EUDAQ

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants