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

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

derekbruening opened this issue Nov 28, 2014 · 1 comment

Comments

@derekbruening
Copy link
Contributor

@derekbruening derekbruening commented Nov 28, 2014

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

This comment has been minimized.

Copy link
Contributor Author

@derekbruening derekbruening commented Nov 28, 2014

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
1 participant
You can’t perform that action at this time.