I have followed the instructions in :
(Support Development Tools Supported Tools Version: 11.11)
and appear to have successfully built library "libaplc.a" from .c source files.
However when I try to use the library in another project "Add_aplc", it is not found :
Code: Select all
**** Build of configuration Debug for project Add_aplc ****
xmake CONFIG=Debug all
"Updating eclipse config"
No modules used.
cd ./.build_Debug && xcc -target="XC-1A" -l aplc ..\.\.build_Debug\src\add.c.o ..\.\.build_Debug\src\Add_aplc.xc.o -o "..\bin\Debug\Add_aplc_Debug.xe"
xmap: Error: Failed to find library "libaplc.a".
xmake[1]: *** [bin/Debug/Add_aplc_Debug.xe] Error 1
xmake: *** [bin/Debug/Add_aplc_Debug.xe] Error 2
Code: Select all
-l aplc
I have placed the library in both Add_aplc/lib and the Add_aplc/src files and specified lib and src in the library directive. But it is still not found.
Can anyone suggest what I am doing wrong ?
cheers,
Beau