nv-l
[Top] [All Lists]

Re: [nv-l] Libraries to run sample C++ code

To: nv-l@lists.us.ibm.com
Subject: Re: [nv-l] Libraries to run sample C++ code
From: igastelu@unm.edu
Date: Tue, 09 Mar 2004 14:00:21 -0700
Delivery-date: Tue, 09 Mar 2004 21:11:37 +0000
Envelope-to: nv-l-archive@lists.skills-1st.co.uk
In-reply-to: <OFBB56431A.52BE962E-ON87256E52.0064A150-85256E52.006599D1@us.ibm.com>
References: <OFBB56431A.52BE962E-ON87256E52.0064A150-85256E52.006599D1@us.ibm.com>
Reply-to: nv-l@lists.us.ibm.com
Sender: owner-nv-l@lists.us.ibm.com
James, thanks.
I included the header on the file and on project->setting->libraries 
placed libmib.lib.  I could create the .exe file.

Here I answer your questions

> You are doing this on Windows, aren't you?
Yes, now I am using Visual C++ 6.0.  I am using it the firts time, my C 
programming experiences are with Borland C 3.1

> Did you not read the append I put out this morning?
Yes.  I do not what is the use of the *.dsp.

> Why are you copying and renaming the sample?  What does that
> accomplish? 
Becasue I just want the source code and create the .exe, this is a test 
I am doing for both learning visual C++ and to use the functions the NV 
libraries provide.

> And how exactly are you compiling it?
Under build-> compile (I do not know what else tell you!!!).  Then make 
exe.

> What you are missing below appear to be the h files which declare
> things 
> like OVmib_get_objid_name.
> That can be found in \usr\ov\include\ov\ovsnmpmib.h.  Those things
> you get 
> errors on will be assumed to externs when the compile is correct.
> The output must then be linked with libmib.lib for them to be
> resolved.

If I want to use the function nvSnmpBlockingGetTable I need the 
libraries (from NV programmer Guide)
 \usr\OV\lib\libov.lib
 \usr\OV\lib\nvsnmp.lib
 \usr\OV\lib\libovc.lib
 \usr\OV\lib\libovcmapi.lib
the last 2 are not in my lib directory, how do I specify them???

The final goal is to retrive the Forwarding table my switches, and use 
it to know where things are connected.

<Prev in Thread] Current Thread [Next in Thread>

Archive operated by Skills 1st Ltd

See also: The NetView Web