Sorry about that, I meant to leave the coder list in.

build.bat opens a window then closes immediately, it is not open long enough to 
show an error.

What do you mean build libsnmp and how would I do that? I just put the file 
folder in as one of the external dependencies under win32.

You mention making my own project, are there premade projects that work? I 
tried opening up the snmpget project under win32 and I get the same errors as 
when I made my own.

I know my way around, but I am still relatively new, thank you for your 
patience.
-Ryan

-----Original Message-----
From: Bart Van Assche [mailto:bvanass...@acm.org] 
Sent: Thursday, July 26, 2018 10:48 AM
To: Ryan Sharpe <rsha...@nanoracks.com>; net-snmp-coders 
<net-snmp-coders@lists.sourceforge.net>
Subject: Re: Simple Application Visual Studio 2015

Hello Ryan,

Please keep the net-snmp-coders mailing list in Cc when replying.

Which error message was reported when you ran build.bat?

Since you created a Visual Studio project yourself: did you build libsnmp as a 
static library or as a DLL? In the latter case, have you noticed that 
NETSNMP_DLL has to be defined when building libsnmp to enable DLL exporting of 
the exported libsnmp functions?

Bart.

On 07/25/18 07:19, Ryan Sharpe wrote:
> Running build.bat did not work and wouldn't run. After putting the 
> code into Visual Studio, I put the include, snmplib, and win32 file folders 
> into external dependencies and used the main build function in Visual Studio.
> 
> I hope this gives some more context. I feel like the setup shouldn't be this 
> hard and the Simple Application should be simple, I don't know what I'm doing 
> wrong.
> 
> Thank you,
> Ryan
> 
> -----Original Message-----
> From: Bart Van Assche [mailto:bvanass...@acm.org]
> Sent: Tuesday, July 24, 2018 11:39 PM
> To: Ryan Sharpe <rsha...@nanoracks.com>; 
> net-snmp-coders@lists.sourceforge.net
> Subject: Re: Simple Application Visual Studio 2015
> 
> How did you build Net-SNMP? Did you use win32/build.bat or did you use 
> another approach? If you did use win32/build.bat, did you build libsnmp as a 
> static library or as a DLL?
> 
> Bart.
> 

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to