Home
Reply
Highlighted
Regular Contributor
Posts: 46
0

Compiling errors for HUtilityPMI in HOOPS

Dear all,

 

I am using HOOPS-1620_VS_NET_2005. Since I need to involve geometric and dimensioning and tolerancing in my project, I copied HUtilityPMI.h and HUtilityPMI.cpp from HOOPS-1900 to HOOPS-1620. Those two files are located at C:\Program Files\HOOPS-1620_VS_NET_2005\Dev_Tools\hoops_mvo\source

 

After I compiled the project, I was confronting some errors as follows. It seemd something wrong with two files.

I am pretty sure i have already included all header files for HUtility.h and HUtility.cpp.

 

Pleas help me out, give me some clues. Thank you in advance.

 

c:\program files\hoops-1620_vs_net_2005\demo\mfc\copy of hoops_shen\partviewer_common\hutilitypmi.cpp(2987) : fatal error C1010: unexpected end of file while looking for precompiled header. Did you forget to add '#include "StdAfx.h"' to your source?

CSolidHoopsView.cpp

c:\program files\hoops-1620_vs_net_2005\demo\mfc\copy of hoops_shen\partviewer_common\hutilitypmi.h(482) : error C2061: syntax error : identifier 'H_WCS'

c:\program files\hoops-1620_vs_net_2005\demo\mfc\copy of hoops_shen\partviewer_common\hutilitypmi.h(482) : error C2535: 'PMI::String::String(void)' : member function already defined or declared

c:\program files\hoops-1620_vs_net_2005\demo\mfc\copy of hoops_shen\partviewer_common\hutilitypmi.h(479) : see declaration of 'PMI::String::String'

c:\program files\hoops-1620_vs_net_2005\demo\mfc\copy of hoops_shen\partviewer_common\hutilitypmi.h(483) : error C2061: syntax error : identifier 'H_UTF8'

c:\program files\hoops-1620_vs_net_2005\demo\mfc\copy of hoops_shen\partviewer_common\hutilitypmi.h(483) : error C2535: 'PMI::String::String(void)' : member function already defined or declared

c:\program files\hoops-1620_vs_net_2005\demo\mfc\copy of hoops_shen\partviewer_common\hutilitypmi.h(479) : see declaration of 'PMI::String::String'