View Full Version : LNK1179 building QWT 6.0.0 under vs2005 QT 4.7
buble
19th April 2011, 22:43
Hi
I'm getting this link error
qwt_plot_canvas.obj : fatal error LNK1179: invalid or corrupt file: duplicate COMDAT '??0<unnamed-tag>@QwtStyleSheetRecorder@@QAE@XZ'
Is it only me or the build is broken?
P.S.>
QWT 6.0.0-rc5 builds fine under the same environment - however there are many changes between rc5 and the final.
hannes
21st April 2011, 08:24
Yes, pls help. I'm having the same problem!
Thx,
Hannes
RobH
29th April 2011, 05:23
Hi,
this seems to be a problem when there is more than one unnamed struct within the same class:
http://connect.microsoft.com/VisualStudio/feedback/details/99795/compiler-generates-conflicting-symbols-with-unnamed-structs#details
Unfortunately this is not fixed with VS 2005 SP1.
An easy workaround is to name the structs.
I would really appreciate it if this would be done in an official qwt release: It's only a change of four lines in qwt_plot_canvas.cpp.
Thanks!
Rob
Uwe
29th April 2011, 08:05
Then post these four lines. I don't have this compiler to test if any workaround really works.
Uwe
Workaround added in SVN ( trunk and 6.0 branch ). Please test it - I don't use this compiler myself.
Uwe
Hi Uwe,
thanks for your quick answer and sorry for my delayed reply (holiday and work ...).
The current 6.0 branch from SVN compiles without problems on WinXP / VS 2005 SP1 / QT 4.7.
Thank you for your great support.
Rob
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.