Compile/link Win64

Vladimir Panteleev vladimir at thecybershadow.net
Sun Jan 12 02:19:24 PST 2014


On Friday, 10 January 2014 at 20:18:55 UTC, Nick Sabalausky wrote:
> On 1/10/2014 3:06 PM, Vladimir Panteleev wrote:
>> On Friday, 10 January 2014 at 20:02:49 UTC, Nick Sabalausky 
>> wrote:
>>> LINK : fatal error LNK1104: cannot open file 'shell32.lib'
>>
>> What are your LIB and LIBPATH environment variables set to?
>
> >echo %LIB%
> C:\Program Files (x86)\Microsoft Visual Studio 
> 8\VC\ATLMFC\LIB;C:\Program Files (x86)\Microsoft Visual Studio 
> 8\VC\LIB;C:\Program Files (x86)\Microsoft Visual Studio 
> 8\VC\PlatformSDK\lib;C:\Program Files (x86)\Microsoft Visual 
> Studio 8\SDK\v2.0\lib;
>
> >echo %LIBPATH%
> C:\Windows\Microsoft.NET\Framework\v2.0.50727;C:\Program Files 
> (x86)\Microsoft Visual Studio 8\VC\ATLMFC\LIB

That's not right. If you're building for x64, the LIB paths 
should contain amd64 library directories.

Are you running the vcvarsall batch file with the right parameter 
("amd64")?


More information about the Digitalmars-d-learn mailing list