I am trying to use the Open Cascade library to create a model converter (DLL). The Open Cascade library contains many DLLs and Libs
I have specified the additional libraries
TKDEGLTF.lib
TKMesh.lib
TKernel.lib
TKXSBase.lib
TKDESTEP.lib
TKLCAF.lib
TKCDF.lib
TKXCAF.lib
TKMath.lib
And it compiles... great... But, when I attempt to run it
I don't want to include ~30 DLLs in the build directory, how do I statically include the libraries?
I have tried the /WHOLEARCHIVE linker option, but I get
Error LNK2005 __NULL_IMPORT_DESCRIPTOR already defined in TKDEGLTF.lib(TKDEGLTF.dll) Stp2Glb TKMesh.lib(TKMesh.dll) 1
Please help me statically include all of the libraries before I pull out the little remaining hair I have left.
