Archived

This forum has been archived. Please start a new discussion on GitHub.

how to execute nmake to compile ice source?

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

  • benoit
    benoit Rennes, France
    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.
  • 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.
  • 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.
  • dwayne
    dwayne St. John's, Newfoundland
    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?
  • 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?
  • dwayne
    dwayne St. John's, Newfoundland
    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.
  • 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.
  • matthew
    matthew NL, Canada
    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 support@zeroc.com 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.
  • 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. :)