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

Problems of port_def.inc file not found in Make compilation #1019

Open
sergiodevelop78 opened this issue Mar 19, 2020 · 1 comment
Open

Problems of port_def.inc file not found in Make compilation #1019

sergiodevelop78 opened this issue Mar 19, 2020 · 1 comment

Comments

@sergiodevelop78
Copy link

Hello, I have problems to compile the source code. I always get this message

CXX src/caffe/blob.cpp
CXX src/caffe/util/db.cpp
CXX src/caffe/util/db_lmdb.cpp
CXX src/caffe/util/sampler.cpp
In file included from ./include/caffe/blob.hpp:9,
                 from src/caffe/blob.cpp:4:
.build_release/src/caffe/proto/caffe.pb.h:10:10: fatal error: google/protobuf/port_def.inc: No existe el fichero o el directorio
 #include <google/protobuf/port_def.inc>

I'm using Anaconda, and on my environment, I have these python modules:

protobuf 3.11.4
opencv-contrib-python 4.2.0.32
opencv-python 4.2.0.32
matplotlib 3.1.3

I tried all the steps on the Readme file, and I installed all dependecies but no luck.

What can I do to solve this problem?

Thank you.
Sergio

My Linux Configuration
Operating system: Linux MX Linux 19.1
Compiler: gcc (Debian 8.3.0-6) 8.3.0
CUDA version (if applicable): Not using CUDA.
CUDNN version (if applicable): No
BLAS: N/A
Python or MATLAB version (for pycaffe and matcaffe respectively):
Python 3.7.6 (default, Jan 8 2020, 19:59:22)
[GCC 7.3.0] :: Anaconda, Inc. on linux
Type "help", "copyright", "credits" or "license" for more information.

@sergiodevelop78
Copy link
Author

Here is my Makefile.config file .

https://drive.google.com/open?id=1U7y6AdTB5KflBA2vJvnFq2m5_yCooTG8

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

1 participant