{"id":1403,"date":"2016-07-13T12:07:27","date_gmt":"2016-07-13T03:07:27","guid":{"rendered":"https:\/\/d-itlab.co.jp\/?p=1403"},"modified":"2026-03-10T12:07:37","modified_gmt":"2026-03-10T03:07:37","slug":"20160713","status":"publish","type":"post","link":"https:\/\/d-itlab.co.jp\/en\/blog\/20160713\/","title":{"rendered":"How to build matcaffe on OSX10.11.5 and MATLAB2016a"},"content":{"rendered":"<p>I guess that many engineers have some troubles when they try to build matcaffe on OSX.<\/p>\n<p>1. Link error \u2013 google::protobuf<br \/>\n2. Link error \u2013 mex functions \u2013 not found _mxArrayToString<br \/>\n3. Link error \u2013 dyld: Library not loaded: @rpath\/libmkl_intel_lp64.dylib<\/p>\n<p>I found a way to avoid these troubles, so I will write down about it.<\/p>\n<p>At first, my system is<\/p>\n<p>\u2013 Mac Pro (Late 2013)<br \/>\n\u2013 OSX 10.11.5<br \/>\n\u2013 MATLAB 2016a<br \/>\n\u2013 Intel Math Kernel Library(or OpenBLAS via homebrew)<br \/>\n\u2013 without Python interface<br \/>\n\u2013 without CUDA<\/p>\n<h3>1. Install some packages according to \u201cOSX Installation\u201d.<\/h3>\n<p><a href=\"http:\/\/caffe.berkeleyvision.org\/install_osx.html\">http:\/\/caffe.berkeleyvision.org\/install_osx.html<\/a><\/p>\n<h3>2. Install Intel Math Kernel Library.<\/h3>\n<p><a href=\"https:\/\/software.intel.com\/en-us\/intel-mkl\/try-buy\">https:\/\/software.intel.com\/en-us\/intel-mkl\/try-buy<\/a><\/p>\n<p>Or, you can use OpenBLAS or Accelerate.framework.<\/p>\n<h3>3. Edit Makefile.config.<\/h3>\n<p>You have to edit <code>Makefile.config<\/code> very carefully.<\/p>\n<p>Make it use only CPU.<\/p>\n<pre><code># CPU-only switch (uncomment to build without GPU support).\r\nCPU_ONLY := 1<\/code><\/pre>\n<p>Specify compiler.<\/p>\n<pre><code># To customize your choice of compiler, uncomment and set the following.\r\n# N.B. the default for Linux is g++ and the default for OSX is clang++\r\nCUSTOM_CXX := \/usr\/bin\/clang++<\/code><\/pre>\n<p>Set BLAS path according to your library.<br \/>\nThis sample is for Intel Math Kernel Library.<\/p>\n<pre><code># BLAS choice:\r\n# atlas for ATLAS (default)\r\n# mkl for MKL\r\n# open for OpenBlas\r\nBLAS := mkl\r\n# Custom (MKL\/ATLAS\/OpenBLAS) include and lib directories.\r\n# Leave commented to accept the defaults for your choice of BLAS\r\n# (which should work)!\r\nBLAS_INCLUDE := \/opt\/intel\/compilers_and_libraries_2016.3.170\/mac\/mkl\/include\r\nBLAS_LIB := \/opt\/intel\/compilers_and_libraries_2016.3.170\/mac\/mkl\/lib<\/code><\/pre>\n<p>Set MATLAB path to build matcaffe.<\/p>\n<pre><code># This is required only if you will compile the matlab interface.\r\n# MATLAB directory should contain the mex binary in \/bin.\r\n# MATLAB_DIR := \/usr\/local\r\nMATLAB_DIR := \/Applications\/MATLAB_R2016a.app<\/code><\/pre>\n<p>This is the most important point.<br \/>\nRemove paths for python and keep the under order of LIBRARY_DIRS\u2019s elements in order to avoid link error.<\/p>\n<pre><code># Whatever else you find you need goes here.\r\nINCLUDE_DIRS := \/usr\/local\/include\r\nLIBRARY_DIRS := \/usr\/local\/lib $(MATLAB_DIR)\/bin\/maci64 \/usr\/lib<\/code><\/pre>\n<p>Next, build caffe.<\/p>\n<h3>4. Build caffe and matcaffe<\/h3>\n<p>If you want to use Intel Math Kernel Library, you have to execute this command before it.<br \/>\nI recommend you should copy this command into <code>.bash_profile<\/code>.<\/p>\n<pre><code># build caffe\r\nsource \/opt\/intel\/compilers_and_libraries\/mac\/mkl\/bin\/mklvars.sh intel64 ilp64\r\ncd caffe\r\nmake all\r\nmake all test\r\nmake runtest\r\nmake all matcaffe<\/code><\/pre>\n<p>If failed to build caffe, check Makefile.config again.<\/p>\n<h3>5. How to use matcaffe.<\/h3>\n<p>You have to run MATLAB from terminal.app because MATLAB does not load environment variables when it runs via Finder.app\u2026\u2026<\/p>\n<pre><code>cd caffe\r\n# You have set this environment variable\r\n# in order to avoid caffe load MATLAB's tiff library....\r\nexport DYLD_INSERT_LIBRARIES=\/usr\/local\/opt\/libtiff\/lib\/libtiff.5.dylib\r\n\/Applications\/MATLAB_R2016a.app\/bin\/matlab &amp;<\/code><\/pre>\n<p>You can use matcaffe in MATLAB console.<\/p>\n<pre><code>cd caffe\r\naddpath('.\/matlab');\r\ncaffe.set_mode_cpu();<\/code><\/pre>\n<p>That\u2019s all! Have fun!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I guess that many engineers have some troubles when they try to build matcaffe on OSX. 1. Link error \u2013 google::protobuf 2. Link error \u2013 mex functions \u2013 not found _mxArrayToString 3. Link error \u2013 dyld: Library not loaded: @rpath\/libmkl_intel_lp64.dylib I found a way to avoid these troubles, so I will write down about it. At first, my system is \u2013 Mac Pro (Late 2013) \u2013 OSX 10.11.5 \u2013 MATLAB 2016a \u2013 Intel Math Kernel Library(or OpenBLAS via homebrew) \u2013 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_locale":"en_US","_original_post":"https:\/\/d-itlab.co.jp\/?p=621","_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[51],"tags":[],"kind_blog":[],"member":[49],"keyword_tech":[],"class_list":["post-1403","post","type-post","status-publish","format-standard","hentry","category-programming","member-49","en-US"],"acf":[],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.8 - aioseo.com -->\n\t<meta name=\"description\" content=\"I guess that many engineers have some troubles when they try to build matcaffe on OSX. 1. Link error \u2013 google::protobuf 2. Link error \u2013 mex functions \u2013 not found _mxArrayToString 3. Link error \u2013 dyld: Library not loaded: @rpath\/libmkl_intel_lp64.dylib I found a way to avoid these troubles, so I will write down about it.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"aem_admin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/d-itlab.co.jp\/en\/blog\/20160713\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.8\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"\u682a\u5f0f\u4f1a\u793e\u30c7\u30f3\u30bd\u30fc\u30a2\u30a4\u30c6\u30a3\u30fc\u30e9\u30dc\u30e9\u30c8\u30ea - \u591a\u69d8\u306a\u4eba\u3001\u591a\u69d8\u306a\u6280\u8853\u3001\u591a\u69d8\u306a\u601d\u3044\u304c\u30aa\u30fc\u30d7\u30f3\u306b\u4ea4\u3058\u308a\u5408\u3046\u7814\u7a76\u958b\u767a\u4f01\u696d\u3002\u305d\u308c\u304c\u30c7\u30f3\u30bd\u30fc\u30a2\u30a4\u30c6\u30a3\u30fc\u30e9\u30dc\u30e9\u30c8\u30ea\u3067\u3059\u3002\u308f\u305f\u3057\u305f\u3061\u306f\u81ea\u7531\u306a\u767a\u60f3\u3067\u307e\u3060\u898b\u306c\u4e16\u754c\u306e\u30ef\u30af\u30ef\u30af\u3092\u5275\u9020\u3057\u307e\u3059\u3002\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"How to build matcaffe on OSX10.11.5 and MATLAB2016a - \u682a\u5f0f\u4f1a\u793e\u30c7\u30f3\u30bd\u30fc\u30a2\u30a4\u30c6\u30a3\u30fc\u30e9\u30dc\u30e9\u30c8\u30ea\" \/>\n\t\t<meta property=\"og:description\" content=\"I guess that many engineers have some troubles when they try to build matcaffe on OSX. 1. Link error \u2013 google::protobuf 2. Link error \u2013 mex functions \u2013 not found _mxArrayToString 3. Link error \u2013 dyld: Library not loaded: @rpath\/libmkl_intel_lp64.dylib I found a way to avoid these troubles, so I will write down about it.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/d-itlab.co.jp\/en\/blog\/20160713\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/d-itlab.co.jp\/wp-content\/uploads\/2025\/07\/itlab_OGP.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/d-itlab.co.jp\/wp-content\/uploads\/2025\/07\/itlab_OGP.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2016-07-13T03:07:27+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-03-10T03:07:37+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"How to build matcaffe on OSX10.11.5 and MATLAB2016a - \u682a\u5f0f\u4f1a\u793e\u30c7\u30f3\u30bd\u30fc\u30a2\u30a4\u30c6\u30a3\u30fc\u30e9\u30dc\u30e9\u30c8\u30ea\" \/>\n\t\t<meta name=\"twitter:description\" content=\"I guess that many engineers have some troubles when they try to build matcaffe on OSX. 1. Link error \u2013 google::protobuf 2. Link error \u2013 mex functions \u2013 not found _mxArrayToString 3. Link error \u2013 dyld: Library not loaded: @rpath\/libmkl_intel_lp64.dylib I found a way to avoid these troubles, so I will write down about it.\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/d-itlab.co.jp\/wp-content\/uploads\/2025\/07\/itlab_OGP.jpg\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/d-itlab.co.jp\\\/en\\\/blog\\\/20160713\\\/#blogposting\",\"name\":\"How to build matcaffe on OSX10.11.5 and MATLAB2016a - \\u682a\\u5f0f\\u4f1a\\u793e\\u30c7\\u30f3\\u30bd\\u30fc\\u30a2\\u30a4\\u30c6\\u30a3\\u30fc\\u30e9\\u30dc\\u30e9\\u30c8\\u30ea\",\"headline\":\"How to build matcaffe on OSX10.11.5 and MATLAB2016a\",\"author\":{\"@id\":\"https:\\\/\\\/d-itlab.co.jp\\\/author\\\/aem_admin\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/d-itlab.co.jp\\\/#organization\"},\"datePublished\":\"2016-07-13T12:07:27+09:00\",\"dateModified\":\"2026-03-10T12:07:37+09:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/d-itlab.co.jp\\\/en\\\/blog\\\/20160713\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/d-itlab.co.jp\\\/en\\\/blog\\\/20160713\\\/#webpage\"},\"articleSection\":\"Programming, \\u5409\\u7530 \\u60a0\\u4e00\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/d-itlab.co.jp\\\/en\\\/blog\\\/20160713\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/d-itlab.co.jp#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/d-itlab.co.jp\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/d-itlab.co.jp\\\/en#listItem\",\"name\":\"\\u6280\\u8853\\u8005\\u30d6\\u30ed\\u30b0\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/d-itlab.co.jp\\\/en#listItem\",\"position\":2,\"name\":\"\\u6280\\u8853\\u8005\\u30d6\\u30ed\\u30b0\",\"item\":\"https:\\\/\\\/d-itlab.co.jp\\\/en\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/d-itlab.co.jp\\\/en\\\/category\\\/programming\\\/#listItem\",\"name\":\"Programming\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/d-itlab.co.jp#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/d-itlab.co.jp\\\/en\\\/category\\\/programming\\\/#listItem\",\"position\":3,\"name\":\"Programming\",\"item\":\"https:\\\/\\\/d-itlab.co.jp\\\/en\\\/category\\\/programming\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/d-itlab.co.jp\\\/en\\\/blog\\\/20160713\\\/#listItem\",\"name\":\"How to build matcaffe on OSX10.11.5 and MATLAB2016a\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/d-itlab.co.jp\\\/en#listItem\",\"name\":\"\\u6280\\u8853\\u8005\\u30d6\\u30ed\\u30b0\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/d-itlab.co.jp\\\/en\\\/blog\\\/20160713\\\/#listItem\",\"position\":4,\"name\":\"How to build matcaffe on OSX10.11.5 and MATLAB2016a\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/d-itlab.co.jp\\\/en\\\/category\\\/programming\\\/#listItem\",\"name\":\"Programming\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/d-itlab.co.jp\\\/#organization\",\"name\":\"\\u682a\\u5f0f\\u4f1a\\u793e\\u30c7\\u30f3\\u30bd\\u30fc\\u30a2\\u30a4\\u30c6\\u30a3\\u30fc\\u30e9\\u30dc\\u30e9\\u30c8\\u30ea\",\"description\":\"\\u591a\\u69d8\\u306a\\u4eba\\u3001\\u591a\\u69d8\\u306a\\u6280\\u8853\\u3001\\u591a\\u69d8\\u306a\\u601d\\u3044\\u304c\\u30aa\\u30fc\\u30d7\\u30f3\\u306b\\u4ea4\\u3058\\u308a\\u5408\\u3046\\u7814\\u7a76\\u958b\\u767a\\u4f01\\u696d\\u3002\\u305d\\u308c\\u304c\\u30c7\\u30f3\\u30bd\\u30fc\\u30a2\\u30a4\\u30c6\\u30a3\\u30fc\\u30e9\\u30dc\\u30e9\\u30c8\\u30ea\\u3067\\u3059\\u3002\\u308f\\u305f\\u3057\\u305f\\u3061\\u306f\\u81ea\\u7531\\u306a\\u767a\\u60f3\\u3067\\u307e\\u3060\\u898b\\u306c\\u4e16\\u754c\\u306e\\u30ef\\u30af\\u30ef\\u30af\\u3092\\u5275\\u9020\\u3057\\u307e\\u3059\\u3002\",\"url\":\"https:\\\/\\\/d-itlab.co.jp\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/d-itlab.co.jp\\\/author\\\/aem_admin\\\/#author\",\"url\":\"https:\\\/\\\/d-itlab.co.jp\\\/author\\\/aem_admin\\\/\",\"name\":\"aem_admin\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/d-itlab.co.jp\\\/en\\\/blog\\\/20160713\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/50ebe23fcef3c70c0aeed15562288d9b41c62dc5031c4db36c9743fad3121427?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"aem_admin\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/d-itlab.co.jp\\\/en\\\/blog\\\/20160713\\\/#webpage\",\"url\":\"https:\\\/\\\/d-itlab.co.jp\\\/en\\\/blog\\\/20160713\\\/\",\"name\":\"How to build matcaffe on OSX10.11.5 and MATLAB2016a - \\u682a\\u5f0f\\u4f1a\\u793e\\u30c7\\u30f3\\u30bd\\u30fc\\u30a2\\u30a4\\u30c6\\u30a3\\u30fc\\u30e9\\u30dc\\u30e9\\u30c8\\u30ea\",\"description\":\"I guess that many engineers have some troubles when they try to build matcaffe on OSX. 1. Link error \\u2013 google::protobuf 2. Link error \\u2013 mex functions \\u2013 not found _mxArrayToString 3. Link error \\u2013 dyld: Library not loaded: @rpath\\\/libmkl_intel_lp64.dylib I found a way to avoid these troubles, so I will write down about it.\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/d-itlab.co.jp\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/d-itlab.co.jp\\\/en\\\/blog\\\/20160713\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/d-itlab.co.jp\\\/author\\\/aem_admin\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/d-itlab.co.jp\\\/author\\\/aem_admin\\\/#author\"},\"datePublished\":\"2016-07-13T12:07:27+09:00\",\"dateModified\":\"2026-03-10T12:07:37+09:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/d-itlab.co.jp\\\/#website\",\"url\":\"https:\\\/\\\/d-itlab.co.jp\\\/\",\"name\":\"\\u682a\\u5f0f\\u4f1a\\u793e\\u30c7\\u30f3\\u30bd\\u30fc\\u30a2\\u30a4\\u30c6\\u30a3\\u30fc\\u30e9\\u30dc\\u30e9\\u30c8\\u30ea\",\"description\":\"\\u591a\\u69d8\\u306a\\u4eba\\u3001\\u591a\\u69d8\\u306a\\u6280\\u8853\\u3001\\u591a\\u69d8\\u306a\\u601d\\u3044\\u304c\\u30aa\\u30fc\\u30d7\\u30f3\\u306b\\u4ea4\\u3058\\u308a\\u5408\\u3046\\u7814\\u7a76\\u958b\\u767a\\u4f01\\u696d\\u3002\\u305d\\u308c\\u304c\\u30c7\\u30f3\\u30bd\\u30fc\\u30a2\\u30a4\\u30c6\\u30a3\\u30fc\\u30e9\\u30dc\\u30e9\\u30c8\\u30ea\\u3067\\u3059\\u3002\\u308f\\u305f\\u3057\\u305f\\u3061\\u306f\\u81ea\\u7531\\u306a\\u767a\\u60f3\\u3067\\u307e\\u3060\\u898b\\u306c\\u4e16\\u754c\\u306e\\u30ef\\u30af\\u30ef\\u30af\\u3092\\u5275\\u9020\\u3057\\u307e\\u3059\\u3002\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/d-itlab.co.jp\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"How to build matcaffe on OSX10.11.5 and MATLAB2016a - \u682a\u5f0f\u4f1a\u793e\u30c7\u30f3\u30bd\u30fc\u30a2\u30a4\u30c6\u30a3\u30fc\u30e9\u30dc\u30e9\u30c8\u30ea","description":"I guess that many engineers have some troubles when they try to build matcaffe on OSX. 1. Link error \u2013 google::protobuf 2. Link error \u2013 mex functions \u2013 not found _mxArrayToString 3. Link error \u2013 dyld: Library not loaded: @rpath\/libmkl_intel_lp64.dylib I found a way to avoid these troubles, so I will write down about it.","canonical_url":"https:\/\/d-itlab.co.jp\/en\/blog\/20160713\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/d-itlab.co.jp\/en\/blog\/20160713\/#blogposting","name":"How to build matcaffe on OSX10.11.5 and MATLAB2016a - \u682a\u5f0f\u4f1a\u793e\u30c7\u30f3\u30bd\u30fc\u30a2\u30a4\u30c6\u30a3\u30fc\u30e9\u30dc\u30e9\u30c8\u30ea","headline":"How to build matcaffe on OSX10.11.5 and MATLAB2016a","author":{"@id":"https:\/\/d-itlab.co.jp\/author\/aem_admin\/#author"},"publisher":{"@id":"https:\/\/d-itlab.co.jp\/#organization"},"datePublished":"2016-07-13T12:07:27+09:00","dateModified":"2026-03-10T12:07:37+09:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/d-itlab.co.jp\/en\/blog\/20160713\/#webpage"},"isPartOf":{"@id":"https:\/\/d-itlab.co.jp\/en\/blog\/20160713\/#webpage"},"articleSection":"Programming, \u5409\u7530 \u60a0\u4e00"},{"@type":"BreadcrumbList","@id":"https:\/\/d-itlab.co.jp\/en\/blog\/20160713\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/d-itlab.co.jp#listItem","position":1,"name":"Home","item":"https:\/\/d-itlab.co.jp","nextItem":{"@type":"ListItem","@id":"https:\/\/d-itlab.co.jp\/en#listItem","name":"\u6280\u8853\u8005\u30d6\u30ed\u30b0"}},{"@type":"ListItem","@id":"https:\/\/d-itlab.co.jp\/en#listItem","position":2,"name":"\u6280\u8853\u8005\u30d6\u30ed\u30b0","item":"https:\/\/d-itlab.co.jp\/en","nextItem":{"@type":"ListItem","@id":"https:\/\/d-itlab.co.jp\/en\/category\/programming\/#listItem","name":"Programming"},"previousItem":{"@type":"ListItem","@id":"https:\/\/d-itlab.co.jp#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/d-itlab.co.jp\/en\/category\/programming\/#listItem","position":3,"name":"Programming","item":"https:\/\/d-itlab.co.jp\/en\/category\/programming\/","nextItem":{"@type":"ListItem","@id":"https:\/\/d-itlab.co.jp\/en\/blog\/20160713\/#listItem","name":"How to build matcaffe on OSX10.11.5 and MATLAB2016a"},"previousItem":{"@type":"ListItem","@id":"https:\/\/d-itlab.co.jp\/en#listItem","name":"\u6280\u8853\u8005\u30d6\u30ed\u30b0"}},{"@type":"ListItem","@id":"https:\/\/d-itlab.co.jp\/en\/blog\/20160713\/#listItem","position":4,"name":"How to build matcaffe on OSX10.11.5 and MATLAB2016a","previousItem":{"@type":"ListItem","@id":"https:\/\/d-itlab.co.jp\/en\/category\/programming\/#listItem","name":"Programming"}}]},{"@type":"Organization","@id":"https:\/\/d-itlab.co.jp\/#organization","name":"\u682a\u5f0f\u4f1a\u793e\u30c7\u30f3\u30bd\u30fc\u30a2\u30a4\u30c6\u30a3\u30fc\u30e9\u30dc\u30e9\u30c8\u30ea","description":"\u591a\u69d8\u306a\u4eba\u3001\u591a\u69d8\u306a\u6280\u8853\u3001\u591a\u69d8\u306a\u601d\u3044\u304c\u30aa\u30fc\u30d7\u30f3\u306b\u4ea4\u3058\u308a\u5408\u3046\u7814\u7a76\u958b\u767a\u4f01\u696d\u3002\u305d\u308c\u304c\u30c7\u30f3\u30bd\u30fc\u30a2\u30a4\u30c6\u30a3\u30fc\u30e9\u30dc\u30e9\u30c8\u30ea\u3067\u3059\u3002\u308f\u305f\u3057\u305f\u3061\u306f\u81ea\u7531\u306a\u767a\u60f3\u3067\u307e\u3060\u898b\u306c\u4e16\u754c\u306e\u30ef\u30af\u30ef\u30af\u3092\u5275\u9020\u3057\u307e\u3059\u3002","url":"https:\/\/d-itlab.co.jp\/"},{"@type":"Person","@id":"https:\/\/d-itlab.co.jp\/author\/aem_admin\/#author","url":"https:\/\/d-itlab.co.jp\/author\/aem_admin\/","name":"aem_admin","image":{"@type":"ImageObject","@id":"https:\/\/d-itlab.co.jp\/en\/blog\/20160713\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/50ebe23fcef3c70c0aeed15562288d9b41c62dc5031c4db36c9743fad3121427?s=96&d=mm&r=g","width":96,"height":96,"caption":"aem_admin"}},{"@type":"WebPage","@id":"https:\/\/d-itlab.co.jp\/en\/blog\/20160713\/#webpage","url":"https:\/\/d-itlab.co.jp\/en\/blog\/20160713\/","name":"How to build matcaffe on OSX10.11.5 and MATLAB2016a - \u682a\u5f0f\u4f1a\u793e\u30c7\u30f3\u30bd\u30fc\u30a2\u30a4\u30c6\u30a3\u30fc\u30e9\u30dc\u30e9\u30c8\u30ea","description":"I guess that many engineers have some troubles when they try to build matcaffe on OSX. 1. Link error \u2013 google::protobuf 2. Link error \u2013 mex functions \u2013 not found _mxArrayToString 3. Link error \u2013 dyld: Library not loaded: @rpath\/libmkl_intel_lp64.dylib I found a way to avoid these troubles, so I will write down about it.","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/d-itlab.co.jp\/#website"},"breadcrumb":{"@id":"https:\/\/d-itlab.co.jp\/en\/blog\/20160713\/#breadcrumblist"},"author":{"@id":"https:\/\/d-itlab.co.jp\/author\/aem_admin\/#author"},"creator":{"@id":"https:\/\/d-itlab.co.jp\/author\/aem_admin\/#author"},"datePublished":"2016-07-13T12:07:27+09:00","dateModified":"2026-03-10T12:07:37+09:00"},{"@type":"WebSite","@id":"https:\/\/d-itlab.co.jp\/#website","url":"https:\/\/d-itlab.co.jp\/","name":"\u682a\u5f0f\u4f1a\u793e\u30c7\u30f3\u30bd\u30fc\u30a2\u30a4\u30c6\u30a3\u30fc\u30e9\u30dc\u30e9\u30c8\u30ea","description":"\u591a\u69d8\u306a\u4eba\u3001\u591a\u69d8\u306a\u6280\u8853\u3001\u591a\u69d8\u306a\u601d\u3044\u304c\u30aa\u30fc\u30d7\u30f3\u306b\u4ea4\u3058\u308a\u5408\u3046\u7814\u7a76\u958b\u767a\u4f01\u696d\u3002\u305d\u308c\u304c\u30c7\u30f3\u30bd\u30fc\u30a2\u30a4\u30c6\u30a3\u30fc\u30e9\u30dc\u30e9\u30c8\u30ea\u3067\u3059\u3002\u308f\u305f\u3057\u305f\u3061\u306f\u81ea\u7531\u306a\u767a\u60f3\u3067\u307e\u3060\u898b\u306c\u4e16\u754c\u306e\u30ef\u30af\u30ef\u30af\u3092\u5275\u9020\u3057\u307e\u3059\u3002","inLanguage":"en-US","publisher":{"@id":"https:\/\/d-itlab.co.jp\/#organization"}}]},"og:locale":"en_US","og:site_name":"\u682a\u5f0f\u4f1a\u793e\u30c7\u30f3\u30bd\u30fc\u30a2\u30a4\u30c6\u30a3\u30fc\u30e9\u30dc\u30e9\u30c8\u30ea - \u591a\u69d8\u306a\u4eba\u3001\u591a\u69d8\u306a\u6280\u8853\u3001\u591a\u69d8\u306a\u601d\u3044\u304c\u30aa\u30fc\u30d7\u30f3\u306b\u4ea4\u3058\u308a\u5408\u3046\u7814\u7a76\u958b\u767a\u4f01\u696d\u3002\u305d\u308c\u304c\u30c7\u30f3\u30bd\u30fc\u30a2\u30a4\u30c6\u30a3\u30fc\u30e9\u30dc\u30e9\u30c8\u30ea\u3067\u3059\u3002\u308f\u305f\u3057\u305f\u3061\u306f\u81ea\u7531\u306a\u767a\u60f3\u3067\u307e\u3060\u898b\u306c\u4e16\u754c\u306e\u30ef\u30af\u30ef\u30af\u3092\u5275\u9020\u3057\u307e\u3059\u3002","og:type":"article","og:title":"How to build matcaffe on OSX10.11.5 and MATLAB2016a - \u682a\u5f0f\u4f1a\u793e\u30c7\u30f3\u30bd\u30fc\u30a2\u30a4\u30c6\u30a3\u30fc\u30e9\u30dc\u30e9\u30c8\u30ea","og:description":"I guess that many engineers have some troubles when they try to build matcaffe on OSX. 1. Link error \u2013 google::protobuf 2. Link error \u2013 mex functions \u2013 not found _mxArrayToString 3. Link error \u2013 dyld: Library not loaded: @rpath\/libmkl_intel_lp64.dylib I found a way to avoid these troubles, so I will write down about it.","og:url":"https:\/\/d-itlab.co.jp\/en\/blog\/20160713\/","og:image":"https:\/\/d-itlab.co.jp\/wp-content\/uploads\/2025\/07\/itlab_OGP.jpg","og:image:secure_url":"https:\/\/d-itlab.co.jp\/wp-content\/uploads\/2025\/07\/itlab_OGP.jpg","og:image:width":1200,"og:image:height":630,"article:published_time":"2016-07-13T03:07:27+00:00","article:modified_time":"2026-03-10T03:07:37+00:00","twitter:card":"summary_large_image","twitter:title":"How to build matcaffe on OSX10.11.5 and MATLAB2016a - \u682a\u5f0f\u4f1a\u793e\u30c7\u30f3\u30bd\u30fc\u30a2\u30a4\u30c6\u30a3\u30fc\u30e9\u30dc\u30e9\u30c8\u30ea","twitter:description":"I guess that many engineers have some troubles when they try to build matcaffe on OSX. 1. Link error \u2013 google::protobuf 2. Link error \u2013 mex functions \u2013 not found _mxArrayToString 3. Link error \u2013 dyld: Library not loaded: @rpath\/libmkl_intel_lp64.dylib I found a way to avoid these troubles, so I will write down about it.","twitter:image":"https:\/\/d-itlab.co.jp\/wp-content\/uploads\/2025\/07\/itlab_OGP.jpg"},"aioseo_meta_data":{"post_id":"1403","title":null,"description":null,"keywords":null,"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"BlogPosting","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":{"faqs":[],"keyPoints":[],"titles":[],"descriptions":[],"socialPosts":{"email":[],"linkedin":[],"twitter":[],"facebook":[],"instagram":[]}},"created":"2026-03-10 03:07:27","updated":"2026-03-10 03:07:48","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/d-itlab.co.jp\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/d-itlab.co.jp\/en\" title=\"\u6280\u8853\u8005\u30d6\u30ed\u30b0\">\u6280\u8853\u8005\u30d6\u30ed\u30b0<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/d-itlab.co.jp\/en\/category\/programming\/\" title=\"Programming\">Programming<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tHow to build matcaffe on OSX10.11.5 and MATLAB2016a\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/d-itlab.co.jp"},{"label":"\u6280\u8853\u8005\u30d6\u30ed\u30b0","link":"https:\/\/d-itlab.co.jp\/en"},{"label":"Programming","link":"https:\/\/d-itlab.co.jp\/en\/category\/programming\/"},{"label":"How to build matcaffe on OSX10.11.5 and MATLAB2016a","link":"https:\/\/d-itlab.co.jp\/en\/blog\/20160713\/"}],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/d-itlab.co.jp\/wp-json\/wp\/v2\/posts\/1403","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/d-itlab.co.jp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/d-itlab.co.jp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/d-itlab.co.jp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/d-itlab.co.jp\/wp-json\/wp\/v2\/comments?post=1403"}],"version-history":[{"count":1,"href":"https:\/\/d-itlab.co.jp\/wp-json\/wp\/v2\/posts\/1403\/revisions"}],"predecessor-version":[{"id":1404,"href":"https:\/\/d-itlab.co.jp\/wp-json\/wp\/v2\/posts\/1403\/revisions\/1404"}],"wp:attachment":[{"href":"https:\/\/d-itlab.co.jp\/wp-json\/wp\/v2\/media?parent=1403"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/d-itlab.co.jp\/wp-json\/wp\/v2\/categories?post=1403"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/d-itlab.co.jp\/wp-json\/wp\/v2\/tags?post=1403"},{"taxonomy":"kind_blog","embeddable":true,"href":"https:\/\/d-itlab.co.jp\/wp-json\/wp\/v2\/kind_blog?post=1403"},{"taxonomy":"member","embeddable":true,"href":"https:\/\/d-itlab.co.jp\/wp-json\/wp\/v2\/member?post=1403"},{"taxonomy":"keyword_tech","embeddable":true,"href":"https:\/\/d-itlab.co.jp\/wp-json\/wp\/v2\/keyword_tech?post=1403"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}