zeromq / cppzmq

Header-only C++ binding for libzmq
http://www.zeromq.org
MIT License
1.93k stars 757 forks source link

makefile doesn't exist #550

Open murasakirua opened 2 years ago

murasakirua commented 2 years ago

I am a beginner and I would like to build cppzmq on windows. So I build libzmq first:

mkdir build cd build cmake .. gsudo make -j4 install

But I have encountered this problem: no rule to make target 'install'. stop

This means that makefile doesn't exist. Should I write makefile? Or there is some worry in the previous step (cmake ..)?

gummif commented 2 years ago

Can you provide the full output?

murasakirua commented 2 years ago
747719bb902db0f7ceb4fd2059c1dcd f670a9d85654ecef405c97df96f2497
murasakirua commented 2 years ago

Here is the output. Thank you in advance.

gummif commented 2 years ago

what about just make?

murasakirua commented 2 years ago

image

It shows that makefile doesn't exist.

gin-ahirsch commented 2 years ago

Building for Visual Studio 16 2019

I'd guess it's creating a Visual Studio project file. You can change the output format using either -G'MSYS Makefiles' or -G'MinGW Makefiles' depending on your toolchain. Either case, Makefile or VS project, you should be able to build via cmake --build ., which I think invokes msbuild for VS projects.