Closed hasaranga closed 11 months ago
Yes, of course. Besides the /MTd flag, do you also need the library to be built with debug info?
/MTd is debug version, right? What do you mean by debug info? pdb file?( I just want to link the lib with the debug version of my application)
In the libraries artifact of the last workflow you will now find these new files:
RelWithDebInfo/tvision-relwithdebinfo.lib
RelWithDebInfo/tvision-relwithdebinfo.pdb
What you are looking for is tvision-relwithdebinfo.lib
. This file is built with /MTd
. You can ignore the pdb file.
Let me know if that worked.
I think I needed debug with debug info. Not release with debug info.
Okay, I have added tvision-debug.lib
. See now if it works.
Also, make sure you are using the last version of the header files. There may have been ABI-breaking changes since the last time you downloaded them.
That works great! So easy to work with Visual Studio. I just added include dir into the project includes. And linked with lib file. Then added /permissive- /Zc:__cplusplus compiler command line.
You should mention about visual studio lib files in the readme. :-)
Can you also provide multi-threaded debug (/MTd) version of static lib for MSVC? Artifacts section contains only the release version.