How to make Makefile.Config (getting this from the terminal: Makefile:6: *** Makefile.config not found. See Makefile.config.example.. Stop.)

184 views
Skip to first unread message

Abu Bakar Siddiqur Rahman Rocky

unread,
Mar 12, 2020, 7:33:21 PM3/12/20
to Caffe Users
I am trying to impleament the code from the repo (https://github.com/peteanderson80/bottom-up-attention#demo). I follow the instructions from installation part of the repo. But at the end of 3. part, when I use the command '
make -j8 && make pycaffe' in the terminal, it shows: Makefile:6: *** Makefile.config not found. See Makefile.config.example.. Stop.

How could I create/make Makefile.Config?
Screenshot at 2020-03-12 17-32-36.png

Tung Hoang

unread,
Mar 12, 2020, 9:25:53 PM3/12/20
to Abu Bakar Siddiqur Rahman Rocky, Caffe Users
Use Makefile.config.example as template to create Makefile.config

--
You received this message because you are subscribed to the Google Groups "Caffe Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to caffe-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/caffe-users/7471cf3b-0f56-4c63-98f9-872c46058c1a%40googlegroups.com.

Abu Bakar Siddiqur Rahman Rocky

unread,
Mar 12, 2020, 10:33:37 PM3/12/20
to Caffe Users
as template means the same as Makefile.config.example?
I make the Makefile.config same as Makefile.config.example.  after using the command: make -j8 && make pycaffe'.
it shows the below error:

(base) bakar@Ilya-GPU:~/bottom-up-attention/caffe$ make -j8 && make pycaffe
CXX .build_release/src/caffe/proto/caffe.pb.cc
CXX src/caffe/syncedmem.cpp
CXX src/caffe/solvers/adagrad_solver.cpp
CXX src/caffe/solvers/adam_solver.cpp
CXX src/caffe/solvers/adadelta_solver.cpp
CXX src/caffe/solvers/sgd_solver.cpp
CXX src/caffe/solvers/nesterov_solver.cpp
CXX src/caffe/solvers/rmsprop_solver.cpp
In file included from src/caffe/syncedmem.cpp:1:0:
./include/caffe/common.hpp:4:10: fatal error: boost/shared_ptr.hpp: No such file or directory
 #include <boost/shared_ptr.hpp>
          ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Makefile:581: recipe for target '.build_release/src/caffe/syncedmem.o' failed
make: *** [.build_release/src/caffe/syncedmem.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from .build_release/src/caffe/proto/caffe.pb.cc:4:0:
.build_release/src/caffe/proto/caffe.pb.h:10:10: fatal error: google/protobuf/port_def.inc: No such file or directory
 #include <google/protobuf/port_def.inc>
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Makefile:588: recipe for target '.build_release/src/caffe/proto/caffe.pb.o' failed
make: *** [.build_release/src/caffe/proto/caffe.pb.o] Error 1
In file included from ./include/caffe/sgd_solvers.hpp:7:0,
                 from src/caffe/solvers/adagrad_solver.cpp:3:
./include/caffe/solver.hpp:3:10: fatal error: boost/function.hpp: No such file or directory
 #include <boost/function.hpp>
          ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
Makefile:581: recipe for target '.build_release/src/caffe/solvers/adagrad_solver.o' failed
make: *** [.build_release/src/caffe/solvers/adagrad_solver.o] Error 1
In file included from ./include/caffe/sgd_solvers.hpp:7:0,
                 from src/caffe/solvers/adam_solver.cpp:3:
./include/caffe/solver.hpp:3:10: fatal error: boost/function.hpp: No such file or directory
 #include <boost/function.hpp>
          ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
Makefile:581: recipe for target '.build_release/src/caffe/solvers/adam_solver.o' failed
make: *** [.build_release/src/caffe/solvers/adam_solver.o] Error 1
In file included from ./include/caffe/sgd_solvers.hpp:7:0,
                 from src/caffe/solvers/sgd_solver.cpp:4:
./include/caffe/solver.hpp:3:10: fatal error: boost/function.hpp: No such file or directory
 #include <boost/function.hpp>
          ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
In file included from ./include/caffe/sgd_solvers.hpp:7:0,
                 from src/caffe/solvers/nesterov_solver.cpp:3:
./include/caffe/solver.hpp:3:10: fatal error: boost/function.hpp: No such file or directory
 #include <boost/function.hpp>
          ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
Makefile:581: recipe for target '.build_release/src/caffe/solvers/sgd_solver.o' failed
make: *** [.build_release/src/caffe/solvers/sgd_solver.o] Error 1
Makefile:581: recipe for target '.build_release/src/caffe/solvers/nesterov_solver.o' failed
make: *** [.build_release/src/caffe/solvers/nesterov_solver.o] Error 1
In file included from ./include/caffe/sgd_solvers.hpp:7:0,
                 from src/caffe/solvers/rmsprop_solver.cpp:3:
./include/caffe/solver.hpp:3:10: fatal error: boost/function.hpp: No such file or directory
 #include <boost/function.hpp>
          ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
Makefile:581: recipe for target '.build_release/src/caffe/solvers/rmsprop_solver.o' failed
make: *** [.build_release/src/caffe/solvers/rmsprop_solver.o] Error 1
In file included from ./include/caffe/sgd_solvers.hpp:7:0,
                 from src/caffe/solvers/adadelta_solver.cpp:3:
./include/caffe/solver.hpp:3:10: fatal error: boost/function.hpp: No such file or directory
 #include <boost/function.hpp>
          ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
Makefile:581: recipe for target '.build_release/src/caffe/solvers/adadelta_solver.o' failed
make: *** [.build_release/src/caffe/solvers/adadelta_solver.o] Error 1

Thank you


Reply all
Reply to author
Forward
0 new messages