<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:"Palatino Linotype";
panose-1:2 4 5 2 5 5 5 3 3 4;}
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
span.EmailStyle17
{mso-style-type:personal-reply;
font-family:"Palatino Linotype","serif";
color:black;}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-ZA link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'>Hi Joe and Tobi,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'>Thank you for your in depth engagement and effective confirmation that despite any/many mistakes I made with my compile efforts the deck was stacked against my feeble c and perl skills. As a result of my efforts back in June I have VS2015 environment in place and, of course, some interest in achieving a successful compile against latest perl and VS releases. <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'>What can I do to help?<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'>Regards,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:black'>Colin<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Palatino Linotype","serif";color:black'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Joe Kane [mailto:jkane@mail.com] <br><b>Sent:</b> Thursday, August 18, 2016 2:53 PM<br><b>To:</b> Colin Franco<br><b>Cc:</b> 'sholden'; rrd-users@lists.oetiker.ch<br><b>Subject:</b> Re: [rrd-users] Compiling RRDTool 1.6.0 and RRDs.pm for Windows<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><div><div><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif"'>It looks like the tarball distribution for both the 1.5.x and 1.6.x releases of RRDTOOL is missing several files from the WIN32 directory. According to the release notes, For 1.5.x and 1.6x the win32 build process was reworked, and apparently has been configured with VS2013. I hadn't previously tried to build these branches (and I have VS2008).<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif"'> <o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif"'>For the error that you have noted, the compiler is complaining because files referenced in the MAkefile.MSC(like *.def files, *.rc files etc for the dlls and resources) are just missing from the win32 directory, as are the VS project/solution (GUI build) files. When I took a look at the 1.6.x repository on GIT, those files are present.<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif"'> <o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif"'>So I grabbed the relevant files from GIT /win32/ and tried to build for 1.6.x. The Gui build based VS files (rrd.sln etc) are written by VS2013 and VS2008 won't load them (not backward compatible). So I tried to build right from the Makefile.msc again. It gets past this initial error (d"on't know how to make rddtool-4.def"), but I had to make some some tweaks for VS2008 versus VS2013 (Rc.exe in 2008 doesn't support the /nologo flag, this was added after vs2008).<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif"'> <o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif"'>I have run into compiler errors though and haven't sorted through them all. Some are clearly related to VS2013 assumption. For example, VS2008 is not 'C99' compliant so doesn't include STDINT.h, (which is referenced in one of the source files in 1.6.x). I know that VS2013 is C99 compliant and so has STDINT.h., but VS2008 does not. I sorted this one out by sourcing STDINT.h.<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif"'> <o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif"'>There are other uglier compile errors for coercion pointer issues (compiler wants an explicit cast) and syntax error issues in rrd_client.c . These may be due to other setting/compiler differences between 2008 and 2013 but probably of out my hack and slash paygrade.<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif"'> <o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif"'>I went back to my last successful build (1.4.8) on win32, and it mostly built without too much issue (one small rrd_config.h touch, I think) on VS2008. It also didn't have a build structured like above, so had less extra VS support file dependences. The 1.4.x tarballs all include the full complement of win32 files.<o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif"'> <o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif"'>So, I think for one, the tarball dist needs to be looked at. I will probably keep plodding through the compile attempt, but maybe others more versed can take a look and comment relative to a successful win32 build. <o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif"'> <o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif"'> <o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif"'> <o:p></o:p></span></p></div><div><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif"'> <o:p></o:p></span></p><div style='border:none;border-left:solid #C3D9E5 1.5pt;padding:0in 0in 0in 8.0pt;margin-left:7.5pt;margin-top:7.5pt;margin-right:3.75pt;margin-bottom:3.75pt;word-wrap: break-word;-webkit-nbsp-mode: space;-webkit-line-break: after-white-space' name=quote><div style='margin-bottom:7.5pt'><p class=MsoNormal><b><span style='font-size:9.0pt;font-family:"Verdana","sans-serif"'>Sent:</span></b><span style='font-size:9.0pt;font-family:"Verdana","sans-serif"'> Monday, June 13, 2016 at 12:33 PM<br><b>From:</b> "Colin Franco" <<a href="mailto:colin@digitalphoenix.co.zw">colin@digitalphoenix.co.zw</a>><br><b>To:</b> 'sholden' <<a href="mailto:sholden@asc.edu">sholden@asc.edu</a>>, <a href="mailto:rrd-users@lists.oetiker.ch">rrd-users@lists.oetiker.ch</a><br><b>Subject:</b> Re: [rrd-users] Compiling RRDTool 1.6.0 and RRDs.pm for Windows<o:p></o:p></span></p></div><div name=quoted-content><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Verdana","sans-serif"'>Perhaps my mail was unclear. At the point when I get that error I am also using C++. It is comforting to know that at least one other person has reached the same wall as me.<br><br>Regards,<br><br>Colin<br><br>-----Original Message-----<br>From: rrd-users [<a href="mailto:rrd-users-bounces+colin=digitalphoenix.co.zw@lists.oetiker.ch">mailto:rrd-users-bounces+colin=digitalphoenix.co.zw@lists.oetiker.ch</a>] On Behalf Of sholden<br>Sent: Monday, June 13, 2016 3:58 PM<br>To: <a href="mailto:rrd-users@lists.oetiker.ch">rrd-users@lists.oetiker.ch</a><br>Subject: Re: [rrd-users] Compiling RRDTool 1.6.0 and RRDs.pm for Windows<br><br>Colin, thanks for asking. I am also trying to compile the RRDTool 1.6.0 for Windows and have gotten stuck at the error “don't know how to make './win32/librrd-4.def'”. Any help from those answering this question is appreciated (although I am trying to use C++ instead of PERL).<br><br><br><br>--<br>View this message in context: <a href="http://rrd-mailinglists.937164.n2.nabble.com/Compiling-RRDTool-1-6-0-and-RRDs-pm-for-Windows-tp7583374p7583375.html" target="_blank">http://rrd-mailinglists.937164.n2.nabble.com/Compiling-RRDTool-1-6-0-and-RRDs-pm-for-Windows-tp7583374p7583375.html</a><br>Sent from the RRDtool Users Mailinglist mailing list archive at Nabble.com.<br><br>_______________________________________________<br>rrd-users mailing list<br><a href="mailto:rrd-users@lists.oetiker.ch">rrd-users@lists.oetiker.ch</a><br><a href="https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users" target="_blank">https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users</a><br><br>_______________________________________________<br>rrd-users mailing list<br><a href="mailto:rrd-users@lists.oetiker.ch">rrd-users@lists.oetiker.ch</a><br><a href="https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users" target="_blank">https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users</a><o:p></o:p></span></p></div></div></div></div></div></div></body></html>