Michael George Hart
2016-05-19 23:27:38 UTC
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*
*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
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..."*
*"...Hope is what makes us strong. It is why we are here. It is what we
fight with when all is lost..."*