Hi,
I am having problem while trying to cmake this project.
Here is what I keep getting.
==========================
NIA-LG-01742679:bin orlovni$ cmake ..
-- Build type: Release
CMake Error at matlab/FindMatlab.cmake:125 (message):
MATLAB_ROOT variable not provider by the user, and 'matlab' command not in
the path either. I do not know where to search for Matlab.
Call Stack (most recent call first):
CMakeLists.txt:82 (find_package)
-- Configuring incomplete, errors occurred!
See also "…/gerardus/bin/CMakeFiles/CMakeOutput.log".
==========================
It is not like MATLAB_ROOT is a complete stranger to the environment:
==========================
NIA-LG-01742679:bin orlovni$ printenv
TERM_PROGRAM=Apple_Terminal
TERM=xterm-256color
SHELL=/bin/sh
TMPDIR=/var/folders/1f/_86m3sn57dz0qt4kmfdh67hh5s90th/T/
Apple_PubSub_Socket_Render=/private/tmp/com.apple.launchd.se2CxQhSpd/Render
TERM_PROGRAM_VERSION=361.1
OLDPWD=…/gerardus
TERM_SESSION_ID=8C060517-8FA6-42B3-83D1-7B4E263827DD
USER=orlovni
SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.DI0ZaEjvd6/Listeners
__CF_USER_TEXT_ENCODING=0xB948350:0x0:0x0
PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin
PWD=…/gerardus/bin
LANG=en_US.UTF-8
XPC_FLAGS=0x0
XPC_SERVICE_NAME=0
HOME=/Users/orlovni
SHLVL=1
MATLAB_ROOT=/Applications/MATLAB_R2017a.app
LOGNAME=orlovni
DISPLAY=/private/tmp/com.apple.launchd.l3RBCB5OJk/org.macosforge.xquartz:0
SECURITYSESSIONID=186bb
_=/usr/bin/printenv
==========================
So, what do I do wrong? Any help is much appreciated.
Regards,
Nik
--
You received this message because you are subscribed to the Google Groups "gerardus-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gerardus-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to gerardus-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.