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

Have trouble building in CPU_ONLY caffe #21

Open
yiboin opened this issue Mar 24, 2017 · 3 comments
Open

Have trouble building in CPU_ONLY caffe #21

yiboin opened this issue Mar 24, 2017 · 3 comments

Comments

@yiboin
Copy link

yiboin commented Mar 24, 2017

Hi,
I want to try this demo in my laptop,but I cannot build the caffe. It shows "/XXX/person_search/caffe/src/caffe/common.cpp:103:1: error: ‘Caffe’ does not name a type".
Could you tell me how to do it?
Thanks !

@Cysu
Copy link
Collaborator

Cysu commented Mar 24, 2017

I haven't tried with CPU_ONLY. I am not sure if this version of caffe supports CPU_ONLY. Maybe you need to use cmake to compile caffe, but with commands like

cmake .. -DCPU_ONLY=ON
make && make install

@yiboin
Copy link
Author

yiboin commented Mar 24, 2017

I have tried this way,but it still not work.

@Cysu
Copy link
Collaborator

Cysu commented Mar 24, 2017

I find that it is fine when compiled with -DUSE_MPI=ON, otherwise will result in the error. I will check about this.

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