How to use SNMP++ and AGENT++

I am a newbie to snmp++ and trying to evaluate the SNMP++ library for use. I do not have a clear idea how to compile and use the libraries to create a SNMP agent that can reply to snmp requests. And going through the documents and articles I am confused between SNMP++ and AGENT++ that we see in the downloads section. This question might sound silly but what is the difference between SNMP++ and AGENT++. If I am trying to implement an agent will I need to use both SNMP++ and AGENT++ or using any one is sufficient.
Any Input is appreciated to move forward with this, Thanks in advance.

For an agent, you need both AGENT++ and SNMP++. In the AGENT++ package you will find readme for building with autoconf.
In the examples directory there ate sample agents.

I have an embedded application running in a PPC Linux based controller and I want to enable my application to respond to the snmp requests made by the manager. I am unable to find any documentation that can guide the steps to use AGENT++ to perform this task. Any suggestions for this?

I have been able to generate sample code using AgenPro for some scalar OID’s. How can I use it with the agent so that it can respond to the snmp requests with the values generated by the application?
The flow is not very clear from the documentations. Please suggest steps to move forward.

Do you have compiled and running the agent with your generated sources already?

If not, then please copy the generated files to the agenpro/agent/src and AgenPro/agent/include directories of the AGENT++ distribution (or AgentX++).

If yes, then please follow the examples/documentation available in the AGENT++v2.x documentation PDF:
Although the API does not 100% match to what is available with AGENT++v4.x but the basics are still valid.
For implementing correct multi-threading protection see also:
What is the lock order for Mib objects to protected them multi-threaded agent? - AGENT++ - AGENTPP

Hope this helps.

Best regards,

Yes I got the steps and generated the code was also able t compile it. After comipling the agent++ how can we run the agent on any system?
Thank you.

Run the ./agent executable from build directory.

I cannot find any build or bin directory in the agent++ - 4.5.1 package?

There is no bin directory created. The binaries are generated into the src directory by default.