Home Help Center

Compile Error

I compile Ice-1.1.0ForC++ under VC6. But it told me like below:
"
Performing Custom Build Step on ..\..\slice\Ice\StreamF.ice
Invalid directory.
Can not find the specified files
Can not find F:\Ice-1.1.0\src\Ice\StreamF.cpp
Performing Custom Build Step on ..\..\slice\Ice\Stream.ice
Invalid directory.
Can not find the specified files
Error executing e:\windows\system32\cmd.exe.
"
and I can not find the StreamF.cpp and Stream.cpp file in the directory, how to deal with this problem?

Comments

  • marcmarc FloridaAdministrators, ZeroC Staff Marc LaukienOrganization: ZeroC, Inc.Project: The Internet Communications Engine ZeroC Staff
    These files are generated by the Slice-to-C++ compiler.

    My guess is that you didn't open all.dsw and selected all.dsp as active project, but instead directly opened src\Ice\Ice.dsp. This won't work, because Ice.dsp depends on a bunch of other projects, which must be build first. By using all.dsw, and selecting "all" as active project (as described in INSTALL.WINDOWS), you get the correct build order.
  • threadsafethreadsafe Member
    I compiled the "all" project, but the same problem is still there.May i generate the .cpp file manually?
  • marcmarc FloridaAdministrators, ZeroC Staff Marc LaukienOrganization: ZeroC, Inc.Project: The Internet Communications Engine ZeroC Staff
    No, compiling the files by hand is not be necessary.

    Can you do a fresh compilation (remove old source, extract archive again, then compile), and show me the full compilation logs (with cut&paste)?
  • threadsafethreadsafe Member
    I do a fresh compilation, and this time I compile the "all" project first, then it works. I guessed that if I first compile "slice" project and then compile "all" project will cause this problem. I did not verify this.
Sign In or Register to comment.