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

build.bat cannot build Debug #36

Open
TwiggyWan opened this issue Aug 25, 2020 · 0 comments
Open

build.bat cannot build Debug #36

TwiggyWan opened this issue Aug 25, 2020 · 0 comments

Comments

@TwiggyWan
Copy link

TwiggyWan commented Aug 25, 2020

How to reproduce :

  • get w10 Virtual machine as per the build instructions in README, MSVC 2019, all the build dependencies
  • make sure Release builds fine : BUILD_INSTALLER=0 USE_CODE_SIGNING=0 UPLOAD_BUILD=0 ./build.bat Release
  • run $ BUILD_INSTALLER=0 USE_CODE_SIGNING=0 UPLOAD_BUILD=0 ./build.bat Debug

outcome :

C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\ucrt\stdio.h(2100): message : see declaration of '_scprintf' [C:\Nextcloud\client-building\qtkeychain\build\testclient.vcxproj]
  testclient.vcxproj -> C:\Nextcloud\client-building\qtkeychain\build\Debug\testclient.exe
  Building Custom Rule C:/Nextcloud/client-building/qtkeychain/CMakeLists.txt
  -- Install configuration: "Debug"
  -- Installing: C:/Qt/5.12.9/msvc2017_64/translations/qtkeychain_de.qm
  -- Installing: C:/Qt/5.12.9/msvc2017_64/translations/qtkeychain_fr.qm
  -- Installing: C:/Qt/5.12.9/msvc2017_64/translations/qtkeychain_ro.qm
  -- Installing: C:/Qt/5.12.9/msvc2017_64/translations/qtkeychain_ru.qm
  -- Installing: C:/Qt/5.12.9/msvc2017_64/translations/qtkeychain_zh.qm
  -- Installing: C:/Nextcloud/client-building/libs/Debug/qtkeychain/Win64/include/qt5keychain/keychain.h
  -- Installing: C:/Nextcloud/client-building/libs/Debug/qtkeychain/Win64/include/qt5keychain/qkeychain_export.h
  -- Installing: C:/Nextcloud/client-building/libs/Debug/qtkeychain/Win64/lib/qt5keychaind.lib
  -- Installing: C:/Nextcloud/client-building/libs/Debug/qtkeychain/Win64/bin/qt5keychaind.dll
  -- Installing: C:/Nextcloud/client-building/libs/Debug/qtkeychain/Win64/mkspecs/modules/qt_Qt5Keychain.pri
  -- Installing: C:/Nextcloud/client-building/libs/Debug/qtkeychain/Win64/lib/cmake/Qt5Keychain/Qt5KeychainLibraryDepends.cmake
  -- Installing: C:/Nextcloud/client-building/libs/Debug/qtkeychain/Win64/lib/cmake/Qt5Keychain/Qt5KeychainLibraryDepends-debug.cmake
  -- Installing: C:/Nextcloud/client-building/libs/Debug/qtkeychain/Win64/lib/cmake/Qt5Keychain/Qt5KeychainConfig.cmake
  -- Installing: C:/Nextcloud/client-building/libs/Debug/qtkeychain/Win64/lib/cmake/Qt5Keychain/Qt5KeychainConfigVersion.cmake
"* Copy qt5keychain.dll to c:/Qt/5.12.9/msvc2017_64/bin/ for windeployqt to find it."
/usr/bin/cp: cannot stat 'c:/Nextcloud/client-building/libs/Debug/qtkeychain/Win64/bin/qt5keychain.dll': No such file or directory
"*** Build FAILED: qtkeychain Debug Win64 (single-build-qtkeychain.bat)"
"***** Build FAILED (build.bat)"

 /c/Nextcloud/client-building/libs/Debug/qtkeychain/Win64/bin (master)
$ ls
qt5keychaind.dll

File is not named properly and build script fails to copy it.

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

1 participant