Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error loading dhvis.dll: "Cannot mix debug and release libraries" #1345

Closed
derekbruening opened this issue Nov 28, 2014 · 1 comment
Closed

Comments

@derekbruening
Copy link
Contributor

From bruen...@google.com on October 01, 2013 18:32:56

I'm seeing this error when I have TOT drgui load dhvis:

INFO: Denied Plugins "The plugin 'C:/src/drmemory/git/build_drheapstat/bin/bin32/dhvis.dll' uses incompatible Qt library. (Cannot mix debug and release libraries.)"

Explicitly using release-build drgui.exe and release-build dhvis.dll has
the same error:

INFO: Denied Plugins "The plugin 'C:/src/drmemory/git/build_drheap_rel/bin/bin32/dhvis.dll' uses incompatible Qt library. (Cannot mix debug and release libraries.)"

I was only able to get the plugin load to work by adding -DQT_NO_DEBUG to
my dhvis build. Adding it to DR makes no difference (at least when using
release-build DR).

I have a standard Qt5 installation and I'm configuring with:

cmake -DQt5Widgets_DIR=C:/src/extsw/Qt/Qt5.1.0/5.1.0/msvc2010/lib/cmake/Qt5Widgets .

And running with:
PATH=$PATH:/c/src/extsw/Qt/Qt5.1.0/5.1.0/msvc2010/bin ~/dr/git/exports/ext/bin32/drgui_qt.exe &

Original issue: http://code.google.com/p/drmemory/issues/detail?id=1345

@derekbruening
Copy link
Contributor Author

From derek.br...@gmail.com on February 12, 2014 14:53:52

This issue was closed by revision r1701 .

Status: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant