
Sun, 04/23/2006 - 09:46
Forums:
Hi All,
I had written a code which was working so well with OCC V.5.X but in the nweest version the folloing error occures. Could you please guide me to fix it?
regards,
A.Akbari
Linking...
Creating library ../Debug/Viewer3d.lib and object ../Debug/Viewer3d.exp
StdAfx.obj : error LNK2001: unresolved external symbol "public: __thiscall TDF_Transaction::TDF_Transaction(class TCollection_AsciiString const &)" (??0TDF_Transaction@@QAE@ABVTCollection_AsciiString@@@Z)
../Debug/Viewer3d.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
Viewer3d.exe - 2 error(s), 0 warning(s)
Sun, 04/23/2006 - 12:20
hi,
since OCCT has rebuild OCAF you have to add another dependency to your project. I think it was "TKLCAF.lib".
Just try it,
Patrik
Wed, 01/03/2007 - 20:04
Use Opencascade class browser to find the library or add all the libraries.