Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

getting problem to call function from static library

hello,

I have made one static library for some function and i want to call that function in another project. but I am getting error like :

InitializeBuildStatus: 1> Touching "Debug\callplazma.unsuccessfulbuild". 1>ClCompile: 1> main.cpp 1>c:\users\ankit\documents\visual studio 2010\projects\callplazma\callplazma\plazma.h(2): fatal error C1083: Cannot open include file: 'opencv2/core/core.hpp': No such file or directory 1> 1>Build FAILED. 1> 1>Time Elapsed 00:00:00.07 ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

please help me how can I solve this problem.

if I add again all libraries in linker in new project than its work fine but, i think its not right concept as I already make one static library.

Thank you very much in advance.

click to hide/show revision 2
retagged

updated 2015-05-18 08:44:41 -0600

berak gravatar image

getting problem to call function from static library

hello,

I have made one static library for some function and i want to call that function in another project. but I am getting error like :

InitializeBuildStatus: 1> Touching "Debug\callplazma.unsuccessfulbuild". 1>ClCompile: 1> main.cpp 1>c:\users\ankit\documents\visual studio 2010\projects\callplazma\callplazma\plazma.h(2): fatal error C1083: Cannot open include file: 'opencv2/core/core.hpp': No such file or directory 1> 1>Build FAILED. 1> 1>Time Elapsed 00:00:00.07 ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

please help me how can I solve this problem.

if I add again all libraries in linker in new project than its work fine but, i think its not right concept as I already make one static library.

Thank you very much in advance.