First you should decide which AP you use (203, 214 etc.)
Choose the libs accordingly (libsdai_apXXX... )
They are in build\lib
stepcore, steputils, stepdai, stepeditor, base libs are always necessary to add I think.
It was a trial and error procedure for me which libs to add... finally the linker ran OK.
Use the .cc files from wherever you find it, if it solves linking.
I guess you should try compiling the included ap203min sample project first, if that works maybe develop your project step-by-step.