Quantcast
Channel: Processors forum - Recent Threads
Viewing all articles
Browse latest Browse all 17527

Problem including dsplib.h (c674x 3.1.0.0)

$
0
0

This post is somehow related to the post http://e2e.ti.com/support/dsp/omap_applications_processors/f/42/t/212792.aspx

First, I also found that paths must be fixed in libs headers, and done this.

But problem still is not solved. It can't resolve functions prototypes (e.g. DSPF_q15tofl())

I checked libs headers more carefully. The problem is in guardian defines of the headers.

"dsplib.h" includes "ti/dsplib/src/DSPF_q15tofl/DSPF_q15tofl.h" with guardian #ifndef _DSPF_Q15TOFL_H_, and then it includes "ti/dsplib/src/DSPF_q15tofl/c674/DSPF_q15tofl.h" with the same guardian define!

Sure, it can not reach functions prototypes in this situation. I fixed guardian defines in these files and it works.

Can you comment this? Is this good strategy - to fix guardians manually in all files?


Viewing all articles
Browse latest Browse all 17527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>