I got the following error building caffe and I was not able to fix it:
[ 78%] Linking CXX executable finetune_net
CMakeFiles/finetune_net.dir/finetune_net.cpp.o: In function `main':
/global/homes/m/mwdmaas/caffe/caffe_original/caffe/tools/finetune_net.cpp:(.text+0x3e): undefined reference to `google::LogMessageFatal::LogMessageFatal(char const*, int)'
/global/homes/m/mwdmaas/caffe/caffe_original/caffe/tools/finetune_net.cpp:(.text+0x47): undefined reference to `google::LogMessage::stream()'
/global/homes/m/mwdmaas/caffe/caffe_original/caffe/tools/finetune_net.cpp:(.text+0x5f): undefined reference to `google::LogMessageFatal::~LogMessageFatal()'
/global/homes/m/mwdmaas/caffe/caffe_original/caffe/tools/finetune_net.cpp:(.text+0x68): undefined reference to `google::LogMessageFatal::~LogMessageFatal()'
CMakeFiles/finetune_net.dir/finetune_net.cpp.o: In function `__sti__$E':
/global/homes/m/mwdmaas/caffe/caffe_original/caffe/tools/finetune_net.cpp:(.text+0x98): undefined reference to `boost::system::generic_category()'
/global/homes/m/mwdmaas/caffe/caffe_original/caffe/tools/finetune_net.cpp:(.text+0xa4): undefined reference to `boost::system::generic_category()'
/global/homes/m/mwdmaas/caffe/caffe_original/caffe/tools/finetune_net.cpp:(.text+0xb0): undefined reference to `boost::system::system_category()'
/usr/bin/ld: link errors found, deleting executable `finetune_net'
make[2]: *** [tools/finetune_net] Error 1
make[1]: *** [tools/CMakeFiles/finetune_net.dir/all] Error 2
make: *** [all] Error 2
I will add that the Makefile was created with:
cmake -DCPU_ONLY=ON -DBLAS=open -DUSE_LEVELDB=OFF -DUSE_OPENCV=OFF ..
I will also add that I am running this on a Linux machine and I do not have admin privileges.