mpark/variant Error when running make
See original GitHub issueAll the requirement are already installed, and running cmake ..
succeed, however when running make -j
I get the following error:
DeepSDF/src/SampleVisibleMeshSurface.cpp:11:
/usr/local/include/pangolin/compat/variant.h:10:13: fatal error: mpark/variant.hpp: No such file or directory
# include <mpark/variant.hpp>
^~~~~~~~~~~~~~~~~~~
compilation terminated.
CMakeFiles/SampleVisibleMeshSurface.dir/build.make:62: recipe for target 'CMakeFiles/SampleVisibleMeshSurface.dir/src/SampleVisibleMeshSurface.cpp.o' failed
make[2]: *** [CMakeFiles/SampleVisibleMeshSurface.dir/src/SampleVisibleMeshSurface.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs.
Issue Analytics
- State:
- Created 4 years ago
- Comments:7
Top Results From Across the Web
variant - Bountysource
I'm trying to build code using mpark::visit , which compiles fine under gcc/clang, but fails to compile with CUDA compiler: visit-test.cpp(11): error: no ......
Read more >MPark.Variant v1.1.0 Release - Support for C++11 / MSVC
With Clang 5, in C++14 mode, using boost::variant this takes roughly ~27 seconds to compile on my machine, whereas mpark::variant takes about ~15...
Read more >Visitor variant with multiple types (string, bool, integral, float)
I'm trying to use a variant's visitor for multiple types and then ... typedef mpark::variant< // Implementation of std::variant for C++11,14 ...
Read more >Everything You Need to Know About std::variant from C++17
The basic idea is to wrap the possible return type with some ErrorCode, and that way allow to output more information about the...
Read more >std::variant - cppreference.com
The helper class std::monostate can be used to make such variants ... given the index or the type (if the type is unique),...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
copy this folder to
/usr/local/include/
works for me.ok, it appears passing
-DCMAKE_CXX_STANDARD=17
tocmake ..
fixes the problem