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

Kevin Funk kfunk at kde.org
Tue May 24 23:09:23 BST 2016


On Tuesday, May 24, 2016 2:19:10 PM CEST Michael George Hart wrote:
> As I said before
> This is a corporate Windows environment with no local admin rights on our
> desktops with limited access to the internet.
> 
> 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

FTR:

I've zipped up my KDevelop installation folder -- which works just fine on 
another machine I have access to.

Please try:
 http://krf.kollide.net/files/work/kdevelop/KDevelop-x64-setup-5.0-20160502.7z

Unpack, run bin\kdevelop.exe.

Please report back!

Note: You might need to install the MSVC2015 VC runtime yourself

Cheers,
Kevin

> 
> On May 24, 2016 2:10 PM, "Kevin Funk" <kfunk at kde.org> wrote:
> > On Tuesday, May 24, 2016 1:51:52 PM CEST Michael George Hart wrote:
> > > Now to throw some bad news on my success.
> > > 
> > > KDE under cygwin is inherently unstable. Therefore Kdevelop 4.7.3 is
> > > also
> > > unstable
> > 
> > Heya,
> > 
> > As I said before: I recommend trying KDevelop 5 (again). KDevelop 5 + its
> > dependent libraries (Qt5, KF5) have undergone *way* more testing under
> > Windows
> > than the 4.x series had.
> > 
> > Can't help you a lot with KDevelop 4.x.
> > 
> > Cheers,
> > Kevin
> > 
> > > 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.c
> > 
> > > > pp view
> > 
> > ~/Documents/4.7.3/kdevelop-4.7.3/debuggers/gdb/printers/tests/qlistcontain
> > 
> > > > er.cpp view
> > 
> > ~/Documents/4.7.3/kdevelop-4.7.3/debuggers/gdb/printers/tests/qmapstringbo
> > 
> > > > ol.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/kdevkde
> > 
> > > > provider_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_kdep
> > 
> > > > rojectsmodel.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..."*
> > 
> > --
> > Kevin Funk | kfunk at kde.org | http://kfunk.org


-- 
Kevin Funk | kfunk at kde.org | http://kfunk.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop/attachments/20160525/3a5ee461/attachment.sig>


More information about the KDevelop mailing list