iCAx开思网
标题:
求教
[打印本页]
作者:
ljf22222
时间:
2009-8-14 22:10
标题:
求教
本人做Pro/E二次开发的时候用到了函数ProUtilCollectSolidSurfaces(),加了头文件#include "UtilCollect.h";
但编译的时候出现如下错误:
IntfExp error LNK2019: unresolved external symbol "enum ProErrors __cdecl ProUtilCollectSolidSurfaces(struct sld_part *,struct geom * * *)" ([email=?ProUtilCollectSolidSurfaces@@YA?AW4ProErrors@@PAUsld_part@@PAPAPAUgeom@@@Z]?ProUtilCollectSolidSurfaces@@YA?AW4ProErrors@@PAUsld_part@@PAPAPAUgeom@@@Z[/email]) referenced in function "void __cdecl ShowAllSurfaces(class CTreeCtrl &,struct _TREEITEM *)" ([email=?ShowAllSurfaces@@YAXAAVCTreeCtrl@@PAU_TREEITEM@@@Z]?ShowAllSurfaces@@YAXAAVCTreeCtrl@@PAU_TREEITEM@@@Z[/email])
请教高手是什么原因?
作者:
Easy2009
时间:
2009-8-14 23:42
把包含函数的源代码文件也要加到工程里。应该可以解决。
欢迎光临 iCAx开思网 (https://www.icax.org/)
Powered by Discuz! X3.3