[vtkusers] "Local.lib" missing when pcmaker runs "Local" option

Wolfram H Volpi whv88240 at Bayou.UH.EDU
Sat Oct 7 13:29:47 EDT 2000


I am trying to source install VTK 3.1 onto NT 4.0 with MS Visual Studio
6.0.  When I run nmake:
	error LNK1104: cannot open file "..\lib\vtkLocal.lib"

The "Local.lib" file is missing, it is not on the computer.

Do you have any suggestions?

Detailed symptoms are given below.

Thank you in advance,
Wolfram Volpi.

THE PROBLEM:

When I run nmake WITHOUT pcmaker's "Local" option, built as
INCREMENTAL linking, vtk-tcl WORKS fine.

When I run nmake WITH pcmaker's "Local" option, and build as 
NORMAL linking (not incremental), then vtk-tcl WORKS fine.

When running nmake WITH pcmaker's "Local" option, and build as 
INCREMENTAL linking, I get fatal ERROR LNK1104: cannot open file
"..\lib\vtkLocal.lib".
It is notable that all nine file prefixes in folder C:\vtkbin\Debug\lib
(Common, Contrib, Graphics0, ... , Graphics5, Imaging, and Local), 
each have five suffixes (.dll .exp .ilk .lib and .pdp).
Except that "Local.lib" is missing.  It is not anywhere on the computer.
The problem was identical in building debug version and optimized versions.

The problem is now narrowed down to a missing "Local.lib" file.
The question is then:
Why is "Local.lib" missing when pcmaker runs the "Local" option AND vtk is
built as "incremental linking"?

Here is what the build looks from the MS DOS prompt:

C:\vtkbin\Debug> nmake
.
.
.
Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

        cd ../
        cd vtktcl
        nmake ..\lib\vtktcl.dll

Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.

making tcl library...
        link.exe @C:\TEMP\nma00200.
LINK : fatal error LNK1104: cannot open file "..\lib\vtkLocal.lib"
NMAKE : fatal error U1077: 'link.exe' : return code '0x450'
Stop.
NMAKE : fatal error U1077: '"D:\Program Files\Microsoft Visualization
Studio\VC9
8\Bin\NMAKE.EXE"' : return code '0x2'
Stop.

C:\vtkbin\Debug>
----------------------------------------------------------------
So I tried the debug version, normal linking (not incremental), and it
worked.

C:\vtkbin\Debug\vtkdll>nmake	(no error)

C:\vtkbin\Debug\vtktcl>nmake	(no error)

Copy vtkdll.dll and vtktcl.dll into C:\winnt\system

Click on D:\vtk31CD\vtk\graphics\examplesTcl\hello.tcl	(it works)





More information about the vtkusers mailing list