c++ - Error when connecting qt and matlab -


after putting following in .pro file of qt project (follow tutorials)

includepath +=/applications/matlab/matlab_r2016a.app/extern/include libs += -l/applications/matlab/matlab_r2016a.app/bin/maci64 

i try create engine pointer compiler show

:-1: error: symbol(s) not found architecture x86_64
:-1: error: linker command failed exit code 1 (use -v see invocation)

can 1 me how solve problem or how connect qt matlab?

you have defined directory in find necessary shared libraries haven't specified actual libraries using -l flag

libs += -l/applications/matlab/matlab_r2016a.app/bin/maci64 -lmx -leng 

Comments

Popular posts from this blog

php - Passing multiple values in a url using checkbox -

compilation - PHP install fails on Ubuntu 14 (make: *** [sapi/cli/php] Error 1) PHP 5.6.20 -

sql - Postgresql tables exists, but getting "relation does not exist" when querying -