Post Go back to editing

VisualDSP++ 5.1.2 - Error li1021, the complier seemingly can't find #includes

Category: Software
Software Version: VisualDSP++ 5.1.2

so I get the following:

[Error li1021] The following symbols referenced in processor 'p0' could not be resolved:
'adi_initComponents [_adi_initComponents]' referenced from '.\Release\UltraSonic.doj'
'mtbl_clear(medianTable *) [_mtbl_clear__FP11medianTable]' referenced from '.\Release\UltraSonic.doj'
'mtbl_getMedian(medianTable *) [_mtbl_getMedian__FP11medianTable]' referenced from '.\Release\UltraSonic.doj'
'mtbl_insert(medianTable *, float) [_mtbl_insert__FP11medianTablef]' referenced from '.\Release\UltraSonic.doj'
'mtbl_isFull(medianTable *) [_mtbl_isFull__FP11medianTable]' referenced from '.\Release\UltraSonic.doj'

Linker finished with 1 error
cc3089: fatal error: Link failed
Tool failed with exit/exception code: 1.
Build was unsuccessful.

Ok, fine. Those things live in:

#include "UltraSonic/MedianTable.h"
#include "UltraSonic/system/adi_initialize.h"

... and "UltraSonic/system/adi_initialize.h" #includes </sys/platform.h> that #includes  <sys/_adi_platform.h>

So I'll change the code to mention

#include "MedianTable.h"
#include "adi_initialize.h"

...And change the source code in the right places. (What could possibly go wrong!)

Unfortunately, this doesn't work either. The error looks exactly the same? I'd expect it to maybe be confused over </sys/platform.h> and <sys/_adi_platform.h>, but no, I still get:

[Error li1021] The following symbols referenced in processor 'p0' could not be resolved:
'adi_initComponents [_adi_initComponents]' referenced from '.\Release\UltraSonic.doj'
'mtbl_clear(medianTable *) [_mtbl_clear__FP11medianTable]' referenced from '.\Release\UltraSonic.doj'
'mtbl_getMedian(medianTable *) [_mtbl_getMedian__FP11medianTable]' referenced from '.\Release\UltraSonic.doj'
'mtbl_insert(medianTable *, float) [_mtbl_insert__FP11medianTablef]' referenced from '.\Release\UltraSonic.doj'
'mtbl_isFull(medianTable *) [_mtbl_isFull__FP11medianTable]' referenced from '.\Release\UltraSonic.doj'

Linker finished with 1 error
cc3089: fatal error: Link failed
Tool failed with exit/exception code: 1.
Build was unsuccessful.

Any suggestions?