Squadrick / shadesmar

Fast C++ IPC using shared memory
MIT License
555 stars 85 forks source link

[macos] msgpack.hpp not found #35

Closed Squadrick closed 3 years ago

Squadrick commented 4 years ago
  1. install_deps.sh successfully installs msgpack from brew.
  2. cmake can successfully find the package.

During the compilation step it fails with (failed CI):

[1/18] Building CXX object CMakeFiles/micro_benchmark.dir/test/micro_benchmark.cpp.o
FAILED: CMakeFiles/micro_benchmark.dir/test/micro_benchmark.cpp.o 
/Applications/Xcode_11.5.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++   -I../include -O2 -DNDEBUG -isysroot /Applications/Xcode_11.5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk   -march=native -std=gnu++17 -MD -MT CMakeFiles/micro_benchmark.dir/test/micro_benchmark.cpp.o -MF CMakeFiles/micro_benchmark.dir/test/micro_benchmark.cpp.o.d -o CMakeFiles/micro_benchmark.dir/test/micro_benchmark.cpp.o -c ../test/micro_benchmark.cpp
../test/micro_benchmark.cpp:25:10: fatal error: 'msgpack.hpp' file not found
#include <msgpack.hpp>
         ^~~~~~~~~~~~~
1 error generated.
[2/18] Building CXX object CMakeFiles/pubsub_bin_test.dir/test/pubsub_bin_test.cpp.o
FAILED: CMakeFiles/pubsub_bin_test.dir/test/pubsub_bin_test.cpp.o 
/Applications/Xcode_11.5.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++   -I../include -O2 -DNDEBUG -isysroot /Applications/Xcode_11.5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk   -march=native -std=gnu++17 -MD -MT CMakeFiles/pubsub_bin_test.dir/test/pubsub_bin_test.cpp.o -MF CMakeFiles/pubsub_bin_test.dir/test/pubsub_bin_test.cpp.o.d -o CMakeFiles/pubsub_bin_test.dir/test/pubsub_bin_test.cpp.o -c ../test/pubsub_bin_test.cpp
In file included from ../test/pubsub_bin_test.cpp:32:
In file included from ../include/shadesmar/pubsub/publisher.h:35:
../include/shadesmar/message.h:32:10: fatal error: 'msgpack.hpp' file not found
#include <msgpack.hpp>
         ^~~~~~~~~~~~~
1 error generated.

Maybe it's been renamed from msgpack.hpp to msgpack.h?

Squadrick commented 3 years ago

Msgpack has been removed in 53fd08b6653c2c785f10d913c1900afb3a4cbcdd