i have problem custom shared library. shared library uses opencl offload cpu intensive calculations dsps. testing wrote qt app uses qcustomplot plot outputs of dsps in realtime. when executing test app (created qtcreator) following error:
test-libaudio-x15: /build/ti-llvm-3.3-dgvvhd/ti-llvm-3.3-3.3-git20150413/include/llvm/support/commandline.h:674: void llvm::cl::parser<datatype>::addliteraloption(const char*, const dt&, const char*) [with dt = llvm::scheduledaginstrs* (*)(llvm::machineschedcontext*); datatype = llvm::scheduledaginstrs* (*)(llvm::machineschedcontext*)]: assertion »findoption(name) == values.size() && "option exists!"« failed.
my lib uses ti opencl seems have conflicting types llvm opencl. when building lib link against ti-opencl. when building qt app (indirectly) link against llvm opencl (from qt printsupport). tried use library static well, same problems occurs.
thanks!
Comments
Post a Comment