I've tested almost every solution found on the net to solve this problem.I'm trying to plot some arrays of spheres in c++ by calling the matlab engine. I did all steps according to this video:
https://www.youtube.com/watch?v=vQ5aIxCX3To
However it didn't work. I tried to install libsndfile
and add the directory to my project here:
properties->C/C++->General-> Additional include directories and linker->general->additional library directories
I've called #include <engine.h>
and using Engine *m_pEngine= engOpen("null");
to run matlab engine.
Errors:
Error 1 error LNK2019: unresolved external symbol _engOpen referenced in function _main C:\Users\Eric\documents\visual studio 2013\Projects\Project5\Project5\Source.obj Project5 Error 2 error LNK1120: 1 unresolved externals C:\Users\Eric\documents\visual studio 2013\Projects\Project5\Debug\Project5.exe 1 1 Project5
Thanks