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

java - nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet Hibernate+SpringMVC -

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

asp.net mvc - breakpoint on javascript in CSHTML? -