-
Notifications
You must be signed in to change notification settings - Fork 25
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
Wrong version of CONCRT140.dll in Windows installer #302
Comments
Included in the GitHub Actions Runner: |
@macumber https://github.com/openstudiocoalition/OpenStudioApplication/actions/runs/534415348 I downloaded the produced zip.
Right click in DLL in file explorer: |
Thanks @jmarrec, I don't know what is happening here but this is interesting. I downloaded the ZIP package and it does have the right x64 architecture for |
Possibly running actions with CPACK_IFW_VERBOSE would tell us something? Or search the entire drive for instances of concrt140.dll? |
That's weird... It's the https://gitlab.kitware.com/cmake/cmake/-/blob/master/Modules/InstallRequiredSystemLibraries.cmake module that's responsible for locating the CRT and other DLLs. I'm having trouble seeing why in the context of CPack it would produce different result. I tested the exe installer. It does at least have the right MSVC version now, but it's 32 bit indeed... |
I did some changes and am trying to debug cpack in #309 |
|
IFW
ZIP
|
AHH Geeeezzzzzzzz 2021-02-04T11:09:57.1455314Z CPack Verbose: C:\cmake\src\cmake\Source\CPack\cmCPackGenerator.cxx:55 Installing: D:/a/OpenStudioApplication/OpenStudioApplication/build/_CPack_Packages/win64/IFW/OpenStudioApplication-1.1.0+2e640fef6c-Windows/packages/OpenStudioApp/data/bin/platforms/qwindows.dll
2021-02-04T11:09:57.1506652Z CPack Verbose: C:\cmake\src\cmake\Source\CPack\cmCPackGenerator.cxx:55 Installing: D:/a/OpenStudioApplication/OpenStudioApplication/build/_CPack_Packages/win64/IFW/OpenStudioApplication-1.1.0+2e640fef6c-Windows/packages/OpenStudioApp/data/bin/styles/qwindowsvistastyle.dll
2021-02-04T11:09:57.1560790Z CPack Verbose: C:\cmake\src\cmake\Source\CPack\cmCPackGenerator.cxx:55 fixup_bundle
2021-02-04T11:09:57.1568158Z CPack Verbose: C:\cmake\src\cmake\Source\CPack\cmCPackGenerator.cxx:55 app='D:/a/OpenStudioApplication/OpenStudioApplication/build/_CPack_Packages/win64/IFW/OpenStudioApplication-1.1.0+2e640fef6c-Windows/packages/OpenStudioApp/data/bin/OpenStudioApp.exe'
2021-02-04T11:09:57.1570846Z CPack Verbose: C:\cmake\src\cmake\Source\CPack\cmCPackGenerator.cxx:55 libs=''
2021-02-04T11:09:57.1575372Z CPack Verbose: C:\cmake\src\cmake\Source\CPack\cmCPackGenerator.cxx:55 dirs='D:/a/OpenStudioApplication/OpenStudioApplication/build/Qt-install/5.15.0/msvc2019_64/bin;D:/a/OpenStudioApplication/OpenStudioApplication/build/Qt-install/5.15.0/msvc2019_64/lib;D:/a/OpenStudioApplication/OpenStudioApplication/build/OpenStudio-3.1.1/OpenStudio-3.1.1-alpha+3d83fc2b65-Windows/lib'
2021-02-04T11:09:57.1578591Z CPack Verbose: C:\cmake\src\cmake\Source\CPack\cmCPackGenerator.cxx:55 ignoreItems=''
2021-02-04T11:09:57.1579872Z CPack Verbose: C:\cmake\src\cmake\Source\CPack\cmCPackGenerator.cxx:55 fixup_bundle: preparing...
2021-02-04T11:09:59.3749273Z CPack Verbose: C:\cmake\src\cmake\Source\CPack\cmCPackGenerator.cxx:55 fixup_bundle: copying...
2021-02-04T11:09:59.3751788Z CPack Verbose: C:\cmake\src\cmake\Source\CPack\cmCPackGenerator.cxx:55 1/38: *NOT* copying 'D:/a/OpenStudioApplication/OpenStudioApplication/build/_CPack_Packages/win64/IFW/OpenStudioApplication-1.1.0+2e640fef6c-Windows/packages/OpenStudioApp/data/bin/OpenStudioApp.exe'
+ 2021-02-04T11:09:59.3755160Z CPack Verbose: C:\cmake\src\cmake\Source\CPack\cmCPackGenerator.cxx:55 2/38: copying 'C:/Program Files (x86)/Microsoft Visual Studio/2019/Enterprise/Common7/IDE/VC/vcpackages/CONCRT140.dll'
2021-02-04T11:09:59.7958918Z CPack Verbose: C:\cmake\src\cmake\Source\CPack\cmCPackGenerator.cxx:55 3/38: copying 'D:/a/OpenStudioApplication/OpenStudioApplication/build/Qt-install/5.15.0/msvc2019_64/bin/Qt5Core.dll'
2021-02-04T11:09:59.7961026Z CPack Verbose: C:\cmake\src\cmake\Source\CPack\cmCPackGenerator.cxx:55 4/38: copying 'D:/a/OpenStudioApplication/OpenStudioApplication/build/Qt-install/5.15.0/msvc2019_64/bin/Qt5Gui.dll'
2021-02-04T11:10:00.1571528Z CPack Verbose: C:\cmake\src\cmake\Source\CPack\cmCPackGenerator.cxx:55 18/38: copying 'D:/a/OpenStudioApplication/OpenStudioApplication/build/OpenStudio-3.1.1/OpenStudio-3.1.1-alpha+3d83fc2b65-Windows/lib/openstudiolib.dll'
2021-02-04T11:10:00.3123117Z CPack Verbose: C:\cmake\src\cmake\Source\CPack\cmCPackGenerator.cxx:55 19/38: *NOT* copying 'D:/a/OpenStudioApplication/OpenStudioApplication/build/_CPack_Packages/win64/IFW/OpenStudioApplication-1.1.0+2e640fef6c-Windows/packages/OpenStudioApp/data/bin/QtWebEngineProcess.exe'
2021-02-04T11:10:00.3153869Z CPack Verbose: C:\cmake\src\cmake\Source\CPack\cmCPackGenerator.cxx:55 fixup_bundle: fixing...
2021-02-04T11:10:00.3157283Z CPack Verbose: C:\cmake\src\cmake\Source\CPack\cmCPackGenerator.cxx:55 20/38: fix-up not required on this platform 'D:/a/OpenStudioApplication/OpenStudioApplication/build/_CPack_Packages/win64/IFW/OpenStudioApplication-1.1.0+2e640fef6c-Windows/packages/OpenStudioApp/data/bin/OpenStudioApp.exe'
2021-02-04T11:10:00.3162677Z CPack Verbose: C:\cmake\src\cmake\Source\CPack\cmCPackGenerator.cxx:55 21/38: fix-up not required on this platform 'D:/a/OpenStudioApplication/OpenStudioApplication/build/_CPack_Packages/win64/IFW/OpenStudioApplication-1.1.0+2e640fef6c-Windows/packages/OpenStudioApp/data/bin/CONCRT140.dll'
|
Something is plain overriding the dll, with an upcase name too
|
it happens in fixup_bundle
That's where this is coming from: OpenStudioApplication/src/openstudio_app/CMakeLists.txt Lines 383 to 392 in 370654f
Is this really needed outside of MAC? |
Ok this should be fixed now. |
Fix #302 - Wrong version of CONCRT140.dll in Windows installer
Issue overview
Version of CONCRT140.dll included in installer is built for:
I386, DLL, Handles addresses larger than 2 GB, Handles 32 bit words, Executable
Microsoft® Visual Studio® 2015, 14.00.23506.0
Other MSVC runtime dlls (e.g. msvcp140.dll) are:
AMD64, DLL, Handles addresses larger than 2 GB, Executable
Microsoft® Visual Studio®,14.28.29325.2
Current Behavior
Installing incorrect version of this dll causes crashes for users without MSVC runtime
https://unmethours.com/question/50813/cant-open-openstudioexe-or-openstudioappexe-application-error/?comment=50829#post-id-50829
Expected Behavior
Version of CONCRT140.dll should match other Visual Studio runtime dlls
The text was updated successfully, but these errors were encountered: