Home Help Center

how to execute nmake to compile ice source?

firepotatofirepotato Member Robert ZhangOrganization: Harbin Institute of TecnologyProject: for delivering patchs
E:\source\Ice-3.3.0\cpp\src>nmake -f Makefile.mak

Microsoft (R) Program Maintenance Utility Version 8.00.50727.762
Copyright (C) Microsoft Corporation. All rights reserved.

Ignoring ICE_HOME environment variable to build current source tree.
"making all in IceUtil"
Ignoring ICE_HOME environment variable to build current source tree.
cl.exe /c -I"C:\Ice-3.3.0-ThirdParty-VC80\include" -nologo -W3 -WX -GR -
EHsc -FD -D_CONSOLE -Zi -Gm -Od -D_DEBUG -MDd -RTC1 -I..\..\include -DICE_UTIL_A
PI_EXPORTS -I.. -DWIN32_LEAN_AND_MEAN ArgVector.cpp Cond.cpp ConvertUTF.cpp Cou
ntDownLatch.cpp CtrlCHandler.cpp Exception.cpp Shared.cpp InputUtil.cpp Options.
cpp OutputUtil.cpp Random.cpp RWRecMutex.cpp RecMutex.cpp StaticMutex.cpp String
Util.cpp Thread.cpp ThreadException.cpp Time.cpp Timer.cpp UUID.cpp Unicode.cpp

NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 8\VC\bin\c
l.exe"' : return code '0xc0000135'
Stop.
NMAKE : fatal error U1077: 'for' : return code '0x1'
Stop.
how to resolve the above problem?thank you!

Comments

  • benoitbenoit Rennes, FranceAdministrators, ZeroC Staff Benoit FoucherOrganization: ZeroC, Inc.Project: Ice ZeroC Staff
    Hi,

    It looks like a problem with your Visual Studio installation. Are you able to compile other C++ programs? I would check the Windows event log to see if it provides more information on this 0xc0000135 error.

    Cheers,
    Benoit.
  • firepotatofirepotato Member Robert ZhangOrganization: Harbin Institute of TecnologyProject: for delivering patchs
    Thank you for your reply.
    When I execute vcvarsall.bat before nmake, it seems ok.

    I think it's not the problem of Ice. Sorry for disturbling you.

    Thanks again.
  • meirabmeirab Member meir abramsonOrganization: software consultantProject: ice demoj testing
    problem in nmake ice 3.3.1 win\xp

    :confused: hello.
    i try to use command: nmake /f Makefile.mak
    from: Visual C++ 2005 --> command prompt

    "making all in config"
    'cmd' is not recognized as an internal or external command,
    operable program or batch file.
    NMAKE : fatal error U1077: 'for' : return code '0x1'
    Stop.
  • dwaynedwayne St. John's, NewfoundlandMember Dwayne BooneOrganization: ZeroC, Inc.Project: Internet Communications Engine
    Are you using Visual C++ 2005 Express or Visual Studio 2005? If it is Express then you need to follow the instructions in INSTALL.WINDOWS and install the platform SDK. If it is Visual Studio then there must be something wrong with your installation. Perhaps you did not install some parts?
  • meirabmeirab Member meir abramsonOrganization: software consultantProject: ice demoj testing
    the package is: visual studio 2005

    and installed everything.

    Can "Zeroc" build the package in win/xp/v2 + visual studio 2005
    on a p.c. at "Zeroc" and "zip" into .zip format?
  • dwaynedwayne St. John's, NewfoundlandMember Dwayne BooneOrganization: ZeroC, Inc.Project: Internet Communications Engine
    Actually there might be something wrong with your XP installation if cmd.exe can not be found. Anyway, you can download a binary distribution of VS2005 from here.
  • meirabmeirab Member meir abramsonOrganization: software consultantProject: ice demoj testing
    the url for windows install has:

    a *.msi package and in order to "open" the package it needs "instmsi.exe"
    and... it is not in my p.c. - i searched for it and try to download this,
    but it did not work.

    can "Zeroc" work on this and create a build for win/xp v2 + visual studio c++ 2005, and "zip" the all "ice" subdirectories?

    this can solve the problem.
  • matthewmatthew NL, CanadaMember Matthew NewhookOrganization: ZeroC, Inc.Project: Internet Communications Engine ✭✭✭
    I'm sorry, but we've provided all the tools necessary to build Ice. If you cannot do so, there is something wrong with your environment.

    If you have need for expanded support, please feel free to contact [email protected] to discuss a consulting/support agreement.

    Also, if you want to receive further support from us please fix your organization name. Private is nondescript, and does not meet our forum guidelines.
  • meirabmeirab Member meir abramsonOrganization: software consultantProject: ice demoj testing
    I have found an alternative solution

    to install .msi file at: windows/xp/v2 + visual c++ 2005 (studio)

    go to this url:

    MSI Setup To EXE Converter 4.8.3.1 free download

    and find: "Please select a mirror for free download MSI Setup To EXE Converter 4.8.3.1:"

    there you find (a free): *.msi ---> *.exe converter

    use it and it solves the problem. :)
Sign In or Register to comment.