Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-1982

Proton C tests fail to build if C++ compiler is not available

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: proton-c-0.27.0
    • Fix Version/s: proton-c-0.27.0
    • Component/s: proton-c
    • Labels:
      None

      Description

      Using master, CMake fails with:

       

       CMake Error: CMake can not determine linker language for target: c-core-test

       CMake Error: Cannot determine link language for target "c-core-test".

       CMake Error: CMake can not determine linker language for target: c-extra-test

       CMake Error: Cannot determine link language for target "c-extra-test".

       CMake Error: CMake can not determine linker language for target: c-proactor-test

       CMake Error: Cannot determine link language for target "c-proactor-test".

       

      run command:

       

       cmake -DBUILD_GO=ON -DBUILD_CPP=OFF -DBUILD_PYTHON=OFF -DBUILD_STATIC_LIBS=ON -DBUILD_SHARED_LIBS=OFF -DCMAKE_BUILD_TYPE=Release

       

      also fails with same error messages with simplfied args

       

       cmake -DBUILD_GO=ON  -DCMAKE_BUILD_TYPE=Release ..

       

      This appears to be platform specific

       

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              cliffjansen Cliff Jansen
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: