<p dir="ltr">Now to throw some bad news on my success.</p>
<p dir="ltr">KDE under cygwin is inherently unstable. Therefore Kdevelop 4.7.3 is also unstable</p>
<p dir="ltr">I noticed this when I wanted to change the editors configuration on the Kdevelop<br>
This system Kdevelop simply locked up. </p>
<p dir="ltr">I even started the test kate and kwrite by starting their own menu for editor configuration. ... kate consistently locked up.</p>
<p dir="ltr">I guess the day when KDE become stable under cygwin we will all happily be able to use kdevelop</p>
<p dir="ltr">Later</p>
<div class="gmail_quote">On May 19, 2016 7:27 PM, "Michael George Hart" <<a href="mailto:michael.george.hart@gmail.com">michael.george.hart@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><font face="Lucida Console" size="2"><span style="font-size:9pt"><div>This is how I got Kdevelop 4.7.3 seemly fully functional under the latest version of Cygwin that I obtained about 3 weeks ago --for now, we will forget about kdevelop 5.x until the default version of CygWin has the correct version KF5<br></div>
<div> </div>
<div>I offer no explanation at this time other than the fact this is what I had to do to make kdevelop 4.7.3 work under CygWin;</div></span></font><font face="Lucida Console" size="2"><span style="font-size:9pt"><div>Those people who are smart that me about this please fill in the gaps if you can.</div></span></font><font face="Lucida Console" size="2"><span style="font-size:9pt"></span></font><font face="Lucida Console" size="2"><span style="font-size:9pt">
<div><font face="Calibri" size="2"><span style="font-size:11pt"> </span></font></div>
<div>NOTE: during the build some file use “bcopy” and bzero which I 
replaced with memset and memcpy. I did not note what file it was; 
however should you get an error after following my process stated above,
 the source of the errors will most likely bzero and
bcopy</div><div><font face="Calibri" size="2"><span style="font-size:11pt"> </span></font></div>
<div>Good luck </div>
<div><font face="Calibri" size="2"><span style="font-size:11pt"> </span></font></div>
<div><b><u>Building Kdev</u></b><b><u>platform</u></b><b><u> </u></b><b><u>1</u></b><b><u>.7.3</u></b></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt"> </span></font></div>
<div><b><u>EDIT</u></b></div>
<div><b><u>view ~/Documents/4.7.3/kdevelop-4.7.3/kdevplatform-1.7.3/util/spinlock.h</u></b></div>
<div style="padding-left:36pt"><font face="Calibri" size="2"><span style="font-size:11pt">extern "C" int gettimeofday(struct timeval *tv, struct timezone *tz);</span></font></div>
<div style="padding-left:36pt"><font face="Calibri" size="2"><span style="font-size:11pt"> </span></font></div>
<div style="padding-left:36pt"><font face="Calibri" size="2"><span style="font-size:11pt">    #define timersub(tvp, uvp, vvp)                                         \</span></font></div>
<div style="padding-left:36pt"><font face="Calibri" size="2"><span style="font-size:11pt">        do {                                                            \</span></font></div>
<div style="padding-left:36pt"><font face="Calibri" size="2"><span style="font-size:11pt">                (vvp)->tv_sec = (tvp)->tv_sec - (uvp)->tv_sec;          \</span></font></div>
<div style="padding-left:36pt"><font face="Calibri" size="2"><span style="font-size:11pt">                (vvp)->tv_usec = (tvp)->tv_usec - (uvp)->tv_usec;       \</span></font></div>
<div style="padding-left:36pt"><font face="Calibri" size="2"><span style="font-size:11pt">                if ((vvp)->tv_usec < 0) {                               \</span></font></div>
<div style="padding-left:36pt"><font face="Calibri" size="2"><span style="font-size:11pt">                        (vvp)->tv_sec--;                                \</span></font></div>
<div style="padding-left:36pt"><font face="Calibri" size="2"><span style="font-size:11pt">                        (vvp)->tv_usec += 1000000;                      \</span></font></div>
<div style="padding-left:36pt"><font face="Calibri" size="2"><span style="font-size:11pt">                }                                                       \</span></font></div>
<div style="padding-left:36pt"><font face="Calibri" size="2"><span style="font-size:11pt">        } while (0)</span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt"> </span></font></div>
<div><b><u>View </u></b><b><u>/usr/include/kde4/qtest_kde.h</u></b></div>
<div style="padding-left:36pt"><font face="Calibri" size="2"><span style="font-size:11pt">extern "C" int setenv(const char *name, const char *value, int overwrite);</span></font></div>
<div style="padding-left:36pt"><font face="Calibri" size="2"><span style="font-size:11pt">extern "C" int unsetenv(const char *name)</span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt"> </span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt"><b><u>cmake </u></b><b><u>–D </u></b><b><u>KDE_HAVE_GCC_VISIBILITY=NO</u></b><b><u> ../</u></b></span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt"> </span></font></div>
<div><b><u><br>Building Kdevelop 4.7.3</u></b></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt"> </span></font></div>
<div><b><u>Change in the following four file #include <QString> to #include <qstring.h></u></b></div>
<div style="padding-left:36pt">view ~/Documents/4.7.3/kdevelop-4.7.3/debuggers/gdb/printers/tests/qstring.cpp</div>
<div style="padding-left:36pt">view ~/Documents/4.7.3/kdevelop-4.7.3/debuggers/gdb/printers/tests/qmapstring.cpp</div>
<div style="padding-left:36pt">view ~/Documents/4.7.3/kdevelop-4.7.3/debuggers/gdb/printers/tests/qlistcontainer.cpp</div>
<div style="padding-left:36pt">view ~/Documents/4.7.3/kdevelop-4.7.3/debuggers/gdb/printers/tests/qmapstringbool.cpp</div>
<div><font face="Calibri" size="2"><span style="font-size:11pt"> </span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt"><b><u>cmake </u></b><b><u>–D </u></b><b><u>KDE_HAVE_GCC_VISIBILITY=NO</u></b><b><u> ../</u></b></span></font></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt"> </span></font></div>
<div><b><u>make </u></b><b><u>fails to build </u></b><b><u>and get some errors</u></b>; do the following edits</div>
<div><font face="Calibri" size="2"><span style="font-size:11pt"> </span></font></div>
<div><b><u>This fil</u></b><b><u>e</u></b><b><u> </u></b><b><u>“</u></b><b><u>~/Documents/4.7.3/kdevelop-4.7.3/build/kdeintegration/kdeprovider/kdevkdeprovider_automoc.cpp</u></b><b><u>”</u></b><b><u> gets generated with multiple copies of </u></b><b><u>“</u></b><b><u>moc_kdeprojectsmodel.cpp</u></b>”</div>
<div style="padding-left:36pt">So edit</div>
<div style="padding-left:72pt">view  ~/Documents/4.7.3/kdevelop-4.7.3/build/kdeintegration/kdeprovider/moc_kdeprojectsmodel.cpp</div>
<div style="padding-left:36pt">place the following as the very first two lines</div>
<div style="padding-left:36pt">#ifndef MEMEME  </div>
<div style="padding-left:36pt">#define MEMEME</div>
<div style="padding-left:36pt">and #endif as the very last line</div>
<div><font face="Calibri" size="2"><span style="font-size:11pt"> </span></font></div>
<div><b><u>make install</u></b></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt"> </span></font></div>
<div><b><u>kbuildsycoca</u></b><b><u>4</u></b></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt"> </span></font></div>
<div><b><u>kde4-config.exe --path data</u></b></div>
<div>>/home/u436735/.kde4/share/apps/:/usr/share/kde4/apps/</div>
<div><font face="Calibri" size="2"><span style="font-size:11pt"> </span></font></div>
<div><b><u>cd </u></b><b><u>~/</u></b><b><u>.kde4/share/apps/</u></b></div>
<div><font face="Calibri" size="2"><span style="font-size:11pt"> </span></font></div>
<div><b><u>ln -s /usr/local/share/kde4/apps/* .</u></b></div> 
<div><font face="Calibri" size="2"><span style="font-size:11pt"></span></font></div></span></font>You are done and ready to run kdevelop<br><br></div>All feedback or thoughts are welcome; for you can see I took the bruteforce approach to get what I need. Something more elegant would be nice<br><br></div>Thanks again<br></div>Michael <br clear="all"><div><div><div><div><br>-- <br><div><span style="font-family:"lucida grande",tahoma,verdana,arial,sans-serif;font-size:13px;line-height:17px;background-color:rgb(255,255,255)"><i><b><font color="#ff0000">"...Hope is what makes us strong. It is why we are here. It is what we fight with when all is lost..."</font></b></i></span></div>
</div></div></div></div></div>
</blockquote></div>