[OpendTect_Developers] Developers Digest, Vol 18, Issue 3
Ömer Genç
oemergenc at gmail.com
Tue Sep 10 16:13:23 CEST 2013
Hey Michael,
i am pretty sure that you link against two different versions of Qt when
building the OpendTect and the necessary libraries. OpendTect always links
against the release version of Qt (e.g QtCore.dll etc.). When building all
necessary libraries (e.g. Coin3D, SoQt, SimVoleon, SImage) make sure that
you also build against the release version of Qt and not the debug version
of Qt (e.g. QtCored.dd, note the "d" at the end.).
The other option you have is to edit the CMakeModule "ODQtUtils.cmake". You
can find it in the in the root directory of OpendTect in the CMakeModules
directory.
Open this file and replace all variables that look similar to the following
QT_XXXX_LIBRARY_RELEASE with QT_XXXX_LIBRARY_DEBUG. This will force
OpendTect to link against the debug version of Qt.
With this option you are able to fully debug OpendTect, which is desirable
for a successful development.
I also struggled a very long time with this.
Cheers,
Ömer
2013/9/10 <developers-request at opendtect.org>
> Send Developers mailing list submissions to
> developers at opendtect.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.opendtect.org/mailman/listinfo/developers
> or, via email, send a message with subject or body 'help' to
> developers-request at opendtect.org
>
> You can reach the person managing the list at
> developers-owner at opendtect.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Developers digest..."
>
>
> Today's Topics:
>
> 1. Failed to compile OpendTect on MSVC2010. (Michael Jobs)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 10 Sep 2013 13:20:24 +0800
> From: Michael Jobs <sincereli at gmail.com>
> To: developers at opendtect.org
> Subject: [OpendTect_Developers] Failed to compile OpendTect on
> MSVC2010.
> Message-ID:
> <CAJL93=-sWrspwyBydPKEpyB=
> mUzt0xTuX+HXbWMn25VNvHw7bw at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hello,
> I got the following errors (as shown in the attachment) while
> compiling OpendTect 4.4 on MSVC2010. Any suggestions?
>
> ------------------------------------------------------------------------------------------------------------------------
> Debug Error!
>
> Program:
> D:\ProgramData\OpendTect\Build\bin\win32\Release\od_main.exe
> Module:4.8.4
> File:global\qglobal.cpp
> Line:2303
>
> ASSERT failure in QCoreApplication::sendEvent:"Cannot send events to
> objects owned by a different thread. Current thread 9269f8. Receiver"
> (of type 'QFrame') was created in thread c14ca0", file
> kernel\qcoreapplication.cpp, line 532
>
> (Press Retry to debug the application)
>
> -------------------------------------------------------------------------------------------------------------------------
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: qt_opendtect_error.png
> Type: image/png
> Size: 12755 bytes
> Desc: not available
> URL: <
> http://lists.opendtect.org/pipermail/developers/attachments/20130910/26e45261/attachment-0001.png
> >
>
> ------------------------------
>
> _______________________________________________
> Developers mailing list
> Developers at opendtect.org
> http://lists.opendtect.org/mailman/listinfo/developers
>
> You receive this mail because you are listed on developers at opendtect.orgTo unsubscribe please go to
> http://lists.opendtect.org/mailman/options/developers . If you encounter
> any problems, please contact support at opendtect.org .
>
> End of Developers Digest, Vol 18, Issue 3
> *****************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opendtect.org/pipermail/developers/attachments/20130910/df8aa07d/attachment.html>
More information about the Developers
mailing list