TKernel linker error with VC Express

Dear all,

I just started with OpenCascade and therefore everything is quite a little bit huge at the beginning :)

After I downloaded the self extracting file and did the first install I wanted to build myself the debug libraries and started with the Foundation Classes Solution.

There I found the Tkernel, Tkmath and TkAdvTools projects. Now I first compiled the Tkernel as it does not require any other open cascade libraries (as far as I have seen in the linker options)

Unfortunately during the linker step I get several liker errors like:

1>OSD_WNT_1.obj : error LNK2001: unresolved external symbol __imp__wsprintfA
1>OSD_Environment.obj : error LNK2019: unresolved external symbol __imp__wsprintfA referenced in function "void __fastcall _set_error(class OSD_Error &,unsigned long)" (?_set_error@@YIXAAVOSD_Error@@K@Z)
1>OSD_FileNode.obj : error LNK2001: unresolved external symbol __imp__wsprintfA
1>OSD_Host.obj : error LNK2001: unresolved external symbol __imp__wsprintfA
1>OSD_signal_WNT.obj : error LNK2001: unresolved external symbol __imp__wsprintfA

Anyway, the Tkmath and the TkAdvTool still compile just fine and even they depend on the Tkernel library the linker is not complaining. But in the end all the libraries are built, only the Tkernel.dll is not built.

Could you help me on what I am doing wrong in this case?

Thx a lot in advance.

With best regards,

Joachim

P.S.: I already included the Microsoft Platform SDK into the project paths for the libs :)

dvdjimmy's picture

Hi,

i managed to compile nearly everything now except the Tkernel library.

Is this library necessary if I want to build a project with OpenCascade ??

Thx in advance.

Joachim