<p dir="ltr">As I said before<br>
This is a corporate Windows environment with no local admin rights on our desktops with limited access to the internet.</p>
<p dir="ltr">Unless you guys can provide a self contained package that needs no access to the internet the mrthod to get kdevelop 5 is pretty much useless to most corporate developers wanting to us i</p>
<div class="gmail_quote">On May 24, 2016 2:10 PM, "Kevin Funk" <<a href="mailto:kfunk@kde.org">kfunk@kde.org</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Tuesday, May 24, 2016 1:51:52 PM CEST Michael George Hart wrote:<br>
> Now to throw some bad news on my success.<br>
><br>
> KDE under cygwin is inherently unstable. Therefore Kdevelop 4.7.3 is also<br>
> unstable<br>
<br>
Heya,<br>
<br>
As I said before: I recommend trying KDevelop 5 (again). KDevelop 5 + its<br>
dependent libraries (Qt5, KF5) have undergone *way* more testing under Windows<br>
than the 4.x series had.<br>
<br>
Can't help you a lot with KDevelop 4.x.<br>
<br>
Cheers,<br>
Kevin<br>
<br>
> I noticed this when I wanted to change the editors configuration on the<br>
> Kdevelop<br>
> This system Kdevelop simply locked up.<br>
><br>
> I even started the test kate and kwrite by starting their own menu for<br>
> editor configuration. ... kate consistently locked up.<br>
><br>
> I guess the day when KDE become stable under cygwin we will all happily be<br>
> able to use kdevelop<br>
><br>
> Later<br>
> On May 19, 2016 7:27 PM, "Michael George Hart" <<br>
><br>
> <a href="mailto:michael.george.hart@gmail.com">michael.george.hart@gmail.com</a>> wrote:<br>
> > This is how I got Kdevelop 4.7.3 seemly fully functional under the latest<br>
> > version of Cygwin that I obtained about 3 weeks ago --for now, we will<br>
> > forget about kdevelop 5.x until the default version of CygWin has the<br>
> > correct version KF5<br>
> ><br>
> > I offer no explanation at this time other than the fact this is what I had<br>
> > to do to make kdevelop 4.7.3 work under CygWin;<br>
> > Those people who are smart that me about this please fill in the gaps if<br>
> > you can.<br>
> ><br>
> > NOTE: during the build some file use “bcopy” and bzero which I replaced<br>
> > with memset and memcpy. I did not note what file it was; however should<br>
> > you<br>
> > get an error after following my process stated above, the source of the<br>
> > errors will most likely bzero and bcopy<br>
> ><br>
> > Good luck<br>
> ><br>
> > *Building Kdev**platform* *1**.7.3*<br>
> ><br>
> > *EDIT*<br>
> > *view ~/Documents/4.7.3/kdevelop-4.7.3/kdevplatform-1.7.3/util/spinlock.h*<br>
> > extern "C" int gettimeofday(struct timeval *tv, struct timezone *tz);<br>
> ><br>
> > #define timersub(tvp, uvp,<br>
> ><br>
> > vvp) \<br>
> ><br>
> > do { \<br>
> ><br>
> > (vvp)->tv_sec = (tvp)->tv_sec - (uvp)->tv_sec; \<br>
> > (vvp)->tv_usec = (tvp)->tv_usec - (uvp)->tv_usec; \<br>
> > if ((vvp)->tv_usec < 0) { \<br>
> ><br>
> > (vvp)->tv_sec--; \<br>
> > (vvp)->tv_usec += 1000000; \<br>
> ><br>
> > } \<br>
> ><br>
> > } while (0)<br>
> ><br>
> > *View **/usr/include/kde4/qtest_kde.h*<br>
> > extern "C" int setenv(const char *name, const char *value, int overwrite);<br>
> > extern "C" int unsetenv(const char *name)<br>
> ><br>
> > *cmake **–D **KDE_HAVE_GCC_VISIBILITY=NO** ../*<br>
> ><br>
> ><br>
> > *Building Kdevelop 4.7.3*<br>
> ><br>
> > *Change in the following four file #include <QString> to #include<br>
> > <qstring.h>*<br>
> > view<br>
> > ~/Documents/4.7.3/kdevelop-4.7.3/debuggers/gdb/printers/tests/qstring.cpp<br>
> > view<br>
> > ~/Documents/4.7.3/kdevelop-4.7.3/debuggers/gdb/printers/tests/qmapstring.c<br>
> > pp view<br>
> > ~/Documents/4.7.3/kdevelop-4.7.3/debuggers/gdb/printers/tests/qlistcontain<br>
> > er.cpp view<br>
> > ~/Documents/4.7.3/kdevelop-4.7.3/debuggers/gdb/printers/tests/qmapstringbo<br>
> > ol.cpp<br>
> ><br>
> > *cmake **–D **KDE_HAVE_GCC_VISIBILITY=NO** ../*<br>
> ><br>
> > *make **fails to build **and get some errors*; do the following edits<br>
> ><br>
> > *This fil**e* *“*<br>
> > *~/Documents/4.7.3/kdevelop-4.7.3/build/kdeintegration/kdeprovider/kdevkde<br>
> > provider_automoc.cpp* *”** gets generated with multiple copies of<br>
> > **“**moc_kdeprojectsmodel.cpp* ”<br>
> > So edit<br>
> > view<br>
> > ~/Documents/4.7.3/kdevelop-4.7.3/build/kdeintegration/kdeprovider/moc_kdep<br>
> > rojectsmodel.cpp place the following as the very first two lines<br>
> > #ifndef MEMEME<br>
> > #define MEMEME<br>
> > and #endif as the very last line<br>
> ><br>
> > *make install*<br>
> ><br>
> > *kbuildsycoca**4*<br>
> ><br>
> > *kde4-config.exe --path data*<br>
> ><br>
> > >/home/u436735/.kde4/share/apps/:/usr/share/kde4/apps/<br>
> ><br>
> > *cd **~/**.kde4/share/apps/*<br>
> ><br>
> > *ln -s /usr/local/share/kde4/apps/* .*<br>
> ><br>
> > You are done and ready to run kdevelop<br>
> ><br>
> > All feedback or thoughts are welcome; for you can see I took the<br>
> > bruteforce approach to get what I need. Something more elegant would be<br>
> > nice<br>
> ><br>
> > Thanks again<br>
> > Michael<br>
> ><br>
> > --<br>
> > *"...Hope is what makes us strong. It is why we are here. It is what we<br>
> > fight with when all is lost..."*<br>
<br>
<br>
--<br>
Kevin Funk | <a href="mailto:kfunk@kde.org">kfunk@kde.org</a> | <a href="http://kfunk.org" rel="noreferrer" target="_blank">http://kfunk.org</a></blockquote></div>