On 10/05/2012 12:26 AM, Miklos Espak wrote:

    Also make sure to build both projects with the same build type
    (Release,
    Debug, etc.) if you are on Windows. The same applies for Qt if you
    have
    build it yourself.


Hi Sascha,

sorry, this is off-topic, but it has attracted my attention. :)

Is this release-debug build type thing crucial only on Windows? On other platforms they can arbitrarily mixed?

Cheers,
Miklos


"Crucial" depends on if you know what you are doing :-)

On Windows, debug libraries normally link against the debug version of MSVCRT and release libraries to the release version of it. The different MSVCRT libraries use different memory allocators, so creating/deleting heap objects across libraries of different build types is asking for trouble.

You *could* make it work be ensuring debug libraries always link against the release version of MSVCRT. I will not go into details, you can Google it but be warned...

- Sascha

------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to