Open sebalaig opened 1 year ago
Hi, can anyone reproduce the bug from the description ? Is it a problem on my side ? Thank you in advance for feedback.
I can't reproduce this issue in my side with latest vcpkg 2023-06-07-25da717d8191c36743f0f8a25eecfa9ff6f8d195 and VS2022 17.6.1.
After run .\vcpkg.exe integrate install
, I also performed the following actions:
F:\vcpkg\installed\x64-windows\include\Qt6
F:\vcpkg\installed\x64-windows\include\Qt6\QtCore
F:\vcpkg\installed\x64-windows\include\qwt
/Zc:__cplusplus
and /std:c++17
compile option.If you have been encountering this issue consistently on VS2015, you may consider using a higher version of Visual Studio.
This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 28 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.
I have the same problem with VS2019. However, I'm trying to use Qwt in a Qt 5 application, and now I noticed that Qwt links against Qt 6. This could be the problem.
More info and reasoning in #22012. Apparently one could use an "overlay port" to solve this.
This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 28 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.
This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 28 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.
This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 28 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.
Describe the bug Trying to use a qwt under windows with MSVC lead to LNK2019 :
Environment
To Reproduce Steps to reproduce the behavior:
include
include
int main() { QwtPlotCurve curve;
}
INCLUDEPATH += E:/vcpkg/installed/x64-windows/include/qwt LIBS += -LE:/vcpkg/installed/x64-windows/debug/lib LIBS += -lqwtd
QT += core gui
TARGET = test TEMPLATE = app
SOURCES += main.cpp
L'opération de génération a démarré... 1>------ Début de la génération : Projet : test, Configuration : Release x64 ------ 1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppBuild.targets(392,5): warning MSB8028: The intermediate directory (release) contains files shared from another project (bio_contamination.vcxproj). This can lead to incorrect clean and rebuild behavior. 1>Generate moc_predefs.h 1>main.cpp 1>main.obj : error LNK2019: unresolved external symbol "public: void __cdecl QwtPlotCurve::setSamples(class QVector const &)" (?setSamples@QwtPlotCurve@@QEAAXAEBV?$QVector@VQPointF@@@@@Z) referenced in function main
1>release\test.exe : fatal error LNK1120: 1 unresolved externals
1>Génération du projet "test.vcxproj" terminée -- ÉCHEC.
========== Génération : 0 a réussi, 1 a échoué, 0 à jour, 0 a été ignoré ==========