Skip to content

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

@PengLiang-cn

Description

@PengLiang-cn

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!!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions