You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Runtime Library of geogram and fmt (/MT) are different with Tetwild (/MD). Thus, I change the Runtime Library of geogram and fmt from MT to MD. Then I can build successfully. I want to know if there are problems about CMakeLists.txt. I don't want to correct the configuration by hand.
The link errors are as below:
1>geogram.lib(common.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MD_DynamicRelease' in main.obj
1>fmt.lib(format.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MT_StaticRelease' doesn't match value 'MD_DynamicRelease' in main.obj
The text was updated successfully, but these errors were encountered:
I had the same problem and I solved changing all the 'Runtime Library' properties in Properties->C++->Code Generation for all projects at the same value, in my case is 'Multi-threaded Debug DLL (/MDd)'. Then clean and recompile.
Yes, there is a problem with runtime library setting. We are replacing /MD with /MT in geogram in cmakefile, which results in a problem after updating the libigl version. The temporary solution is to replace all /MD to /MT (/MTd in debug) manually in VS setting.
We are working on this problem. Thank you for reporting it.
The
Runtime Library
of geogram and fmt (/MT
) are different with Tetwild (/MD
). Thus, I change theRuntime Library
of geogram and fmt fromMT
toMD
. Then I can build successfully. I want to know if there are problems about CMakeLists.txt. I don't want to correct the configuration by hand.The link errors are as below:
The text was updated successfully, but these errors were encountered: