Giter Club home page Giter Club logo

Comments (6)

m6w6 avatar m6w6 commented on July 18, 2024

Should just work for MSVC as well as MinGW, just ensure msys' bin is in your path; see the CI workflow for Windows; f.e.:

cmake --config Release -S . -B build
cmake --build build --config Release

from libmemcached.

StasToken avatar StasToken commented on July 18, 2024

@m6w6 - It's strange - I'm doing something completely wrong or I don't understand something... my cmake version 3.20.1

C:\memcache\libmemcached>cmake --config Release -S . -B build
CMake Error: Unknown argument --config
CMake Error: Run 'cmake --help' for all supported options.

I looked at help and there really is no such option

from libmemcached.

m6w6 avatar m6w6 commented on July 18, 2024

Sigh. Looks like a regression in CMake 3.20 -- thanks for the report!

from libmemcached.

m6w6 avatar m6w6 commented on July 18, 2024

Maybe try

cmake -S . -B build
cmake --build build --config Release

for now...

from libmemcached.

StasToken avatar StasToken commented on July 18, 2024

Thank you very much this recipe worked. @m6w6 I would suggest that you include it in the readme file - and then somehow it turns out that the Windows developers are deprived of the official instructions...

From myself I want to add that for the build you need to install:

  1. Visual Studio
  2. cmake
  3. bison_flex (site) Direct link: win_flex_bison.zip
  4. bison_flex After installation, it should be configured, this instruction helped me
  5. cmake -S . -B build
  6. cmake --build build --config Release

PS: Thank you very much for your help in solving the problem @m6w6

from libmemcached.

m6w6 avatar m6w6 commented on July 18, 2024

👍 Thank you very much. I'll look into improving the Readme!

from libmemcached.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.