nanomsg/cppnanomsg

build cppnanomsg on win10-64,gcc has a problem

meir100 opened this issue · 1 comments

try to build cppnanomsg in win10-64 + codeblocks + cmake/win + mingw-gcc
from: https://nuwen.net/mingw.html
nanomsg itself built well.
cmake/win success, but when i try to build cppnanomsg i get: compiler problem:

#include <nanomsg/nn.h>
the file is in: C:\nanomsg-1.1.4\src

||=== Build: all in cppnanomsg (compiler: GNU GCC Compiler) ===|
C:\cppnanomsg-master\nn.hpp|26|fatal error: nanomsg/nn.h: No such file or directory|
[CMakeFiles\binding.dir\build.make|62|CMakeFiles/binding.dir/binding.cpp.obj] Error 1|
[CMakeFiles\Makefile2|72|CMakeFiles/binding.dir/all] Error 2|
[C:\cppnanomsg-master\build\Makefile|140|all] Error 2|
||=== Build failed: 4 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===|

I get the same error too.
Has anyone solved this problem?

2>e:\git_me\cppnanomsg\nn.hpp(26): fatal error C1083: Cannot open include file: 'nanomsg/nn.h': No such file or directory