Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-17160

Clienttools Windows build link error : 'unistd.h': No such file or directory

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Not specified
    • Resolution: Fixed
    • Affects Version/s: 6.4.0
    • Fix Version/s: 6.4.0
    • Component/s: Core Libraries
    • Labels:
      None

      Description

      HPCC Clienttools 6.4.0 build on Windows fails:

      08:30:12 z:\build\windows\platform_externals_vs2015\zlib\1.2.8\include\zconf.h(454): fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory [D:\jenkins2\workspace\CE-Candidate-clienttools-win-32bit-6.4\CE\Windows_2k8_Servers\build\system\security\zcrypt\zcrypt.vcxproj]
      08:30:12 zcrypt.cpp
      08:30:12 z:\build\windows\platform_externals_vs2015\zlib\1.2.8\include\zconf.h(454): fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory [D:\jenkins2\workspace\CE-Candidate-clienttools-win-32bit-6.4\CE\Windows_2k8_Servers\build\system\security\zcrypt\zcrypt.vcxproj]
      08:30:12 Generating Code...
      08:30:12 Done Building Project "D:\jenkins2\workspace\CE-Candidate-clienttools-win-32bit-6.4\CE\Windows_2k8_Servers\build\system\security\zcrypt\zcrypt.vcxproj" (default targets) – FAILED.

      It is due to HPCC Platform commit# 16d67414 which includes "platform.h" in systems/security/ zcrypt/ zcrypt.cpp.
      "#define_LARGEFILE64_SOURCE" in "platform.h" trigger third party library header zconf.h. try to include unix header unistd.h

        Attachments

          Activity

            People

            • Assignee:
              xwang2713 Xiaoming Wang
              Reporter:
              xwang2713 Xiaoming Wang
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: