[pdal] Trouble compiling PDAL with MATLAB Plugin on Mac OS
Andrew Bell
andrew.bell.ia at gmail.com
Mon Jun 3 06:48:27 PDT 2024
I have no access to Matlab and I don't know who does at this point.
Looking at the FindMatlab file, you might try just setting Matlab_ROOT_DIR
and lose the defines for the specific libraries. :shrug:
On Mon, Jun 3, 2024 at 9:41 AM Patrick Rennich via pdal <
pdal at lists.osgeo.org> wrote:
> Hello,
>
>
>
> 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:
>
>
>
> 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 ..
>
>
>
> I get the following error message:
>
>
>
> CMake Error at cmake/matlab.cmake:4 (find_library):
>
> Could not find Matlab using the following names:
>
> Call Stack (most recent call first):
>
> plugins/matlab/CMakeLists.txt:3 (include)
>
>
>
> Let me know if there’s any other info I can provide, and any help is much
> appreciated. Thanks.
>
>
>
>
>
> Patrick
> _______________________________________________
> pdal mailing list
> pdal at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/pdal
>
--
Andrew Bell
andrew.bell.ia at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pdal/attachments/20240603/1814e384/attachment-0001.htm>
More information about the pdal
mailing list