Re: Building snmpdemoapp on Win32

"xxx yyy" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Things got worse before I tracked down the evident source of the link errors 
- Not only did my release version stop linking successfully, but suddenly, I 
could no longer successfully rebuild the Win32sdk project! (same "error 
LNK2001: unresolved external symbol __imp__optind" error, among others).

Apparently, in the course following the Readme.Win32 directions, when I 
converted the Win32sdk.dsw workspace file to a Win32sdk.sln solution (for 
use with Visual Studio 2003), I probably opened some of the library project 
files separately - when these project files were opened and the conversion 
of the library dsw files to vcproj files occurred, the newly created 
individual library project files grabbed all the projects included in 
Win32.sln and put them into the individual projects! (or something of the 
kind occurred)

- Anyway, suddenly my library vcproj projects contained all the projects 
that Win32.sln did - Even after I deleted the library vcproj files and 
double-clicked on the old .dsp file names this relationship persisted!

I finally had to temporarily rename the Win32.sln file, re - double-click 
the individual library .dsp files and create new .vcproj files (which now 
included only the local project source files) and change the Win32.sln name 
back and finally everything compiled and linked successfully again.

I then reopened the snmpdemoapp project (which included the libagent project 
for debugging purposes) and compiled and linked it successfully.
Now the demo program returns "snmpget: Timeout (no such file or directory)" 
- but that's another problem.




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.