Home Help Center

Build question on Ice 3.3.0 with vs.2005

boldeagleboldeagle Member xiao guoOrganization: peking universityProject: power monitor & control system for subway
Ignoring ICE_HOME environment variable to build current source tree.
can't find D:\Ice-3.3.0\cpp\include\Ice\BuiltinSequences.h
can't find D:\Ice-3.3.0\cpp\src\Ice\BuiltinSequences.cpp
why?

Comments

  • matthewmatthew NL, CanadaMember Matthew NewhookOrganization: ZeroC, Inc.Project: Internet Communications Engine ✭✭✭
    These files are generated by the slice2cpp slice compiler. Where did you start the build process from?
  • boldeagleboldeagle Member xiao guoOrganization: peking universityProject: power monitor & control system for subway
    D:\Ice-3.3.0\cpp\
  • matthewmatthew NL, CanadaMember Matthew NewhookOrganization: ZeroC, Inc.Project: Internet Communications Engine ✭✭✭
    Was the slice2cpp.exe tool built correctly? Does it run? Do you have all of the required third party DLLs in your PATH?
  • matthewmatthew NL, CanadaMember Matthew NewhookOrganization: ZeroC, Inc.Project: Internet Communications Engine ✭✭✭
    Is the build actually failing? If not, these messages are expected on the first build since the make rules remove the files prior to running the slice compiler. If the files don't yet exist (which occurs on the first build) then you get that warning.

    Regarding ICE_HOME, the warning is telling you that it is ignoring the setting during the build of the sources themselves.
  • boldeagleboldeagle Member xiao guoOrganization: peking universityProject: power monitor & control system for subway
    slice2cpp.exe exists in bin directory,double click it prompts "application error",have downloaded all third party dlls and unzip them to Ice-3.3.0-thirdparty-VC80\bin and Ice-3.3.0-thirdparty-VC80\lib directories.
  • matthewmatthew NL, CanadaMember Matthew NewhookOrganization: ZeroC, Inc.Project: Internet Communications Engine ✭✭✭
    The application error means that the DLLs are not in your PATH.
  • boldeagleboldeagle Member xiao guoOrganization: peking universityProject: power monitor & control system for subway
    i have installed the third-party dependencies in the right directory,but still has this question.
  • matthewmatthew NL, CanadaMember Matthew NewhookOrganization: ZeroC, Inc.Project: Internet Communications Engine ✭✭✭
    I can only repeat myself... Unless you add this directory to your PATH the DLLs will not be found.
  • boldeagleboldeagle Member xiao guoOrganization: peking universityProject: power monitor & control system for subway
    how can i add the directory to my path?
  • matthewmatthew NL, CanadaMember Matthew NewhookOrganization: ZeroC, Inc.Project: Internet Communications Engine ✭✭✭
    Note that this forum is for questions about Ice, not general questions on configuring your development environment.

    Assuming you are using XP then Start/Control Panel/System/Advanced/Environment Variables. In "User variables for <username>", select PATH (or add it if not present), and add the directory in which you placed the third parties to the start of the PATH. It will then look something like:

    C:\Ice-3.3.0-thirdparty-VC80\bin;%PATH%
  • boldeagleboldeagle Member xiao guoOrganization: peking universityProject: power monitor & control system for subway
    Thanks for your answer.but i already added "d:\ice-3.3.0\cpp\bin;D:\Ice-3.3.0-ThirdParty-VC80\bin" to the path and recompiled ,it still cant work and prompt the same words.
  • matthewmatthew NL, CanadaMember Matthew NewhookOrganization: ZeroC, Inc.Project: Internet Communications Engine ✭✭✭
    What words? Are you talking about this?
    Ignoring ICE_HOME environment variable to build current source tree.
    can't find D:\Ice-3.3.0\cpp\include\Ice\BuiltinSequences.h
    can't find D:\Ice-3.3.0\cpp\src\Ice\BuiltinSequences.cpp
    why?

    If so, as I explained earlier, these are both expected.
  • boldeagleboldeagle Member xiao guoOrganization: peking universityProject: power monitor & control system for subway
    when i run slice2cpp,get the following error "Error Application failed to initialize properly 0xc0150002",does i lack some libraries for vs.2005?
  • matthewmatthew NL, CanadaMember Matthew NewhookOrganization: ZeroC, Inc.Project: Internet Communications Engine ✭✭✭
    That means a required DLL is missing. You can find out which DLL is causing the problem by looking in the Event Viewer. You'll find a message similar to:

    "Dependent Assembly Microsoft.VC80.DebugCRT could not be found and Last Error was The referenced assembly is not installed on your system."

    You might find it easier to use the binary installer, rather than trying to build Ice yourself...
  • dwaynedwayne St. John's, NewfoundlandMember Dwayne BooneOrganization: ZeroC, Inc.Project: Internet Communications Engine
    Do you have SP1 installed for VS2005? VS2005 with SP1 is the supported compiler and thus what we used to build the third-party packages provided on the web site.
Sign In or Register to comment.