title: Linux g++ compiling error: /usr/bin/ld: cannot find -l/usr/local/include
body: <p>I am working on a project in which <code>protobuf</code> and <code>zmq</code> are involved. I have finished it on VS2010 and now want to make it work under Linux. I just installed <code>protobuf</code> and <code>zmq</code> on our Linux server and the <code>Makefile</code> looks like this:</p>
  
  <pre><code>g++ -c  -D_DEBUG TestTDFAPI_v2.cpp -I ../
  g++ -c  -D_DEBUG Platform.cpp
  g++ -c  -D_DEBUG PathHelper.cpp                                                                                                    
  g++ -c  -D_DEBUG MyStruct.pb.cpp            
  g++ -c  -D_DEBUG MyStruct.cpp
  g++ -o Test_TDFAPI_v2 Platform.o PathHelper.o MyStruct.pb.o MyStruct.o TestTDFAPI_v2.o -l /usr/local/include -L /usr/local/lib -L../ -L../linux/ -lTDFAPI_v2 -lWHNetWork -lpthread -lprotobuf
  </code></pre>
  
  <p>After make, I got the following error:</p>
  
  <pre><code>/usr/bin/ld: cannot find -l/usr/local/include
  collect2: ld returned 1 exit status
  </code></pre>
  
  <p>Anyone has any clue?</p>