Skip to content

Windows Build Error: Missing sys/time.h Header #6

@navidmahmoudian

Description

@navidmahmoudian

Hello,

I am encountering an issue while attempting to build the ROBIN project on a Windows environment. During the build process, I receive the following error:

Version MSBuild 17.12.12+1cce77968 pour .NET Framework

  1>Checking Build System
  Building Custom Rule D:/ROBIN/build/pmc-src/CMakeLists.txt
  pmc_heu.cpp
  pmc_maxclique.cpp
D:\ROBIN\build\pmc-src\include\pmc\pmc_graph.h(25,10): error C1083: Cannot open include file: 'sys/time.h': No such file or directory [D:\ROBIN\build\pmc-build\pmc.vcxproj]
  pmcx_maxclique.cpp
  (compiling source file '../pmc-src/pmc_heu.cpp')

D:\ROBIN\build\pmc-src\include\pmc\pmc_maxclique.h(24,10): error C1083: Cannot open include file: 'sys/time.h': No such file or directory [D:\ROBIN\build\pmc-build\pmc.vcxproj]
  (compiling source file '../pmc-src/pmc_maxclique.cpp')
...

As indicated in the error message, the sys/time.h header file is not found. My understanding is that the sys/time.h header is specific to POSIX-compliant operating systems and is not typically available in a standard Windows development environment.

Could you please advise on the recommended approach to build ROBIN on Windows? Are there alternative platform-specific implementations for the functionalities relying on sys/time.h, or are there specific build instructions or configurations I might be missing for Windows?

Thank you for your time and assistance in resolving this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions