[AGENT++] Compiling the SNMP++ library using QT and QT Creator

Don Radick dradick at comcast.net
Wed Jun 3 19:29:05 CEST 2009


On Wed, 2009-05-27 at 15:08 +0300, Parker wrote:

> Hello, 
> I want to share my experience with compiling SNMP++ using QT and QT Creator. 
> I succeeded compiling it, but there were several problems and I'm not sure if my solution is correct. 
> 
> I have removed the SNMPv3 support and tried to compile it, because I don't need SNMPv3. 
> 

Parker,

My advice is to not fight the snmp_pp build system.
download, compile and install the crypto libs, leave snmpv3 and threads
enabled.
build and install snmp++, compile and run the console examples.

Sooner or later you will want or need snmpv3, and QT threads work great
with snmp++.

if that works, and only then, go into the QtExample directory.
If you have QT4 installed (and you should, it's much better than QT3),
run the utility
in the QtExample directory "qt3to4" and let it convert all the files to
QT4.
Then you should be able to compile and run the QT example program.

I'm runnning on Ubuntu Intrepid, but I think you are running a GNU
environment 
by using mingw under XP.

You can also use SUN Virtualbox and run a real linux VM inside your XP
box.

regards,
-Don



More information about the AGENTPP mailing list