Use `cl_command_queue getClCommandQueue(const Context *ctx)` from `private/utils.hpp` (included in precomp.hpp). `getOpenCLCommandQueuePtr()` returns pointer, not value.
Last right bracket `)` is invalid.