#536 Debug build fails since rev. 2790

closed
nobody
None
7
2012-10-17
2012-05-10
Tim Hoffmann
No
0 up votes | 0 down votes | 0%
3 comments

Build output (Win7 x64):
[...]
./debug\qtsingleapplication.o: In function QString': c:/QtSDK/Desktop/Qt/4.7.4/mingw/include/QtCore/qstring.h:729: undefined reference to_impZ10txs_assertPKcS0_i'
./debug\qtlocalpeer.o:D:\texstudio\texstudio-build-desktop-Qt_4_7_4_for_Desktop_-_MinGW_4_4
Qt_SDKDebug/../svn/qtsingleapplication//qtlockedfile_win.cpp:89: undefined reference to _imp___Z10txs_assertPKcS0_i' ./debug\qtlocalpeer.o:D:\texstudio\texstudio-build-desktop-Qt_4_7_4_for_Desktop_-_MinGW_4_4__Qt_SDK__Debug/../svn/qtsingleapplication//qtlockedfile_win.cpp:156: undefined reference to_impZ10txs_assertPKcS0_i'
./debug\qtlocalpeer.o:c:/QtSDK/Desktop/Qt/4.7.4/mingw/include/QtCore/qvector.h:446: undefined reference to _imp___Z10txs_assertPKcS0_i' ./debug\main.o:main.cpp:(.text$_ZN5QListI7QStringE5firstEv[QList<QString>::first()]+0x2d): undefined reference to_impZ10txs_assertPKcS0_i'
./debug\buildmanager.o:D:\texstudio\texstudio-build-desktop-Qt_4_7_4_for_Desktop_-_MinGW_4_4
Qt_SDKDebug/../svn/buildmanager.cpp:142: more undefined references to `_impZ10txs_assertPKcS0_i' follow
collect2: ld returned 1 exit status
mingw32-make.exe[1]: [texstudio.exe] Error 1
mingw32-make.exe:
[debug] Error 2
02:53:23: Der Prozess "C:\QtSDK\mingw\bin\mingw32-make.exe" wurde mit dem Rückgabewert 2 beendet.
Fehler beim Erstellen des Projekts texstudio(Ziel: Desktop)
Bei der Ausführung von Build-Schritt 'Make'

Release builds are fine.

Discussion

  • Did you call "make clean all"?

    The function is complains about is there

    On 05/10/12 03:10, SourceForge.net wrote:

    Bugs

     
  • Tim Hoffmann
    Tim Hoffmann
    2012-05-10

    Yes, did that. I even checked out the svn to a new location and setup a build there, just to make sure the build is really clean. Still doesn't work.

     
  • Tim Hoffmann
    Tim Hoffmann
    2012-05-10

    build works, if I comment out the following two lines

    smallUsefulFunctions.cpp:
    //#undef qt_assert

    modifiedQObject.h:
    //#define qt_assert txs_assert

     
  • Tim Hoffmann
    Tim Hoffmann
    2012-05-18

    is fixed by now