famez / J1939-Framework

Framework to work with J1939 Frames used in CAN bus in bus, car and trucks industries
MIT License
159 stars 55 forks source link

cmake --build . error #16

Open Anirudhhitech opened 1 year ago

Anirudhhitech commented 1 year ago

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 toJson::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

jp-turra commented 4 months ago

Hello, it's a little bit late answare but i think it's already solved in this issue. It worked for me