{"id":849,"date":"2022-08-30T15:08:12","date_gmt":"2022-08-30T15:08:12","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2013\/11\/09\/problem-about-kdevelop-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:08:12","modified_gmt":"2022-08-30T15:08:12","slug":"problem-about-kdevelop-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/problem-about-kdevelop-collection-of-common-programming-errors\/","title":{"rendered":"problem about kdevelop-Collection of common programming errors"},"content":{"rendered":"<ul>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/ccfb02d043ee468672168fb1b26f9022?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nTahsin M<br \/>\nkdevelop external-library<br \/>\nI&#8217;m trying to setup KDevelop with Gcc, but I cant get it to properly link to external libraries. I get the following error:\/home\/tahsin\/Projects\/glWrap\/build&gt; make Linking CXX executable glwrap CMakeFiles\/glwrap.dir\/main.cpp.o: In function `main&#8217;: \/home\/_\/Projects\/glWrap\/main.cpp:11: undefined reference to `glutInit&#8217; collect2: error: ld returned<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/8337ba8d0de7cc3b6d83031b6bddcb1a?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nJC2<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/3b7c016141aed3ce06ddeb7f5424a956?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nNiko Sams<br \/>\nlinker cmake kdevelop<br \/>\nAfter adding a new class to a KDevelop C++ project, linker has a problem to find exact sources (calculation.cpp in this case):&#8211; Build files have been written to: \/var\/www\/C++\/fibonacci\/build Scanning depend<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/5c8fc02a881af739969e39d7982d2b6c?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\ngenpfault<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/e1d887856e3bfd683965684ef8b7656b?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nGellweiler<br \/>\nc++ function gdb crash kdevelop<br \/>\n[ altered ] I had a very strange bug. My debugger used to crash when it calls a function that uses an std::string. I thought this was an error i\u0144 my code and at first I didn&#8217;t realized, that i<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/ab40878763a8a4b96124ba7918cf2f6e?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nkemra102<br \/>\nc++ qt kde undefined-reference kdevelop<br \/>\nI am trying to build some KDE software I am writing in KDevelop but am getting these errors:CMakeFiles\/kquickformat.dir\/deviceinfo.o: In function `QList::node_destruct(QList::Node*, QList::Node*)&#8217;: \/usr\/include\/QtCore\/qlist.h:418: undefined reference to `Solid::Device::~Device()&#8217; CMakeFiles\/kquickformat.dir\/deviceinfo.o: In function `DeviceInfo&#8217;: \/home\/kemra102\/projects\/KDE\/kquickformat\/src\/deviceinfo.cpp:<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/8337ba8d0de7cc3b6d83031b6bddcb1a?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nJC2<br \/>\nqt qt4 kdevelop moc<br \/>\nI&#8217;m trying to write a plugin for KDevelop and I&#8217;m having an interface problem. Whenever I include QInter<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/34e2de7a3a243fa68b2d3496e970e2d1?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nzergius<br \/>\nsvn protocols kdevelop<br \/>\nI have successfully installed Subversion and set up repository for my project. Then added project to repository, checked it out and opened<\/li>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/dd894948ca1a5deea293b6f2792ceb61?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nJason Plank<br \/>\nlinux ubuntu g++ automake kdevelop<br \/>\nI try to compile an application with kdevelop 3.5.4 on Ubuntu 10.04, but it fails with the following errors:checking whether make sets $(MAKE)&#8230; yes checking for g++&#8230; g++ checking whether the C++ compiler works&#8230; no configure: error: in `\/home\/nts\/wktools4&#8242;: configure: error: C++ compiler cannot create executables See `config.log&#8217; for more details. *** Exited with status: 77 ***config.log:This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake.It was created by configure, which was generated by GNU Autoconf 2.65. Invocation command line was$ \/home\/nts\/wktools4\/configure ## &#8212;&#8212;&#8212; ## ## Platform. ## ## &#8212;&#8212;&#8212; ##hostname = wktools-l-64 uname -m = x86_64 uname -r = 2.6.32-21-generic uname -s = Linux uname -v = #32-Ubuntu SMP Fri Apr 16 08:09:38 UTC 2010\/usr\/bin\/uname -p = unknown \/bin\/uname -X = unknown\/bin\/arch = unknown \/usr\/bin\/arch -k = unknown \/usr\/convex\/getsysinfo = unknown \/usr\/bin\/hostinfo = unknown \/bin\/machine = unknown \/usr\/bin\/oslevel = unknown \/bin\/universe = unknownPATH: \/usr\/local\/sbin PATH: \/usr\/local\/bin PATH: \/usr\/sbin PATH: \/usr\/bin PATH: \/sbin PATH: \/bin PATH: \/usr\/games## &#8212;&#8212;&#8212;&#8211; ## ## Core tests. ## ## &#8212;&#8212;&#8212;&#8211; ##configure:2382: checking for a BSD-compatible install configure:2450: result: \/usr\/bin\/install -c configure:2461: checking whether build environment is sane configure:2511: result: yes configure:2652: checking for a thread-safe mkdir -p configure:2691: result: \/bin\/mkdir -p configure:2704: checking for gawk configure:2720: found \/usr\/bin\/gawk configure:2731: result: gawk configure:2742: checking whether make sets $(MAKE) configure:2764: result: yes configure:2909: checking for g++ configure:2925: found \/usr\/bin\/g++ configure:2936: result: g++ configure:2963: checking for C++ compiler version configure:2972: g++ &#8211;version &gt;&amp;5 g++ (Ubuntu 4.4.3-4ubuntu5) 4.4.3 Copyright (C) 2009 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.configure:2983: $? = 0 configure:2972: g++ -v &gt;&amp;5 Using built-in specs. Target: x86_64-linux-gnu Configured with: ..\/src\/configure -v &#8211;with-pkgversion=&#8217;Ubuntu 4.4.3-4ubuntu5&#8242; &#8211;with-bugurl=file:\/\/\/usr\/share\/doc\/gcc-4.4\/README.Bugs &#8211;enable-languages=c,c++,fortran,objc,obj-c++ &#8211;prefix=\/usr &#8211;enable-shared &#8211;enable-multiarch &#8211;enable<\/li>\n<\/ul>\n<p id=\"rop\"><small>Originally posted 2013-11-09 22:48:51. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>Tahsin M kdevelop external-library I&#8217;m trying to setup KDevelop with Gcc, but I cant get it to properly link to external libraries. I get the following error:\/home\/tahsin\/Projects\/glWrap\/build&gt; make Linking CXX executable glwrap CMakeFiles\/glwrap.dir\/main.cpp.o: In function `main&#8217;: \/home\/_\/Projects\/glWrap\/main.cpp:11: undefined reference to `glutInit&#8217; collect2: error: ld returned JC2 Niko Sams linker cmake kdevelop After adding a new [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-849","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/849","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=849"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/849\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=849"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=849"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=849"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}