ExampleBasedFacialRigging icon indicating copy to clipboard operation
ExampleBasedFacialRigging copied to clipboard

"make ebfr" occurs "error: expected unqualified-id before ‘&’ token"

Open PengLiang-cn opened this issue 3 years ago • 0 comments

cmake .. successed, but make ebfr occurs

Consolidate compiler generated dependencies of target ebfr [ 7%] Building CXX object CMakeFiles/ebfr.dir/src/main.cpp.o In file included from/ExampleBasedFacialRigging/src/main.cpp:19:0: /ExampleBasedFacialRigging/src/Args.h: In member function ‘bool Args::read(int, char**)’: /ExampleBasedFacialRigging/src/Args.h:66:47: error: expected unqualified-id before ‘&’ token catch (const cxxopts::OptionException &e) { ^ /ExampleBasedFacialRigging/src/Args.h:66:47: error: expected ‘)’ before ‘&’ token /ExampleBasedFacialRigging/src/Args.h:66:47: error: expected ‘{’ before ‘&’ token /ExampleBasedFacialRigging/src/Args.h:66:48: error: ‘e’ was not declared in this scope catch (const cxxopts::OptionException &e) { ^ make[3]: *** [CMakeFiles/ebfr.dir/build.make:244: CMakeFiles/ebfr.dir/src/main.cpp.o] Error 1 make[2]: *** [CMakeFiles/Makefile2:91: CMakeFiles/ebfr.dir/all] Error 2 make[1]: *** [CMakeFiles/Makefile2:98: CMakeFiles/ebfr.dir/rule] Error 2 make: *** [Makefile:124: ebfr] Error 2

How to fix it? many thanks!!!

PengLiang-cn avatar Oct 24 '22 01:10 PengLiang-cn