Evolving-AI-Lab / fooling

Code base for "Deep Neural Networks are Easily Fooled" CVPR 2015 paper

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ld cannot find -lcaffe

TeslaH2O opened this issue · comments

When running ./waf -exp images and the following wscript
image
ld cannot find -lcaffe option

I tried to remove caffe from the obj.lib list and add the linking option on cxxflags but that way the caffe libraries are not seen properly

any ideas of what is going on? I was able to compile caffe and all the step before running the experiment with: waf -exp images. I am using ubuntu 14.04 on a virtual machine...

I solved the issue by adding the caffe library path to the LIBRARY_PATH variable when compiling the experiments with waf:
LIBRARY_PATH=<path_to_caffe_library> ./waf --exp images