Archived

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

why there donot exist icebox.exe and other file when I compile the sorce ?

Hello,

I am trying to compile the c++ source(Ice-3.4.1.zip) in window with VS 2008 . My configuration file is as follows:
the Makefile.mak's content is as follow:
.......
top_srcdir = cpp
!include cpp/config/Make.rules.mak
......

the Make.rules.mak's content ad follow:
......
prefix= F:\cbiancheng\save\Ice-3.4.1
......
CPP_COMPILER= VC90
........
when I run the executive command: nmake /f Makefile.mak
I wait A long time in yesterday night ,generate about 2.3Gfile in the "F:\cbiancheng\save\Ice-3.4.1\cpp"directory.
howerver, I don't find icebox.exe and other files in the "F:\cbiancheng\save\Ice-3.4.1\cpp"directory,which exist in the "C:\Program Files\ZeroC\Ice-3.4.1\bin"in the bin directory ,
so when I copy the compiling bin file to the "C:\Program Files\ZeroC\Ice-3.4.1\"to instead of bin file that has existed,the demo of icestorm cannot run at all .
what is wrong ?
what I shoud do to generate the same same file as bin in the "C:\Program Files\ZeroC\Ice-3.4.1\bin"?

the content when compile source:
"making all in cpp"
"making all in config"
"making all in src"
"making all in IceUtil"
"making all in Slice"
"making all in slice2cpp"
"making all in slice2freeze"
"making all in slice2cs"
"making all in slice2freezej"
"making all in slice2java"
"making all in slice2py"
"making all in slice2html"
"making all in slice2php"
"making all in slice2rb"
"making all in Ice"
"making all in IceSSL"
"making all in ca"
"making all in IceXML"
"making all in Freeze"
"making all in FreezeScript"
"making all in IcePatch2Lib"
"making all in Glacier2Lib"
"making all in IceStormLib"
"making all in IceGridLib"
"making all in IceBox"
"making all in IcePatch2"
"making all in Glacier2"
"making all in IceDB"
"making all in IceStorm"
"making all in FreezeDB"
"making all in SqlDB"
"making all in IceGrid"
"making all in FreezeDB"
"making all in SqlDB"
"making all in iceserviceinstall"
"making all in include"
"making all in Freeze"
"making all in Glacier2"
"making all in Ice"
"making all in IceBox"
"making all in IceGrid"
"making all in IcePatch2"
"making all in IceSSL"
"making all in IceStorm"
"making all in IceUtil"
"making all in IceXML"
"making all in Slice"
"making all in test"
"making all in IceUtil"
"making all in condvar"
"making all in thread"
"making all in unicode"
"making all in inputUtil"
"making all in uuid"
"making all in ctrlCHandler"
"making all in timer"
"making all in priority"
"making all in fileLock"
"making all in Slice"
"making all in keyword"
"making all in parser"
"making all in structure"
"making all in Ice"
"making all in proxy"
"making all in operations"
"making all in exceptions"
"making all in info"
"making all in inheritance"
"making all in facets"
"making all in objects"
"making all in faultTolerance"
"making all in location"
"making all in adapterDeactivation"
"making all in slicing"
"making all in exceptions"
"making all in objects"
"making all in gc"
"making all in checksum"
"making all in server"
"making all in dispatcher"
"making all in hold"
"making all in binding"
"making all in retry"
"making all in timeout"
"making all in servantLocator"
"making all in interceptor"
"making all in stringConverter"
"making all in background"
"making all in udp"
"making all in defaultServant"
"making all in defaultValue"
"making all in threadPoolPriority"
"making all in stream"
"making all in ami"
"making all in custom"
"making all in invoke"
"making all in IceSSL"
"making all in configuration"
"making all in Glacier2"
"making all in router"
"making all in attack"
"making all in staticFiltering"
"making all in dynamicFiltering"
"making all in sessionControl"
"making all in ssl"
"making all in Freeze"
"making all in dbmap"
"making all in complex"
"making all in evictor"
"making all in fileLock"
"making all in IceStorm"
"making all in single"
"making all in federation"
"making all in federation2"
"making all in stress"
"making all in rep1"
"making all in repstress"
"making all in repgrid"
"making all in FreezeScript"
"making all in dbmap"
"making all in evictor"
"making all in IceGrid"
"making all in simple"
"making all in admin"
"making all in activation"
"making all in allocation"
"making all in deployer"
"making all in distribution"
"making all in replicaGroup"
"making all in replication"
"making all in session"
"making all in update"
"making all in IceBox"
"making all in configuration"
"making all in demo"
"making all in IceUtil"
"making all in workqueue"
"making all in Ice"
"making all in minimal"
"making all in hello"
"making all in latency"
"making all in throughput"
"making all in value"
"making all in callback"
"making all in nested"
"making all in bidir"
"making all in session"
"making all in converter"
"making all in async"
"making all in multicast"
"making all in nrvo"
"making all in plugin"
"making all in interleaved"
"making all in invoke"
"making all in MFC"
"making all in client"
"making all in server"
"making all in book"
"making all in printer"
"making all in simple_filesystem"
"making all in lifecycle"
"making all in map_filesystem"
"making all in evictor_filesystem"
"making all in Glacier2"
"making all in callback"
"making all in chat"
"making all in Freeze"
"making all in bench"
"making all in backup"
"making all in casino"
"making all in customEvictor"
"making all in library"
"making all in phonebook"
"making all in transform"
"making all in IceStorm"
"making all in clock"
cl.exe /c -I. -I"C:\Program Files\ZeroC\Ice-3.4.1-ThirdParty\include"
nologo -W3 -WX -GR -EHsc -FD -D_CONSOLE -MP -Zi -Od -D_DEBUG -MDd -RTC1 -I"..
\..\include" -DWIN32_LEAN_AND_MEAN Subscriber.cpp
Subscriber.cpp
link.exe /LIBPATH:"C:\Program Files\ZeroC\Ice-3.4.1-ThirdParty\lib"
logo /FIXED:no /debug /incremental:yes /LIBPATH:"..\..\..\lib" /pdb:subscri
.pdb setargv.obj Clock.obj Subscriber.obj /out:subscriber.exe iced.lib iceuti
lib rpcrt4.lib advapi32.lib icestormd.lib
Embedding manifest using mt.exe
"making all in counter"
"making all in replicated"
"making all in replicated2"
"making all in IceGrid"
"making all in allocate"
"making all in sessionActivation"
"making all in simple"
"making all in replication"
"making all in secure"
"making all in icebox"
"making all in IceBox"
"making all in hello"
"making all in IcePatch2"
"making all in MFC"
"making all in java"
ant -emacs
'ant' 不是内部或外部命令,也不是可运行的程序
或批处理文件。
NMAKE : fatal error U1077: “ant”: 返回代码“0x1”
Stop.
NMAKE : fatal error U1077: “for”: 返回代码“0x1”
Stop.
thanks .

ateng.
2011.10.19.11:28

Comments

  • when I compile cpp only ,it prompt as follow!

    NMAKE : fatal error U1077: “if”: 返回代码“0x1f”
    Stop.
    NMAKE : fatal error U1077: “for”: 返回代码“0x1”
    Stop.
    NMAKE : fatal error U1077: “for”: 返回代码“0x1”
    Stop.
  • hello!

    the problem has been solved.
    now,the main problem that the generate file in the bin is not the same as the file in the "C:\Program Files\ZeroC\Ice-3.4.1\bin",so I can complete all the task as the ice 3.4.1.
    for example ,icebox.exe not generate.
    how can i solve the problem ?
    thanks very much .

    ateng
    2011 .10.19.22.46
  • bernard
    bernard Jupiter, FL
    Hello,

    The simplest is naturally to use the binary distributions we provide.

    Are you building from sources because you want to make some changes to the Ice source, or apply a patch? In that case, I would recommend using our latest release, Ice 3.4.2.

    On Windows, you can build Ice for C++ in debug mode or release mode; the default is debug. In debug mode, the build creates an iceboxD.exe, not icebox.exe.

    Best regards,
    Bernard
  • thank you very much for your help.

    hello !
    thank you very much for your help.
    sorry ,could you tell me which file is binary distributions ?(Ice-3.4.1-bin-solaris-x86.tar.gz (x86/x64) ,Ice-3.4.1-bin-solaris-sparc.tar.gz (SPARC 32/64-bit) ,Ice-3.4.1.tar.gz or Ice-3.4.1.zip )
    how can I build ice in release mode ?
    beacause I have written many program in Ice 3.4.1 when I want to change to Ice 3.4.2 it occur version incompatible,so the only choice is Ice 3.4.1 ..how can i slove the problem?


    thank you very much! best wish for you.

    ateng
    2011.10.20.7:38
  • xdm
    xdm La Coruña, Spain
    sorry ,could you tell me which file is binary distributions ?

    The 3.4.1 Windows binary distribution is http://www.zeroc.com/download/Ice/3.4/Ice-3.4.1.msi
    how can I build ice in release mode ?

    You need to edit cpp/config/Make.rules.mak, and define OPTIMIZE , see comments in that file, all the build process is documented in cpp/INSTALL.WINDOWS file included in source distribution.
    beacause I have written many program in Ice 3.4.1 when I want to change to Ice 3.4.2 it occur version incompatible,so the only choice is Ice 3.4.1 ..how can i slove the problem?

    That is odd, Ice 3.4.1 and Ice 3.4.2 are binary compatible releases, this means applications compiled with 3.4.1 can run with 3.4.2 without need to recompile the applications. What version incompatibilities do you see?
  • thank you very much for your help.
    xdm wrote: »
    The 3.4.1 Windows binary distribution is http://www.zeroc.com/download/Ice/3.4/Ice-3.4.1.msi



    You need to edit cpp/config/Make.rules.mak, and define OPTIMIZE , see comments in that file, all the build process is documented in cpp/INSTALL.WINDOWS file included in source distribution.



    That is odd, Ice 3.4.1 and Ice 3.4.2 are binary compatible releases, this means applications compiled with 3.4.1 can run with 3.4.2 without need to recompile the applications. What version incompatibilities do you see?

    thank you very much !

    why it occur this error :"StringConverterI.cpp : fatal error C1033: cannot open database “f:\cbiancheng\ice3.4.1\cpp\test\ice\custom\vc90.idb”and how can solve it ?thanks very much !

    The mismatch version problem is that I write a program with Ice 3.4.1 in VS2008 ,but when I uninstall 3.4.1 and install Ice 3.4.2 ,when I run the program it will occur mismatch version ,so I have to uninstall Ice3.4.2 and install 3.4.1 again ,however ,when I run the program it still occur mismatch version so I have to delete the program at last.
    How can I solve the program ?
    thank you much .
    ateng
    2011.10.27 11:13
  • bernard
    bernard Jupiter, FL
    You can install Ice 3.4.1 and Ice 3.4.2 on the same computer, at the same time.

    And if you build a C++ application with Ice 3.4.1, you can run the same C++ application with the Ice 3.4.2 DLLs. You can switch without rebuilding or relinking your application.

    Ice 3.4.2 includes several sets of DLLs: the bin directory contains the VS2008 32-bit DLLs, the bin\x64 contains the VS2008 64-bit DLLs (etc). Make sure your PATH points to the desired set.

    If you have a test program for Ice 3.4.1 that runs with 3.4.1 but not with 3.4.2, please attach it (together with its sources).
    why it occur this error :"StringConverterI.cpp : fatal error C1033: cannot open database “f:\cbiancheng\ice3.4.1\cpp\test\ice\custom\vc90.i db”and how can solve it ?thanks very much !

    This error occurs when you're building Ice from sources, not when you use a binary distribution.

    I am not sure why you would get this error. You should try to clean that directory and build the test in that directory with nmake. None of this is necessary if you use a binary distribution, and you could also build Ice from sources without building the test suite.

    Best regards,
    Bernard
  • thank you very much for your help.
    bernard wrote: »
    You can install Ice 3.4.1 and Ice 3.4.2 on the same computer, at the same time.

    And if you build a C++ application with Ice 3.4.1, you can run the same C++ application with the Ice 3.4.2 DLLs. You can switch without rebuilding or relinking your application.

    Ice 3.4.2 includes several sets of DLLs: the bin directory contains the VS2008 32-bit DLLs, the bin\x64 contains the VS2008 64-bit DLLs (etc). Make sure your PATH points to the desired set.

    If you have a test program for Ice 3.4.1 that runs with 3.4.1 but not with 3.4.2, please attach it (together with its sources).



    This error occurs when you're building Ice from sources, not when you use a binary distribution.

    I am not sure why you would get this error. You should try to clean that directory and build the test in that directory with nmake. None of this is necessary if you use a binary distribution, and you could also build Ice from sources without building the test suite.

    Best regards,
    Bernard

    In some case ,Beacause I have to change the source code for my special application,so have to build it .
    thank you very much !

    ateng
    2011.10.28 11:23