problem about kdevelop-Collection of common programming errors


  • Tahsin M
    kdevelop external-library
    I’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> make Linking CXX executable glwrap CMakeFiles/glwrap.dir/main.cpp.o: In function `main’: /home/_/Projects/glWrap/main.cpp:11: undefined reference to `glutInit’ collect2: error: ld returned

  • JC2

  • Niko Sams
    linker cmake kdevelop
    After adding a new class to a KDevelop C++ project, linker has a problem to find exact sources (calculation.cpp in this case):– Build files have been written to: /var/www/C++/fibonacci/build Scanning depend

  • genpfault

  • Gellweiler
    c++ function gdb crash kdevelop
    [ 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ń my code and at first I didn’t realized, that i

  • kemra102
    c++ qt kde undefined-reference kdevelop
    I 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*)’: /usr/include/QtCore/qlist.h:418: undefined reference to `Solid::Device::~Device()’ CMakeFiles/kquickformat.dir/deviceinfo.o: In function `DeviceInfo’: /home/kemra102/projects/KDE/kquickformat/src/deviceinfo.cpp:

  • JC2
    qt qt4 kdevelop moc
    I’m trying to write a plugin for KDevelop and I’m having an interface problem. Whenever I include QInter

  • zergius
    svn protocols kdevelop
    I have successfully installed Subversion and set up repository for my project. Then added project to repository, checked it out and opened

  • Jason Plank
    linux ubuntu g++ automake kdevelop
    I 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)… yes checking for g++… g++ checking whether the C++ compiler works… no configure: error: in `/home/nts/wktools4′: configure: error: C++ compiler cannot create executables See `config.log’ 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 ## ——— ## ## Platform. ## ## ——— ##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## ———– ## ## Core tests. ## ## ———– ##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++ –version >&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 >&5 Using built-in specs. Target: x86_64-linux-gnu Configured with: ../src/configure -v –with-pkgversion=’Ubuntu 4.4.3-4ubuntu5′ –with-bugurl=file:///usr/share/doc/gcc-4.4/README.Bugs –enable-languages=c,c++,fortran,objc,obj-c++ –prefix=/usr –enable-shared –enable-multiarch –enable

Originally posted 2013-11-09 22:48:51.