IA64 VS2005 BETA2 project doesn't compile on VS2005 on win32 pc. OLEAUT32.dll

hi,

I used to compile my 64bit project on an itanium using the VS2005 beta 2.

Now that VS2005 cannot run on itanium, I have to compile my project on my win 2000 pc using the ia64 compiler that comes with the VS2005 team trial edition.

but...

Now I get the following error:

error MIDL2457 : oleaut32.dll in build system doesn't support cross platform tlb generation midl.

how can I solved this problem...

furthermore, my application is used in both 32 o 64 bit environment...using the same code... the ia64bit version seems to leak memory annd I can't see why...

to cut it short, my app received lots of calls from client terminals and on ia64, its memory used groww slowly but steadily...on 32 bit pc, it just stay stables... any idea, how I can find the memory leak using maybe a tool like boundschecker on remote debuging

Florian




Answer this question

IA64 VS2005 BETA2 project doesn't compile on VS2005 on win32 pc. OLEAUT32.dll

  • pauldr

    Did you find a solution for this

    I am trying to compile an x64 project on a Windows 2000 Professional machine and am running into the same error "midl : error MIDL2457 : oleaut32.dll in build system doesn't support cross platform tlb generation"

    Any information would be helpful.

    Thank you.



  • Demiurg-HG

    the project is a server answering petitions to clients throught TCIP.

    The original project was running on WIN32 server and works fine. Since then, we compiled the project on itanium using visual studio 2005 beta 2.

    We went throught the process of changing the solution and project file using the integrated wizard (to VS8 files) and creating a new build setting using the configuration manager (debug itanium using win32 setting).

    This way we managed to create executable running on our client Itanium server.

    Now, that we moved on to Win2005 team edition., it is not possible to compile on the client system ( on the itanium).

    You have to compile on the win32 machine, with option set for an itanium target.

    and here comes the problem, VS2005 refuse to compile my project with a 32bit system dll like oleaut32.dll.

    midl : error MIDL2457 : oleaut32.dll in build system doesn't support cross platform tlb generation

    I really don't know what to do. I can't seem to find where this dll is referenced to take it off. Someone mentioned on the net that OLEaut32.dll doesnot suport polymorfic data, and you should have a version of this dll superior at v.5... don't know where to find it or to install it...

    What surprise me, is that the guideline says to compile ia64 project on Win32 machine but VS2005 still try to include win32 dll. I thought that VS2005 team edition would have come with a set of dll adapted for ia64, or maybe I am a bit naive here....

    I tried to go through the all process again of converting the Win32 solution to ia64 solution using this new VS2005 team edition, but still the same error occured at compiling.

    So I can't do further development on this project until I sort this one out....

    a tipical cofiguration option for one of my library:

    c++:

    /Od /D "_DEBUG" /D "_LIB" /D "WIN32" /D "_WIN32_DCOM" /D "_VC80_UPGRADE=0x0710" /D "_MBCS" /FD /EHsc /RTC1 /MDd /Zp16 /GR- /Fp"Itanium\Debug/IID.pch" /Fo"Itanium\Debug/" /Fd"Itanium\Debug/vc70.pdb" /FR"Itanium\Debug\\" /W3 /nologo /c /Wp64 /Zi /TP /errorReport:prompt

    librarian:

    /OUT:"Itanium\Debug/IID.lib" /NOLOGO

    MIDL:

    /nologo /char signed /env ia64 /tlb "Itanium\Debug/IID.tlb" /h "IID_h.h"

    and I get in the build log:

    Creating Type Library...
    64 bit Processing .\DataEngineEx.idl
    DataEngineEx.idl
    64 bit Processing D:\Microsoft Visual Studio 8\VC\PlatformSDK\include\oaidl.idl
    oaidl.idl
    64 bit Processing D:\Microsoft Visual Studio 8\VC\PlatformSDK\include\objidl.idl
    objidl.idl
    64 bit Processing D:\Microsoft Visual Studio 8\VC\PlatformSDK\include\unknwn.idl
    unknwn.idl
    64 bit Processing D:\Microsoft Visual Studio 8\VC\PlatformSDK\include\wtypes.idl
    wtypes.idl
    64 bit Processing D:\Microsoft Visual Studio 8\VC\PlatformSDK\include\basetsd.h
    basetsd.h
    64 bit Processing D:\Microsoft Visual Studio 8\VC\PlatformSDK\include\guiddef.h
    guiddef.h
    64 bit Processing D:\Microsoft Visual Studio 8\VC\PlatformSDK\include\ocidl.idl
    ocidl.idl
    64 bit Processing D:\Microsoft Visual Studio 8\VC\PlatformSDK\include\oleidl.idl
    oleidl.idl
    64 bit Processing D:\Microsoft Visual Studio 8\VC\PlatformSDK\include\servprov.idl
    servprov.idl
    64 bit Processing D:\Microsoft Visual Studio 8\VC\PlatformSDK\include\urlmon.idl
    urlmon.idl
    64 bit Processing D:\Microsoft Visual Studio 8\VC\PlatformSDK\include\msxml.idl
    msxml.idl
    midl : error MIDL2457 : oleaut32.dll in build system doesn't support cross platform tlb generation
    midl : error MIDL2457 : oleaut32.dll in build system doesn't support cross platform tlb generation
    midl : error MIDL2457 : oleaut32.dll in build system doesn't support cross platform tlb generation
    midl : error MIDL2457 : oleaut32.dll in build system doesn't support cross platform tlb generation
    .\DataEngineEx.idl(118) : warning MIDL2214 : semantic check incomplete due to previous errors
    Creating browse information file...
    Microsoft Browse Information Maintenance Utility Version 8.00.50727

    Thanks a lot for your help.

    Florian


  • Rob26354

    ikui
  • Thiago Cruz

    Article on remote debugging on IA64

    http://msdn2.microsoft.com/en-us/library/ms184681.aspx



  • mithra11shiva

  • Patricia Mantovani

    Ok.

    now I found something!

    It looks like my ia64 project is compilable on an WinXp but not on my Win2000 machines.

    That's a shame... I wonder if I will have to change my work operating system or find a work around...

    Thanks for your help Ken.

    Florian


  • Bmeyer

    right now, I am not enven at the step of remote debuging.

    I need first to get to compile this project first.

    To be able to debug it after.

    But as I wrote, I can't compile my project for ia64 target using VS2005 team, on a win32 machine.

    once i will be able to compile it, I will then try the remote debuging.

     

    Has anyone managed to compile their ia64 project on a win32 machine


  • Dawson

    Thanks a lot for you help, Ken.

    This document gives me lots of infos on the win64 environment but not on how to configure my VS2005 Team project....


  • rrrrrrrrrr

    What kind of project are you creating

  • IA64 VS2005 BETA2 project doesn't compile on VS2005 on win32 pc. OLEAUT32.dll