Sharc ADSP 21364
This is a crazy question about libraries. visual studio 5.1.2
1/ I have created a simple project, A
2/ I have created a simple library, B
3/ In the project I have opened the ldf file and added the B.dlb file and updated dependencies. this entry turns from grey to the correct purple color.
4/ In the project A I have included the B.h file correctly.
5/ I have called the library function from the A main routine and complied OK
6/ When linking I get this error
[Error li1021] The following symbols referenced in processor 'P0' could not be resolved: 'myFunction() [_myFunction__Fv]' referenced from '.\Release\main.doj'
Any clues why this is happening would be appreciated as I have followed precisely the instructions in the help file. My conclusion is that there is a piece of vital information missing
If there is a video tutorial that would be excellent.
When using C code - whether it is in C source files or C libraries - from C++ code, you have to inform the build tools that these functions are in C, so that it knows how to call them. When a C source…
Many thanks for the advise. As read, it became obvious as I do this with my arm routines anyway!
Again many thanks
Sent from my HTC