cppzmq icon indicating copy to clipboard operation
cppzmq copied to clipboard

makefile doesn't exist

Open murasakirua opened this issue 3 years ago • 6 comments

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 ..)?

murasakirua avatar Mar 27 '22 18:03 murasakirua

Can you provide the full output?

gummif avatar Mar 27 '22 21:03 gummif

747719bb902db0f7ceb4fd2059c1dcd f670a9d85654ecef405c97df96f2497

murasakirua avatar Mar 28 '22 12:03 murasakirua

Here is the output. Thank you in advance.

murasakirua avatar Mar 28 '22 12:03 murasakirua

what about just make?

gummif avatar Mar 28 '22 20:03 gummif

image

It shows that makefile doesn't exist.

murasakirua avatar Mar 29 '22 05:03 murasakirua

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.

gin-ahirsch avatar Apr 25 '22 06:04 gin-ahirsch