I have a Dll compiled with cygwin -mno-cygwin in order to avoid the
cygwin dependency. Now I switched to msvc++ to use this dll in my
project. I therefore generated myself an import lib called test.lib
that is attached to the c-dll.
In my C++ Project with msvc++ I would now like to use this dll to link
agains a static c++ library compiled with msvc++.
I have already done this and it did work (no unresolved symbols :))
Now I wanted to use this static library (that still has the dependency
to the c-dll) to link a c++ programm against it.
Now I get several linker errors. On example is below:
FLENS.lib(blas.obj) : error LNK2019: unresolved external symbol
erenced in function "void __cdecl flens::trmm(enum
s::BlasSide,enum flens::StorageUpLo,enum flens::Transpose,enum
nt,int,double,double const *,int,double *,int)" (?
s01_t07_vectorviews.exe : fatal error LNK1120: 18 unresolved externals
Can anybody explain me what I am doing wrong?? I know that C++ uses
name mangling, but I used the msvc compiler already for the merging of
the c-dll and the c++ static lib and now just wanted to continue....
Thank you very much in advance for your help.