Reported installation issues

Contents

Windows

Double-clicking on the ES icon does't start the IDE

  • Reason: the environment variables were not set
  • Fix: set the environment variables in this way:

ISE_EIFFEL = C:\Eiffel62 (or wherever you installed ES)

ISE_PLATFORM = windows

ISE_COMPILER = msc

Trying to compile Traffic produces configuration error

  • Reason: traffic archive was not unpacked (it is quite natural because Vista explorer has the same interface for viewing zip archives as for usual folders)
  • Fix: unpack the archive explicitely

Trying to compile Traffic produces C compilation error

  • Details: it seems that C compilation doesn't even start (C-output window says: "Preparing C compilation..." and nothing more).
  • Reason: unknown (probably connected with environment variables problem...)
  • Fix: Explicitely compile the C Code again (Project -> Compile Workbench C Code) Had the same problem under Windows XP and this fixed it. Fix not confirmed for Vista.

Environment variable setting command doesn't work

  • Details: instructions for installing Microsoft C Compiler include a "setenv.cmd" call with some arguments. I was trying to call it on my machine (with XP) and on one of the student's machines (with Vista), but it replied something like "This version of compiler is not installed". However, on my machine everything works even without this command, but the student has problems with C compilation (described above).
  • Reason: unknown
  • Fix: unknown

Compiling traffic project fails

  • Reason: Missing precompiled vision2 lib
  • Error message: LINK : fatal error LNK1181: cannot open input file 'c:\program files\eiffel software\eiffelstudio 6.2 gpl\precomp\spec\windows\EIFGENs\vision2\W_code\msc\precomp.lib' NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\Bin\link.EXE"' : return code '0x49d'
  • Fix: go to %ISE_EIFFEL%\precomp\spec\windows and type: ec -config vision2.ecf -precompile -c_compile (Thanks Jason)

Traffic Zip File can't be unpacked with the Vista Decompression Tool

  • Reason: unknown
  • Error message: Folder already exists.
  • Fix: Use another zip program such as 7-Zip.

Successfully precompiling Eiffel classes has no effect

  • Reason: Rights Management: Vista pretends to give the necessary rights but does not execute the write commands.
  • Error: Althought the classes were compiled successfully, no code was generated.
  • Fix: Open dos console again with Administrator rights. (Thanks Jason and Ilinca)

Linux

Mac OS X

EiffelStudio IDE does not start

  • Details: I am assuming you have installed macports and eiffelstudio and that everything went fine. You type estudio from a bash (or X11) console and nothing happens.
  • Reason: it is likely that your configuration files (.bashrc, .bash_profile and .profile) have some wrong content.
  • Fix: Open each of them from the console using a simple editor like nano and check that their content corresponds to what is written in the installation instructions (assignment 1). Using a more sophisticated wysiwyg editor to edit them might be a bad idea because it might add special hidden characters that create havoc when OS X tries to read the file.


About: Compiling traffic project fails

   Compiling traffic project fails
       Reason: Missing precompiled vision2 lib
       Error message: LINK : fatal error LNK1181: cannot open input file 'c:\program files\eiffel software\eiffelstudio 6.2 gpl\precomp\spec\windows\EIFGENs\vision2\W_code\msc\precomp.lib' NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\Bin\link.EXE"' : return code '0x49d'
       Fix: go to %ISE_EIFFEL%\precomp\spec\windows and type: ec -config vision2.ecf -precompile -c_compile (Thanks Jason)

As I first installed the Eiffel Studio and tried to use the traffic library, I've run into the same error message. 'Recompiling' the library as shown above didn't help. It took me quite a while until I noticed, that my C: partition has run out of space. Eiffel Studio didn't print out a message or anything, it just pretended everything went fine. I installed it on another partition and didn't get the error anymore.

So if your disc is full while installing, it might not create the library but maybe in the meantime some space got freed up again and will compile on a later time.

Eiffel Studio defently should check the free space before trying/pretending to install and compile everything.

Cheers


When the precompiled library

When the precompiled library is built it fails but you won't see the error message because it goes away. Instead the error is shown when trying to use it by showing you that it is not there. If you were to do it from the command line, it should fail and you would see the error message.