문제

In trying to use functions like zrvmul, vvsinf, and vvcosf (defined in vForce.h) I get "no matching function" errors. I am #including the accelerate framework, and have it linked in build phases. Moreover, I'm using other accelerate functions like vDSP_fft_zip with no trouble.

I can work around the problem using for loops, of course. But can anybody illuminate the situation for me? Is there a way to still use the vForce functions? If so how?

도움이 되었습니까?

해결책

Solved:

My problem was that I passed some incorrect parameters to the functions - I needed to be more careful with pointers.

The error message was cryptic, and the issue of legacy macros was a red herring.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top