Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile the project not success #7

Closed
Femtomes opened this issue Jul 10, 2020 · 4 comments
Closed

Compile the project not success #7

Femtomes opened this issue Jul 10, 2020 · 4 comments

Comments

@Femtomes
Copy link

@famez hi, thank you for your grate project
i want to compile the project ,but i stop in the problem of json.can you help me?

../../J1939/libJ1939.so.1.0.0: undefined reference to Json::Value::operator=(Json::Value&&)' ../../J1939/libJ1939.so.1.0.0: undefined reference to Json::Value::Value(unsigned long)'
collect2: error: ld returned 1 exit status
BinUtils/j1939Decoder/CMakeFiles/j1939Decoder.dir/build.make:96: recipe for target 'BinUtils/j1939Decoder/j1939Decoder' failed

thank you

@Femtomes
Copy link
Author

this problem solved. error in the J1939 CMakeLists.txt

Common jsoncpp

Common /usr/local/lib/libjsoncpp.a

@Femtomes
Copy link
Author

have solve problem,close the issue

@marianbrunet
Copy link

Can you give more information on how to solve this issue? Thanks!

@marianbrunet
Copy link

I got it to work. In file J1939-Framework/J1939/CMakeLists.txt, change line 40.

Before: Common jsoncpp

Change to: Common /usr/local/lib/libjsoncpp.a

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants