Skip to content

cmake --build . error #16

@Anirudhhitech

Description

@Anirudhhitech

How to resolve this error

cmake --build .
[ 2%] Built target Common
[ 23%] Built target Can
[ 53%] Built target J1939
[ 55%] Linking CXX executable j1939Decoder
/usr/bin/ld: ../../J1939/libJ1939.so.1.0.0: undefined reference to Json::Value::operator=(Json::Value&&)' /usr/bin/ld: ../../J1939/libJ1939.so.1.0.0: undefined reference to Json::Value::Value(unsigned long)'
collect2: error: ld returned 1 exit status
make[2]: *** [BinUtils/j1939Decoder/CMakeFiles/j1939Decoder.dir/build.make:86: BinUtils/j1939Decoder/j1939Decoder] Error 1
make[1]: *** [CMakeFiles/Makefile2:488: BinUtils/j1939Decoder/CMakeFiles/j1939Decoder.dir/all] Error 2
make: *** [Makefile:130: all] Error 2

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