TXS compiling error on OpenSUSE 12.2 64 bit

TXS - Help
  • Hi,

    I compiled TXS on OpenSUSE 12.2 64 bit using Qtcreator. I got the following error:

    /home/zulkifli/Public/Texstudio/trunk/tests/buildmanager_t.h:12: error: undefined reference to `vtable for BuildManagerTest'

    :-1: error: collect2: error: ld returned 1 exit status

    Is there somebody who knows what the problem is? Thank you.

  • That usually happens if qmake is set to debug mode, but gcc calls
    compile in release mode.

    Try to call "make clean" and delete the Makefiles.

  • qmake always says that it creates debug version. I have change the settings of qmake in QtCreator to make release version, but it seems the settings is ignored. Until now, the compilation is still failed.

  • Have you tried it in the command line?

    qmake CONFIG+=release CONFIG-=debug texstudio.pro

    is one of the more reliable ways to make a release version

    • It works perfect. Thanks :).

  • Not yet. I will try, since my linux box is at home. Thanks

  • can you try the BUILD.sh script in the terminal?