Comment out MATLAB by default in Makefile.config
authorEvan Shelhamer <shelhamer@imaginarynumber.net>
Tue, 8 Apr 2014 23:42:03 +0000 (16:42 -0700)
committerEvan Shelhamer <shelhamer@imaginarynumber.net>
Tue, 8 Apr 2014 23:44:54 +0000 (16:44 -0700)
Otherwise the Makefile tries to determine the MATLAB SO extension even
if MATLAB doesn't exist, breaking `make`.

Makefile.config.example
docs/installation.md

index 09aea6f..5500771 100644 (file)
@@ -17,7 +17,7 @@ MKL_DIR := /opt/intel/mkl
 
 # This is required only if you will compile the matlab interface.
 # MATLAB directory should contain the mex binary in /bin.
-MATLAB_DIR := /usr/local
+MATLAB_DIR := /usr/local
 # MATLAB_DIR := /Applications/MATLAB_R2012b.app
 
 # NOTE: this is required only if you will compile the python interface.
index a245dd7..fe347b3 100644 (file)
@@ -68,7 +68,7 @@ Now that you have the prerequisites, edit your `Makefile.config` to change the p
 
 With the prerequisites installed, do `make all` to compile Caffe.
 
-To compile the python and MATLAB wrappers do `make pycaffe` and `make matcaffe` respectively.
+To compile the python and MATLAB wrappers do `make pycaffe` and `make matcaffe` respectively. Be sure to set your MATLAB and python paths in `Makefile.config` first!
 
 *Distribution*: run `make distribute` to create a `distribute` directory with all the Caffe headers, compiled libraries, binaries, etc. needed for distribution to other machines.