ComputationalRadiationPhysics / jungfrau-photoncounter

Conversion of Jungfrau pixel detector data to photon count rate
GNU General Public License v3.0
2 stars 2 forks source link

Compilation errors #57

Closed j-stephan closed 5 years ago

j-stephan commented 5 years ago

The latest commit broke a few things.

While compiling main.cpp:

jungfrau-photoncounter/include/jungfrau-photoncounter/Config.hpp:74:1: error: unknown type name 'i'
i    // the struct for the initial pedestal data
^
jungfrau-photoncounter/include/jungfrau-photoncounter/Config.hpp:75:5: error: expected member name or ';' after declaration specifiers
    struct InitPedestal {
    ^
jungfrau-photoncounter/include/jungfrau-photoncounter/Config.hpp:179:40: error: use of undeclared identifier 'InitPedestal'
    using InitPedestalMap = CheapArray<InitPedestal, DIMX * DIMY>;
                                       ^
In file included from main.cpp:3:
In file included from jungfrau-photoncounter/include/jungfrau-photoncounter/Dispenser.hpp:17:
jungfrau-photoncounter/include/jungfrau-photoncounter/kernel/Summation.hpp:2:10: fatal error: 'AlpakaHelper.hpp' file not found
#include "AlpakaHelper.hpp"
         ^~~~~~~~~~~~~~~~~~
4 errors generated.
kloppstock commented 5 years ago

Thanks for mentioning it. It was just a typo in the Config.hpp which is fixed now. Could you try compiling it again?

j-stephan commented 5 years ago

Yup, just facing issues in the SYCL backend now. Thanks!