Skip to content
This repository was archived by the owner on Jul 11, 2021. It is now read-only.
This repository was archived by the owner on Jul 11, 2021. It is now read-only.

Build for Windows #99

Description

@seyedmmousavi

As I can not find any info in document about supported platform, I tried to build Redisql on Windows 10. But there is an error:

error: failed to run custom build command for `sync_engine v0.6.0 (C:\redis\rediSQL-1.1.2\sync_engine)`

Caused by:
  process didn't exit successfully: `c:\redis\rediSQL-1.1.2\target\release\build\sync_engine-757c825fdc2c0612\build-script-build` (exit code: 1)
--- stdout
cargo:rerun-if-changed=src/CDeps
cargo:rerun-if-changed="build.rs"
NUM_JOBS = Some("4")
TARGET = Some("x86_64-pc-windows-msvc")
OPT_LEVEL = Some("3")
HOST = Some("x86_64-pc-windows-msvc")
CC_x86_64-pc-windows-msvc = None
CC_x86_64_pc_windows_msvc = None
HOST_CC = None
CC = None
CFLAGS_x86_64-pc-windows-msvc = None
CFLAGS_x86_64_pc_windows_msvc = None
HOST_CFLAGS = None
CFLAGS = None
CRATE_CC_NO_DEFAULTS = None
CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2")
DEBUG = Some("false")
running: "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Tools\\MSVC\\14.25.28610\\bin\\HostX64\\x64\\cl.exe" "/nologo" "/MD" "/O2" "/I" "src/CDeps" "/W4" "/Foc:\\redis\\rediSQL-1.1.2\\target\\release\\build\\sync_engine-8c3d738bbcd839a3\\out\\src/CDeps/sqlite_dump.o" "/c" "src/CDeps/sqlite_dump.c"
sqlite_dump.c
src/CDeps/sqlite_dump.c(5): fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
exit code: 2

--- stderr


error occurred: Command "C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\BuildTools\\VC\\Tools\\MSVC\\14.25.28610\\bin\\HostX64\\x64\\cl.exe" "/nologo" "/MD" "/O2" "/I" "src/CDeps" "/W4" "/Foc:\\redis\\rediSQL-1.1.2\\target\\release\\build\\sync_engine-8c3d738bbcd839a3\\out\\src/CDeps/sqlite_dump.o" "/c" "src/CDeps/sqlite_dump.c" with args "cl.exe" did not execute successfully (status code exit code: 2).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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