Rebuild with VS 2005


I try do rebuild the ImportExport sample (Open CASCADE 6.1.0) and get the following error: "fatal error LNK1181: Input file 'TKVrml.lib' can not be opened.". What's the problem and what can I do?


Jan Brüninghaus's picture

Add the directory where TKVrml.lib resides to the Library-Searchpath.

P Dolbey's picture

This looks like the old problem where apps in debug mode trying to link with OCC libs in "libd" (and use DLLs in "bind") which aren't there unless you compile a debug version of OCC.

There's other threads around the forum that give resolutions - I have found the simplest option (not necessarily the best) is to copy yhe contents of lib into libd (and bin into bind) unless you bite the bullet and build your own version.