CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2009
    Posts
    48

    Messing with libraries bitness on link

    Hello,

    trying to compile stlport, getting this error:

    Code:
            xilink /incremental:no /release /pdb:"obj\icl\shared\stlport.pdb"  /dll  /libpath:D:\develop\Intel\CPP\lib\intel64 /libpath:"D:\Microsoft\Visual Studio 9\VC\lib\amd64" /libpath:"D:\Microsoft\Visual Studio 9\VC\lib" /libpath:D:\Microsoft\SDKs\Windows\v7.0A\Lib\IA64 /libpath:D:\Microsoft\SDKs\Windows\v7.0A\Lib /version:5.2 /out:obj\icl\shared\stlport.dll obj\icl\shared\dll_main.o obj\icl\shared\fstream.o obj\icl\shared\strstream.o obj\icl\shared\sstream.o obj\icl\shared\ios.o obj\icl\shared\stdio_streambuf.o obj\icl\shared\istream.o obj\icl\shared\ostream.o obj\icl\shared\iostream.o obj\icl\shared\codecvt.o obj\icl\shared\collate.o obj\icl\shared\ctype.o obj\icl\shared\monetary.o obj\icl\shared\num_get.o obj\icl\shared\num_put.o obj\icl\shared\num_get_float.o obj\icl\shared\num_put_float.o obj\icl\shared\numpunct.o obj\icl\shared\time_facets.o obj\icl\shared\messages.o obj\icl\shared\locale.o obj\icl\shared\locale_impl.o obj\icl\shared\locale_catalog.o obj\icl\shared\facets_byname.o obj\icl\shared\complex.o obj\icl\shared\complex_io.o obj\icl\shared\complex_trig.o obj\icl\shared\string.o obj\icl\shared\bitset.o obj\icl\shared\allocators.o obj\icl\shared\c_locale.o obj\icl\shared\cxa.o obj\icl\shared\stlport.res
    xilink: executing 'link'
    Microsoft (R) Incremental Linker Version 10.00.30319.01
    Copyright (C) Microsoft Corporation.  All rights reserved.
    
    -incremental:no
    /incremental:no
    /release
    /pdb:obj\icl\shared\stlport.pdb
    /dll
    /libpath:D:\develop\Intel\CPP\lib\intel64
    "/libpath:D:\Microsoft\Visual Studio 9\VC\lib\amd64"
    "/libpath:D:\Microsoft\Visual Studio 9\VC\lib"
    /libpath:D:\Microsoft\SDKs\Windows\v7.0A\Lib\IA64
    /libpath:D:\Microsoft\SDKs\Windows\v7.0A\Lib
    /version:5.2
    /out:obj\icl\shared\stlport.dll
    ipo_90645obj.obj
    obj\icl\shared\stlport.res
    kernel32.lib(KERNEL32.dll) : fatal error LNK1112: module machine type 'IA64' conflicts with target machine type 'x64'
    NMAKE : fatal error U1077: 'D:\develop\Intel\CPP\bin\intel64\xilink.EXE' : return code '0x458'
    Stop.
    not too clever yet with proper library terminology, used these paths, are they compatible?

  2. #2
    Join Date
    Feb 2005
    Posts
    2,160

    Re: Messing with libraries bitness on link

    IA64 binaries are NOT compatible with x64 binaries in the windows world. I'm not sure what you are trying to do, but you seem to be mixing two types of binaries in your linking step.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured