I can't cross compile for windows



  • here is my ERROR MASSAGE

    hanah@hanah-VirtualBox:/data/veyon/b$ ../cmake/build_mingw64 
    -- cotire 1.8.0 loaded.
    -- Found QCA: /usr/x86_64-w64-mingw32/bin/libqca-qt5.dll (2.2.0)
    CMake Error at /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
      Could NOT find Sasl2 (missing: Sasl2_LIBRARIES Sasl2_INCLUDE_DIRS) (found
      version "2.1.27")
    Call Stack (most recent call first):
      /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
      cmake/modules/FindSasl2.cmake:95 (find_package_handle_standard_args)
      plugins/ldap/CMakeLists.txt:5 (FIND_PACKAGE)
    
    
    -- Configuring incomplete, errors occurred!
    See also "/data/veyon/b/CMakeFiles/CMakeOutput.log".
    See also "/data/veyon/b/CMakeFiles/CMakeError.log".
    
    

    Ubuntu version is 18.04.1
    and I installed libsasl2-dev libsasl2-modules

    AND WHEN JUST USE CMAKE FOR LINUX, IT WORKS.

    What should I do?



  • Please switch to the 4.1 branch or install cyrus-sasl-mingw-w64.


Log in to reply