# Ninja errors with O2 dev

**URL:** <https://alice-talk.web.cern.ch/t/ninja-errors-with-o2-dev/1292>\
**Category:** O²\
**Created:** [July 26, 2022, 5:41pm UTC](https://alice-talk.web.cern.ch/t/ninja-errors-with-o2-dev/1292 "2022-07-26T17:41:37Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![das](https://alice-talk.web.cern.ch/letter_avatar_proxy/v4/letter/d/46a35a/32.png) [@das](https://alice-talk.web.cern.ch/u/das)\
**Post date:** [July 26, 2022, 5:41pm UTC](https://alice-talk.web.cern.ch/t/ninja-errors-with-o2-dev/1292/1 "2022-07-26T17:41:37Z")

</div>

Dear O2 experts,

I am facing this errors:  
[17/526] Building CXX object Detectors/CTF/CMakeFiles/O2test-ctf-tpc.dir/test/test\_ctf\_io\_tpc.cxx.o  
ninja: build stopped: subcommand failed.

and attached the log file.

The O2 is dev version. I am using ubuntu 20.04 LTS

any help with be highly appreciated,

Debasish.  
[latest-log-2607.txt](https://alice-talk.web.cern.ch/uploads/short-url/7ApPRHjozMUmaDAOGvxAycVBsPz.txt) (44.4 KB)

---

<div class="post-metadata">

**Author:** ![shahoian](https://alice-talk.web.cern.ch/letter_avatar_proxy/v4/letter/s/51bf81/32.png) [@shahoian](https://alice-talk.web.cern.ch/u/shahoian)\
**Post date:** [July 26, 2022, 5:55pm UTC](https://alice-talk.web.cern.ch/t/ninja-errors-with-o2-dev/1292/2 "2022-07-26T17:55:00Z")

</div>

Looks like a wrong vulkan header is used, @drohr can tell better:

```auto
/home/debasish/home/debasish/Documents/a-install/sw/SOURCES/O2/dev/0/GPU/GPUTracking/display/GPUDisplayBackendVulkan.cxx:297:87: error: request for member 'data' in 'deviceProperties.vk::PhysicalDeviceProperties::deviceName', which is of non-class type 'char [256]'
  297 | GPUInfo("%s ignored due to missing queue properties", deviceProperties.deviceName.data());

```

---

<div class="post-metadata">

**Author:** ![drohr](https://alice-talk.web.cern.ch/letter_avatar_proxy/v4/letter/d/b2d939/32.png) [@drohr](https://alice-talk.web.cern.ch/u/drohr)\
**Post date:** [July 26, 2022, 8:33pm UTC](https://alice-talk.web.cern.ch/t/ninja-errors-with-o2-dev/1292/3 "2022-07-26T20:33:38Z")

</div>

Can you try with [GPU Vulkan Display: Try to fix compilation with some more non-standard vulkan headers by davidrohr · Pull Request #9526 · AliceO2Group/AliceO2 · GitHub](https://github.com/AliceO2Group/AliceO2/pull/9526) ?

---

<div class="post-metadata">

**Author:** ![das](https://alice-talk.web.cern.ch/letter_avatar_proxy/v4/letter/d/46a35a/32.png) [@das](https://alice-talk.web.cern.ch/u/das)\
**Post date:** [July 27, 2022, 3:57am UTC](https://alice-talk.web.cern.ch/t/ninja-errors-with-o2-dev/1292/4 "2022-07-27T03:57:22Z")

</div>

Dear @drohr , Ruben

many thanks. Can you please explain me a bit more about this GPU ?  
which command should be used

many thanks in advance,

Debasish.

---

<div class="post-metadata">

**Author:** ![drohr](https://alice-talk.web.cern.ch/letter_avatar_proxy/v4/letter/d/b2d939/32.png) [@drohr](https://alice-talk.web.cern.ch/u/drohr)\
**Post date:** [July 27, 2022, 7:03am UTC](https://alice-talk.web.cern.ch/t/ninja-errors-with-o2-dev/1292/5 "2022-07-27T07:03:33Z")

</div>

I meant you should try to recompile O2 with that PR.  
It is merged now, so can you just try to recompile with O2/dev?

---

<div class="post-metadata">

**Author:** ![das](https://alice-talk.web.cern.ch/letter_avatar_proxy/v4/letter/d/46a35a/32.png) [@das](https://alice-talk.web.cern.ch/u/das)\
**Post date:** [July 27, 2022, 5:22pm UTC](https://alice-talk.web.cern.ch/t/ninja-errors-with-o2-dev/1292/6 "2022-07-27T17:22:44Z")

</div>

Thanks a lot @drohr , I will recompile and let you know.

best regards  
Debasish.

---

<div class="post-metadata">

**Author:** ![das](https://alice-talk.web.cern.ch/letter_avatar_proxy/v4/letter/d/46a35a/32.png) [@das](https://alice-talk.web.cern.ch/u/das)\
**Post date:** [July 28, 2022, 8:36am UTC](https://alice-talk.web.cern.ch/t/ninja-errors-with-o2-dev/1292/7 "2022-07-28T08:36:50Z")

</div>

Dear @drohr  
I am able to compile o2 and o2physics in ubuntu 20.04 LTS after the gpu update.  
Also thanks to @shahoian and @laphecet ,

best regards  
Debasish.
