Buildint the Tutorial qt example on visual c ++ 2010 express

I am having difficulty building the "tutorial" program.

I included more directories to get rid of file not found errors. It seems to compile ok now, but has the error at the end:

1> Creating library .\Tutorial.lib and object .\Tutorial.exp
1>qtmaind.lib(qtmain_win.obj) : warning LNK4204: 'C:\OpenCASCADE6.5.3\samples\qt\tutorial\vc100.pdb' is missing debugging information for referencing module; linking object as if no debug info
1> Tutorial.vcxproj -> C:\OpenCASCADE6.5.3\samples\qt\tutorial\.\Tutorial.exe
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========

When I try to run it, it says:

Tutorial.exe - Entry point not found
The procedure entry point ?Raise@Standard_Failure@@SAXQBD@Z could not be located in the dynamic link library TKernel.dll

Forum supervisor's picture

Dear Darren,
I checked the reported issue. It is not reproduced.
Probably you got the problem because of mistakes at OCCT building step.
Standard OCCT6.5.3 release has libs built with vc9 (not vc10).
Try to rebuild OCCT (at least TKernel.dll) and Tutorial.exe.
Also you may use Dependency Walker to check Tutorial.exe dependencies.