Building Kdevelop 4.7.3 on Cygwin --Total success!!!!

Michael George Hart michael.george.hart at gmail.com
Tue May 24 18:51:52 BST 2016


Now to throw some bad news on my success.

KDE under cygwin is inherently unstable. Therefore Kdevelop 4.7.3 is also
unstable

I noticed this when I wanted to change the editors configuration on the
Kdevelop
This system Kdevelop simply locked up.

I even started the test kate and kwrite by starting their own menu for
editor configuration. ... kate consistently locked up.

I guess the day when KDE become stable under cygwin we will all happily be
able to use kdevelop

Later
On May 19, 2016 7:27 PM, "Michael George Hart" <
michael.george.hart at gmail.com> wrote:

> 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
>
> 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;
> Those people who are smart that me about this please fill in the gaps if
> you can.
>
> 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
>
> Good luck
>
> *Building Kdev**platform* *1**.7.3*
>
> *EDIT*
> *view ~/Documents/4.7.3/kdevelop-4.7.3/kdevplatform-1.7.3/util/spinlock.h*
> extern "C" int gettimeofday(struct timeval *tv, struct timezone *tz);
>
>     #define timersub(tvp, uvp,
> vvp)                                         \
>         do {                                                            \
>                 (vvp)->tv_sec = (tvp)->tv_sec - (uvp)->tv_sec;          \
>                 (vvp)->tv_usec = (tvp)->tv_usec - (uvp)->tv_usec;       \
>                 if ((vvp)->tv_usec < 0) {                               \
>                         (vvp)->tv_sec--;                                \
>                         (vvp)->tv_usec += 1000000;                      \
>                 }                                                       \
>         } while (0)
>
> *View **/usr/include/kde4/qtest_kde.h*
> extern "C" int setenv(const char *name, const char *value, int overwrite);
> extern "C" int unsetenv(const char *name)
>
> *cmake **–D **KDE_HAVE_GCC_VISIBILITY=NO** ../*
>
>
> *Building Kdevelop 4.7.3*
>
> *Change in the following four file #include <QString> to #include
> <qstring.h>*
> view
> ~/Documents/4.7.3/kdevelop-4.7.3/debuggers/gdb/printers/tests/qstring.cpp
> view
> ~/Documents/4.7.3/kdevelop-4.7.3/debuggers/gdb/printers/tests/qmapstring.cpp
> view
> ~/Documents/4.7.3/kdevelop-4.7.3/debuggers/gdb/printers/tests/qlistcontainer.cpp
> view
> ~/Documents/4.7.3/kdevelop-4.7.3/debuggers/gdb/printers/tests/qmapstringbool.cpp
>
> *cmake **–D **KDE_HAVE_GCC_VISIBILITY=NO** ../*
>
> *make **fails to build **and get some errors*; do the following edits
>
> *This fil**e* *“*
> *~/Documents/4.7.3/kdevelop-4.7.3/build/kdeintegration/kdeprovider/kdevkdeprovider_automoc.cpp*
> *”** gets generated with multiple copies of **“**moc_kdeprojectsmodel.cpp*
>> So edit
> view
> ~/Documents/4.7.3/kdevelop-4.7.3/build/kdeintegration/kdeprovider/moc_kdeprojectsmodel.cpp
> place the following as the very first two lines
> #ifndef MEMEME
> #define MEMEME
> and #endif as the very last line
>
> *make install*
>
> *kbuildsycoca**4*
>
> *kde4-config.exe --path data*
> >/home/u436735/.kde4/share/apps/:/usr/share/kde4/apps/
>
> *cd **~/**.kde4/share/apps/*
>
> *ln -s /usr/local/share/kde4/apps/* .*
>
> You are done and ready to run kdevelop
>
> 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
>
> Thanks again
> Michael
>
> --
> *"...Hope is what makes us strong. It is why we are here. It is what we
> fight with when all is lost..."*
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop/attachments/20160524/990b241a/attachment.html>


More information about the KDevelop mailing list