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

problem with clion #128

Open
hbsun2113 opened this issue Mar 6, 2018 · 4 comments
Open

problem with clion #128

hbsun2113 opened this issue Mar 6, 2018 · 4 comments

Comments

@hbsun2113
Copy link

I have the problem when i import the project with clion.
image
My gcc version is:
image
Can u tell me how to solve the problem?

@hbsun2113
Copy link
Author

@mli

@kimihe
Copy link

kimihe commented Jun 4, 2018

@hbsun2113 I have the same problem. Have you solved it?

@kimihe
Copy link

kimihe commented Jun 4, 2018

I have got it. It seems that if you want to use CMakeList (CMake) to build the project, some preliminaries need to be done.
Here are the solutions under both MacOS and Ubuntu.
In MacOS: "> brew install protobuf";
In Ubuntu: "> sudo apt-get install libprotobuf-dev protobuf-compiler".
After that, you can do the source codes development (in CLion) as you like. Enjoy it!
I hope this can make sense.

@thvasilo
Copy link

Note that this will get you incompatible versions of zeromq and protobuf. For example libprotobuf-dev on Ubuntu will install 2.6.1 while ps-lite now uses 3.5.1.

It's not yet clear to me how to get the project working with Clion, the problem seems to lie in the way that find_package works. The project uses a combination of Makefile and CMake so that could be the root cause of the issue.

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

3 participants