cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

linking failure with WildFire 3

gchampoux
1-Newbie

linking failure with WildFire 3

I have a toolkit app that was developed under WildFire 2.
I needed to make a minor change.
I am now using WildFire 3.
The source code compiles fine.
However, the linking now fails with these messages:
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

Linking wi_custom.dll
10:04 AM
link -out:wi_custom.dll /subsystem:windows /debug:none /debugtype:coff /machine:i386 /dll wi_utils.obj coordinfomain.obj selectpoints.obj sessioninfomain.obj tabdimmain.obj exitsavemain.obj wi_capp_init_cimx.obj wi_matrix.obj wi_plot_cimx.obj wi_set_capp.obj inittermall.obj C:/ptc/wildfire/protoolkit/i486_nt/obj/protk_dll.lib C:/ptc/wildfire/prodevelop/i486_nt/obj/prodev_dll.lib libc.lib kernel32.lib user32.lib wsock32.lib advapi32.lib mpr.lib winspool.lib netapi32.lib psapi.lib

Microsoft (R) Incremental Linker Version 6.00.8168
Copyright (C) Microsoft Corp 1992-1998. All rights reserved.

Creating library wi_custom.lib and object wi_custom.exp
protk_dll.lib(cu_appid.obj) : error LNK2001: unresolved external symbol __ftol2
protk_dll.lib(cttime.obj) : error LNK2001: unresolved external symbol __ftol2
protk_dll.lib(ctwcfun.obj) : error LNK2001: unresolved external symbol __ftol2
protk_dll.lib(ctfileutil.obj) : error LNK2001: unresolved external symbol __ftol2
protk_dll.lib(frgnalt3.obj) : error LNK2001: unresolved external symbol __ftol2
protk_dll.lib(windows_32.obj) : error LNK2001: unresolved external symbol __ftol2
wi_custom.dll : fatal error LNK1120: 1 unresolved externals
NMAKE : fatal error U1077: 'link' : return code '0x460'
Stop.
I am using MS VC++ 6.0.
Any ideas as to what changed in WF3 to cause this (and the corrective action)?
I could probably re-install WF2 and recompile & link.
But, I would like to move forward.

Gerry Champoux Williams International
Lead Engineer 2280 E. West Maple Road
Information Technology Walled Lake, MI 48390
(248) 624-5200, x2816 (248) 960-2607 (fax)
- http://www.williams-int.com
Pro/E 2001, build 2004290 (soon to be WildFire 2 or 3)
Intralink 3.4, M030

This thread is inactive and closed by the PTC Community Management Team. If you would like to provide a reply and re-open this thread, please notify the moderator and reference the thread. You may also use "Start a topic" button to ask a new question. Please be sure to include what version of the PTC product you are using so another community member knowledgeable about your version may be able to assist.
2 REPLIES 2

Hi,
with Wildfire 3.0 you have to use Visual Studio 2003 to compile and
link. Visual Studio 6 is no longer supported. And do not try with
Visual Studio 2005, it doesn't work either...
Besides, some little changes to the makefile could be needed.

HTH

-Stefano

At 16.

Thanks to all that replied.
The universal answer was that I need to upgrade to Visual Studio .net 2003.
Some said that 2005 has problems.

Has anyone tried Microsoft's new free versions (C++ Express)?

--
Gerry Champoux Williams International
Lead Engineer 2280 E. West Maple Road
Information Technology Walled Lake, MI 48390
(248) 624-5200, x2816 (248) 960-2607 (fax)
- http://www.williams-int.com
Pro/E 2001, build 2004290 (soon to be WildFire 2 or 3)
Intralink 3.4, M030


Original message:
Announcements
Attention: Creo 7.0 Customers
Please consider upgrading
End of Life announcement here.

NEW Creo+ Topics:
PTC Control Center
Creo+ Portal
Real-time Collaboration