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
Post a Comment