A typical project for one of the 660x RLP examples needs to include the following source code files:
../OSinterface/osiBus.cpp - generic register I/O interface used by the example code
../OSinterface/Linux/osiUserCode.cpp - OS specific adapter used by osiBus to access registers on the hardware in the specific OS
../ChipObjects/tTIO.cpp - abstraction of the chips and registers on the hardware into C++ classes and properties
and one of the examples files, e.g.
../Examples/gpct_ex1.cpp - implementation of a specific operation, including all initialization of the hardware
(The same is true for the examples for other boards although the names of the ChipObject and examples will be different.)
Each of these files needs to be compiled to give y
ou object files, and then all of the object files need to be linked together to build an application (executable binary). The errors you list seem to indicate that you are not using all of these files.
There is more information on the RLP example architecture in the attached PDF document.
authored byChristian L, CLA
Systems Engineering Manager - Automotive and Transportation
NI - Austin, TX

