pfc-howtos icon indicating copy to clipboard operation
pfc-howtos copied to clipboard

wago 750-8212 image build

Open zusa-fedakar-bringme opened this issue 1 year ago • 0 comments

Hello community, I followed pfc-sdk readme, and managed to build .c files through the ptxdist and the toolchain. however when I add code pieces that contains external libraries such as

#include <sqlite3.h>
#include <wago/retain.h>
#include <memory.h>
#include <dal/adi_application_interface.h>
#include <ldkc_kbus_information.h>
#include <ldkc_kbus_register_communication.h>

I got errors like for example for retain (even I put binaries and headers and link them in the makefile)

** undefined_reference wrv_close etc (and more of these errors for other methods that been used in the source code)

The documentation is not really clear to me. Should I be fluent in ptxdist? to compile c files that will run in wago embedded linux environment? Not sure where to start? I can share more info if needed but I dont know where to start. thanks.

zusa-fedakar-bringme avatar Apr 04 '24 06:04 zusa-fedakar-bringme