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

工程移植到QT5.10.1时出现编译问题 #1

Closed
QuintonZhang opened this issue Jun 11, 2018 · 3 comments
Closed

工程移植到QT5.10.1时出现编译问题 #1

QuintonZhang opened this issue Jun 11, 2018 · 3 comments

Comments

@QuintonZhang
Copy link

工程移植到QT5.10.1时出现编译问题,问题应当是库文件加载问题,描述如下,麻烦回应,不胜感谢:

....\CANBootloaderQtmaster\source\mainwindow.cpp(1875): warning C4309: “初始化”: 截断常量值
link /NOLOGO /DYNAMICBASE /NXCOMPAT /DEBUG /SUBSYSTEM:WINDOWS "/MANIFESTDEPENDENCY:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' publicKeyToken='6595b64144ccf1df' language='' processorArchitecture=''" /MANIFEST:embed /OUT:debug\CANBootloader.exe @C:\Users\ADMINI~1\AppData\Local\Temp\CANBootloader.exe.5628.4945.jom
mainwindow.obj : error LNK2019:
mainwindow.obj : error LNK2019:
mainwindow.obj : error LNK2019:
mainwindow.obj : error LNK2019:
mainwindow.obj : error LNK2019:
mainwindow.obj : error LNK2019:
mainwindow.obj : error LNK2019:
mainwindow.obj : error LNK2019:
mainwindow.obj : error LNK2019:
mainwindow.obj : error LNK2019:
C:\Users\Administrator\Desktop\CANBootloaderQtmaster\project\lib\win32\ControlCAN.lib : warning LNK4272:
debug\CANBootloader.exe : fatal error LNK1120: 10
jom: C:\Users\Administrator\Desktop\CANBootloader-Qt-master\build-CAN_Bootloader-Desktop_Qt_5_10_1_MSVC2015_64bit-Debug\Makefile.Debug [debug\CANBootloader.exe] Error 1120
jom: C:\Users\Administrator\Desktop\CANBootloader-Qt-master\build-CAN_Bootloader-Desktop_Qt_5_10_1_MSVC2015_64bit-Debug\Makefile [debug] Error 2
17:04:01: 进程"D:\Qt\Qt5.10.1\Tools\QtCreator\bin\jom.exe"退出,退出代码 2 。
Error while building/deploying project CAN_Bootloader (kit: Desktop Qt 5.10.1 MSVC2015 64bit)
The kit Desktop Qt 5.10.1 MSVC2015 64bit has configuration issues which might be the root cause for this problem.
When executing step "Make"
17:04:01: Elapsed time: 00:05.

@596142041
Copy link
Owner

596142041 commented Jun 11, 2018 via email

@596142041
Copy link
Owner

具体什么原因,我不清楚,没有去查找

@QuintonZhang
Copy link
Author

软件使用5.10.0MinGW编译已经成功, 十分感谢1

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

No branches or pull requests

2 participants