drNoob13/fisheyeStitcher

Make Issue

doppelview opened this issue · 0 comments

Hi, I know the latest update has been a long while, but still interested to try out your code.

First of all, thanks for publishing.

I try to build you code, but keep getting this issue:

printer@printer-MacBookPro:~/fisheyestitcher/build$ make
[ 50%] Built target stitcher
Scanning dependencies of target fisheyeStitcher
[ 75%] Building CXX object CMakeFiles/fisheyeStitcher.dir/app/stitch.cpp.o
In file included from /home/printer/fisheyestitcher/app/stitch.cpp:9:0:
/home/printer/fisheyestitcher/include/input_parser.hpp:173:10: error: ‘variant’ in namespace ‘std’ does not name a template type
std::variant<bool, std::string> get(Options Opt)
^~~~~~~
/home/printer/fisheyestitcher/app/stitch.cpp: In function ‘int main(int, char**)’:
/home/printer/fisheyestitcher/app/stitch.cpp:20:51: error: ‘class ffstitcher::InputParser’ has no member named ‘get’
string video_path = std::get(Parser.get(Options::OPT_VIDEO_PATH ));
^~~
/home/printer/fisheyestitcher/app/stitch.cpp:21:51: error: ‘class ffstitcher::InputParser’ has no member named ‘get’
string out_dir = std::get(Parser.get(Options::OPT_OUTPUT_DIR ));
^~~
/home/printer/fisheyestitcher/app/stitch.cpp:22:51: error: ‘class ffstitcher::InputParser’ has no member named ‘get’
string image_name = std::get(Parser.get(Options::OPT_IMAGE_NAME ));
^~~
/home/printer/fisheyestitcher/app/stitch.cpp:23:51: error: ‘class ffstitcher::InputParser’ has no member named ‘get’
string mls_map_path = std::get(Parser.get(Options::OPT_MLSMAP_PATH ));
^~~
/home/printer/fisheyestitcher/app/stitch.cpp:24:51: error: ‘class ffstitcher::InputParser’ has no member named ‘get’
bool enb_lc = std::get(Parser.get(Options::OPT_ENB_LIGHT_COMPEN));
^~~
/home/printer/fisheyestitcher/app/stitch.cpp:25:51: error: ‘class ffstitcher::InputParser’ has no member named ‘get’
bool enb_ra = std::get(Parser.get(Options::OPT_ENB_REFINE_ALIGN));
^~~
CMakeFiles/fisheyeStitcher.dir/build.make:62: recipe for target 'CMakeFiles/fisheyeStitcher.dir/app/stitch.cpp.o' failed
make[2]: *** [CMakeFiles/fisheyeStitcher.dir/app/stitch.cpp.o] Error 1
CMakeFiles/Makefile2:104: recipe for target 'CMakeFiles/fisheyeStitcher.dir/all' failed
make[1]: *** [CMakeFiles/fisheyeStitcher.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

Running Linux 18.04.6

Would you have any idea what is going on here?