Skip to content

Error when building under cygwin: cygwin_conv_to_win32_path was not declared in this scope #198

@ahsodex

Description

@ahsodex

Trying to build under the latest Cygwin as of today. Installed requirement packages as per the readme:
mingw64-x86_64-gcc-g++
gcc-g++
make

Ran ./configure, then make, then got this error:

Compiling src/unix-adapter/main.cc
src/unix-adapter/main.cc: In function ‘std::string convertPosixPathToWin(const string&)’:
src/unix-adapter/main.cc:225:5: error: ‘cygwin_conv_to_win32_path’ was not declared in this scope; did you mean ‘cygwin_conv_path’?
  225 |     cygwin_conv_to_win32_path(path.c_str(), tmp);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~
      |     cygwin_conv_path
make: *** [src/unix-adapter/subdir.mk:24: build/unix-adapter/unix-adapter/main.o] Error 1

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions