Unable to build Event Simulation code in C++ with Windows

Unable to build Event Simulation code in C++ with Windows

Hi ,
We are try to build EventSimulation code in C++ with windows
but we are facing some issues. These are the steps we followed.

1. Taken a base files from Linux version.
2. Prepared a batch by following AgentPresenceAPI.
3. We generated related files ,by executing batch files.
4. Created workspaces and included related files.
5. Compiled the workspaces no errors but unable to build, errors are
stdsoap2.obj : error LNK2001: unresolved external symbol _namespaces
Debug/EventSimulation.exe : fatal error LNK1120: 1 unresolved externals.

Whether we are missing any thing here, we are poor in soap base code.
If previously any build the Event Simulation code in C++ with windows please provide.

Included related nsmap files also.

We are unable to solving the issue any help on this would be great help.

Thanks & Regards,

7 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Hi Ravi,

Thanks for the questions.You can find instructionsin UserGuide.pdf in the docs folder of SDK for building the sample applications in windows. The document also specifies the pre-requisites for windows environment. Please make sure that in your workspace, ThirdParty folder is included. All of the C++ code is provided in the Linux folder of the SDK as samples. Currently we do not have any EventManager sample in C++ for windows environment.

Hope this helps.

Thanks for the reply . We followed the user guide and other spcefications,
we are able to compile the code ,facing the problem while building.

We know error is something related to gSoap related.
This link given some solution, same way we followed but unable to solve the error .


Thanks & Regards,

Hi Ravi,

What version of AMT SDK are you using? In your workspace, have you included the path to the bin directory in AMT SDK? I am assuming you are using Visual Studio 2005 is that correct? Instructions in the user guide are for Microsoft Visual Studio 2003, for AMT 2.0 and 2.1 SDK.

Meanwhile, I will attempt to build the sample in C++ code here at my end in VS2003 and let you know the findings. Appreciate your patience with us.


Finally we are able to build the code . Thanks for the support.

We are using VC++7.1(Visual Studio2003), and the SDK version

Can you help us to know what Event Trigger would do.

Thanks & Regards,

Hi Ravi,

Very glad to hear that the problem is resolved. Can you share with us the solution in terms of what you had to do to address the problem?

EventTrigger WSDL in the SDK is to be used with the emulator to simulate platform eventsranging from logging theevents to alerting.

Hope thisanswers your question.

Thanks for using theforum.

Hi Ajith,

For the sake of building Event Simulation we taken a Linux code,
so we faced some porting issues like variables not found and Name Space problems.

1. Previously we taken Event Manager, Event Simulation WSDL files,
now i taken only 'Event Manager' and generated the files for building purpose.
2. We Removed the code relating to NameSpace concept in the
Linux versions of the files. with this changes we are able to build the code.

Can you Help on how to get Description of Event,
if we are not wrong EventData column of Event structer is the
corrent column, if it how to print that one.

Thanks & Regards,

Leave a Comment

Please sign in to add a comment. Not a member? Join today