<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Aptos;
panose-1:2 11 0 4 2 2 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Aptos",sans-serif;
mso-ligatures:standardcontextual;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:11.0pt;
mso-ligatures:none;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="#467886" vlink="#96607D" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#212121;mso-ligatures:none">Hello,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#212121;mso-ligatures:none"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#212121;mso-ligatures:none">I’m having trouble compiling PDAL from source on Mac OS when turning on the BUILD_MATLAB_PLUGIN=ON. PDAL compiles fine without this, but when I execute cmake as follows:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#212121;mso-ligatures:none"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#212121;mso-ligatures:none">cmake -G Ninja -DBUILD_PLUGIN_MATLAB=ON -DMatlab_MX_LIBRARY=/Applications/MATLAB_R2024a.app/bin/maca64 -DMatlab_MAT_LIBRARY=/Applications/MATLAB_R2024a.app/bin/maca64 -DMatlab_ENG_LIBRARY=/Applications/MATLAB_R2024a.app/bin/maca64
-DMatlab_INCLUDE_DIRS=/Applications/MATLAB_R2024a.app/extern/include ..<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#212121;mso-ligatures:none"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#212121;mso-ligatures:none">I get the following error message:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#212121;mso-ligatures:none"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#212121;mso-ligatures:none">CMake Error at cmake/matlab.cmake:4 (find_library):<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#212121;mso-ligatures:none"> Could not find Matlab using the following names:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#212121;mso-ligatures:none">Call Stack (most recent call first):<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#212121;mso-ligatures:none"> plugins/matlab/CMakeLists.txt:3 (include)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#212121;mso-ligatures:none"> <o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#212121;mso-ligatures:none">Let me know if there’s any other info I can provide, and any help is much appreciated. Thanks.<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-family:"Calibri",sans-serif;color:black;mso-ligatures:none">Patrick</span></p>
</div>
</body>
</html>