by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Mar 30 11:28
    finnianr edited #53
  • Mar 30 11:20
    finnianr edited #53
  • Mar 30 11:14
    finnianr edited #53
  • Mar 30 11:14
    finnianr edited #53
  • Mar 30 11:12
    finnianr edited #53
  • Mar 30 11:08
    finnianr edited #53
  • Mar 30 11:01
    finnianr edited #53
  • Mar 30 10:56
    finnianr opened #53
  • Feb 26 14:37
    jocelyn commented #52
  • Feb 01 11:45
    finnianr opened #52
  • Dec 23 2019 15:21

    manuseiffel on master

    Updated Interaction email code … (compare)

  • Dec 23 2019 11:21

    manuseiffel on master

    Moved the gobo eof at expected … (compare)

  • Dec 20 2019 21:21

    manuseiffel on master

    Updated scripts for library wiz… (compare)

  • Dec 20 2019 17:22

    manuseiffel on master

    Updated email interaction, adde… (compare)

  • Dec 20 2019 13:21

    manuseiffel on master

    Supported processing of a symbo… Updated code to handle Unicode … Added features for symbols used… and 5 more (compare)

  • Dec 20 2019 11:21

    manuseiffel on master

    Improved the insert symbol dial… Protected import operation from… Fixed to support extended ascii… (compare)

  • Dec 19 2019 13:21

    manuseiffel on master

    Taken type marks into account w… Cosmetics. git-svn-id: https:/… Fixed test#term218 by taking in… and 7 more (compare)

  • Dec 19 2019 11:21

    manuseiffel on master

    Improved the test to verify tha… Removed a redefinition that vio… Corrected test names that were … and 5 more (compare)

  • Dec 18 2019 21:21

    manuseiffel on master

    Changed expected result of test… Replaced "manifest array" with … (compare)

  • Dec 18 2019 17:21

    manuseiffel on master

    Renamed library wizard system n… (compare)

Jocelyn Fiat
@jocelyn
do you have something in
%ISE_EIFFEL%\examples\base\calculator\EIFGENs\classic\W_code ?
or in your current directory EIFGENs\classic\W_code ?
dir EIFGENs\classic\W_code
isaaczinn
@isaaczinn
yes I have some files
Jocelyn Fiat
@jocelyn
any calculator.exe ?
isaaczinn
@isaaczinn
not in the examples dir
Jocelyn Fiat
@jocelyn
output of
dir EIFGENs\classic\W_code
?
isaaczinn
@isaaczinn
looking for that. ... no such dir c

c:\Users\giliz\Documents\Eiffel User Files\19.05\precomp\spec\win64\EIFGENs>dir
Volume in drive C has no label.
Volume Serial Number is 48BE-6943

Directory of c:\Users\giliz\Documents\Eiffel User Files\19.05\precomp\spec\win64\EIFGENs

03/19/2020 10:42 PM <DIR> .
03/19/2020 10:42 PM <DIR> ..
03/19/2020 10:43 PM <DIR> base-safe
03/19/2020 10:15 PM <DIR> base-scoop-safe
0 File(s) 0 bytes
4 Dir(s) 782,773,919,744 bytes free

Jocelyn Fiat
@jocelyn
no EIFGENs in C:\Users\giliz ?
isaaczinn
@isaaczinn
there is EIFGENs , but no classic dir
only the 2 shown
Jocelyn Fiat
@jocelyn
can you do
dir C:\Users\giliz\EIFGENs
and also
dir %ISE_EIFFEL%\examples\base\calculator
isaaczinn
@isaaczinn
found that dir

c:\Users\giliz\EIFGENs>dir
Volume in drive C has no label.
Volume Serial Number is 48BE-6943

Directory of c:\Users\giliz\EIFGENs

03/19/2020 10:42 PM <DIR> .
03/19/2020 10:42 PM <DIR> ..
03/19/2020 10:43 PM <DIR> classic
0 File(s) 0 bytes
3 Dir(s) 782,771,347,456 bytes free

but no exe file
Jocelyn Fiat
@jocelyn
ok and now
dir c:\Users\giliz\EIFGENs\classic\W_code
isaaczinn
@isaaczinn

Directory of c:\Users\giliz\EIFGENs\classic

03/19/2020 10:43 PM <DIR> .
03/19/2020 10:43 PM <DIR> ..
03/19/2020 10:43 PM <DIR> BACKUP
03/19/2020 10:43 PM <DIR> COMP
03/19/2020 10:42 PM <DIR> Data
03/19/2020 10:45 PM 94 ec.lock
03/19/2020 10:42 PM <DIR> F_code
03/19/2020 10:42 PM <DIR> Partials
03/19/2020 10:45 PM 3,287,474 project.epr
03/19/2020 10:43 PM <DIR> W_code
2 File(s) 3,287,568 bytes
8 Dir(s) 782,770,954,240 bytes free

Jocelyn Fiat
@jocelyn
Ok

If no calculator.exe in W_code, let's try to recompile the "base" precompilation.

ec -config %ISE_EIFFEL%\precomp\spec\win64\base-safe.ecf -precompile -clean -c_compile

and try to recompile again calculator.ecf

(I am sorry but then I have to leave, but I will check message tomorrow morning -- for me --)

isaaczinn
@isaaczinn
@jocelyn thank you very much for your help and patience
Jocelyn Fiat
@jocelyn

but if you can share the output of the
ec -config %ISE_EIFFEL%\precomp\spec\win64\base-safe.ecf -precompile -clean -c_compile

it may be valuable, to see if there is any issue with the C compiler

isaaczinn
@isaaczinn

C:\Users\giliz>ec -config %ISE_EIFFEL%\precomp\spec\win64\base-safe.ecf -precompile -clean -c_compile
Eiffel Compilation Manager
Version 19.05.10.3187 GPL Edition - win64

Degree 6: Examining System
Degree 5: Parsing Classes
Degree 4: Analyzing Inheritance
Degree 3: Checking Types
Degree 2: Generating Byte Code
Freezing System Changes
Degree -1: Generating Code
System Recompiled.
Preparing C compilation using Microsoft Visual Studio 2019 VC++ (19.0)...
WARNING: Option 'ise_cflags' was found in neither CONFIG.EIF nor registry.
WARNING: Option 'ise_sharedlibs' was found in neither CONFIG.EIF nor registry.

no exe in c:\users\giliz\EIFGENs\base-safe\W_code\
Jocelyn Fiat
@jocelyn

in my case I have

Degree 6: Examining System
Degree 5: Parsing Classes
Degree 4: Analyzing Inheritance
Degree 3: Checking Types
Degree 2: Generating Byte Code
Freezing System Changes
Degree -1: Generating Code
System Recompiled.
Preparing C compilation using Microsoft Visual Studio 2017 VC++ (15.0)...
WARNING: Option 'ise_cflags' was found in neither CONFIG.EIF nor registry.
WARNING: Option 'ise_sharedlibs' was found in neither CONFIG.EIF nor registry.
big_file_C30_c.c
big_file_C26_c.c
big_file_C24_c.c
eoption.c
big_file_C25_c.c
big_file_C29_c.c
big_file_C28_c.c
big_file_C27_c.c
epattern.c
...

isaaczinn
@isaaczinn
If you will have any idea how to proceed I will be most grateful
Jocelyn Fiat
@jocelyn

can you try

%ISE_EIFFEL%\tools\spec\%ISE_PLATFORM%\bin\espawn.exe "nmake /HELP"
and
%ISE_EIFFEL%\tools\spec\%ISE_PLATFORM%\bin\espawn.exe "cl"

to see if the environment find the "cl" and the "nmake"

isaaczinn
@isaaczinn

c:\Users\giliz\EIFGENs\classic>%ISE_EIFFEL%\tools\spec\%ISE_PLATFORM%\bin\espawn.exe "nmake /HELP"
Eiffel Environment Command Spawn Utility - Version: 19.05
Copyright Eiffel Software 1985-2019. All Rights Reserved.

Using C/C++ compiler from Microsoft Visual Studio 2019 VC++ (19.0)

1 processes launched.
0 processes returned successfully.
1 processes failed to execute correctly!

c:\Users\giliz\EIFGENs\classic>%ISE_EIFFEL%\tools\spec\%ISE_PLATFORM%\bin\espawn.exe "cl"
Eiffel Environment Command Spawn Utility - Version: 19.05
Copyright Eiffel Software 1985-2019. All Rights Reserved.

Using C/C++ compiler from Microsoft Visual Studio 2019 VC++ (19.0)

1 processes launched.
0 processes returned successfully.
1 processes failed to execute correctly!

Jocelyn Fiat
@jocelyn
Ok it seems you did not install the full VisualStudio environment for C compiler tools.
you should double check if you have "cl.exe" , "nmake.exe" and "link.exe" (among other) tools.
They are required.
isaaczinn
@isaaczinn
I see I'll do that and will get back to you. Thank you very much.
Jocelyn Fiat
@jocelyn

in Windows 10, for VisualStudio 2019, you should have shortcut to open the x64 native tool ...prompt
try to launch it, and see if "cl.exe" and "nmake /HELP" returns anything .

If no .. your VisualStudio installation does not include the required packages for C compilation (and build tools)
But if you have cl and nmake, do the following again

set ISE_EIFFEL=c:\Eiffel_19.05_gpl_103187-win64\Eiffel_19.05
set ISE_PLATFORM=win64
set ISE_C_COMPILER=msc_vc140
set PATH=%ISE_EIFFEL%\studio\spec\%ISE_PLATFORM%\bin;%ISE_EIFFEL%\tools\spec\%ISE_PLATFORM%\bin;%ISE_EIFFEL%\library\gobo\spec\%ISE_PLATFORM%\bin;%PATH%

ec -config %ISE_EIFFEL%\precomp\spec\win64\base-safe.ecf -precompile -clean -c_compile
ec -config %ISE_EIFFEL%\examples\base\calculator\calculator.ecf -target classic -batch -freeze -c_compile
dir EIFGENs\classic\W_code

If you see "calculator.exe", then you have a way to use Eiffel compiler.

--
Now, I leave.
I will check message tomorrow. So please let us know about success or failure.
isaaczinn
@isaaczinn
will do , thanks
isaaczinn
@isaaczinn
Morning , I have added to the env path the path to my vs2019 make etc c:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.25.28610\bin\Hostx86\x64\
Once that was done the following seemed to run correctly

C:\WINDOWS\system32>%ISE_EIFFEL%\tools\spec\%ISE_PLATFORM%\bin\espawn.exe "cl"
Eiffel Environment Command Spawn Utility - Version: 19.05
Copyright Eiffel Software 1985-2019. All Rights Reserved.

Using C/C++ compiler from Microsoft Visual Studio 2019 VC++ (19.0)
Microsoft (R) C/C++ Optimizing Compiler Version 19.25.28610.4 for x64
Copyright (C) Microsoft Corporation. All rights reserved.

usage: cl [ option... ] filename... [ /link linkoption... ]

1 processes launched.
1 processes returned successfully.

C:\WINDOWS\system32>%ISE_EIFFEL%\tools\spec\%ISE_PLATFORM%\bin\espawn.exe "nmake /HELP"
Eiffel Environment Command Spawn Utility - Version: 19.05
Copyright Eiffel Software 1985-2019. All Rights Reserved.

Using C/C++ compiler from Microsoft Visual Studio 2019 VC++ (19.0)

Microsoft (R) Program Maintenance Utility Version 14.25.28610.4
Copyright (C) Microsoft Corporation. All rights reserved.

Usage: NMAKE @commandfile
NMAKE [options] [/f makefile] [/x stderrfile] [macrodefs] [targets]

Options:

/A Build all evaluated targets
/B Build if time stamps are equal
/C Suppress output messages
/D Display build information
/E Override env-var macros
/ERRORREPORT:{NONE|PROMPT|QUEUE|SEND} Report errors to Microsoft
/G Display !include filenames
/HELP Display brief usage message
/I Ignore exit codes from commands
/K Build unrelated targets on error
/N Display commands but do not execute
/NOLOGO Suppress copyright message
/P Display NMAKE information
/Q Check time stamps but do not build
/R Ignore predefined rules/macros
/S Suppress executed-commands display
/T Change time stamps but do not build
/U Dump inline files
/Y Disable batch-mode
/? Display brief usage message

1 processes launched.
1 processes returned successfully.

C:\WINDOWS\system32>

However the following still doesn't work:

C:\WINDOWS\system32>ec -config %ISE_EIFFEL%\precomp\spec\win64\base-safe.ecf -precompile -clean -c_compile
Eiffel Compilation Manager
Version 19.05.10.3187 GPL Edition - win64

Degree 6: Examining System
Degree 5: Parsing Classes
Degree 4: Analyzing Inheritance
Degree 3: Checking Types
Degree 2: Generating Byte Code
Freezing System Changes
Degree -1: Generating Code
System Recompiled.
Preparing C compilation using Microsoft Visual Studio 2019 VC++ (19.0)...
WARNING: Option 'ise_cflags' was found in neither CONFIG.EIF nor registry.
WARNING: Option 'ise_sharedlibs' was found in neither CONFIG.EIF nor registry.
NNMMAAKKEE :: NMAKE : NMAKE : ffafaftataatatlala l le e rererrrrororroro r rU U U1U1010160604646:4:4 : : MM MAAMAKKAKEEKEFFEFIIFILLILEELE E nn noonottot t ff foofouuounnunddnd d aa annanddnd d nn noono o tt taatarrarggrgeegettet t ss sppspeepecceciiciffifiifieeiedded

d
SS
SttStootoppop..p.

isaaczinn
@isaaczinn

Preparing C compilation using Microsoft Visual Studio 2019 VC++ (19.0)...
WARNING: Option 'ise_cflags' was found in neither CONFIG.EIF nor registry.
WARNING: Option 'ise_sharedlibs' was found in neither CONFIG.EIF nor registry.
eoption.c
big_file_C1_c.c
c:\Eiffel_19.05_gpl_103187-win64\Eiffel_19.05\studio\spec\win64\include\eif_portable.h(84): fatal error C1083: Cannot open include file: 'limits.h': No such file or directory
c:\Eiffel_19.05_gpl_103187-win64\Eiffel_19.05\studio\spec\win64\include\eif_portable.h(84): fatal error C1083: Cannot open include file: 'limits.h': No such file or directory
NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.25.28610\bin\Hostx86\x64\cl.EXE"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"c:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.25.28610\bin\Hostx86\x64\cl.EXE"' : return code '0x2'
Stop.
Jocelyn Fiat
@jocelyn
Were you able to fix your VisualStudio installation?
isaaczinn
@isaaczinn
eventually I managed to get it to work with version 17.01 . Main problem was it couldn't find rc.exe . Once I added it to the path ( and changed the other environment accordingly ) it managed to compile the needed precompiled files .
Didn't try the above solution with the 19 .05 version .
Jocelyn Fiat
@jocelyn
Ok, I don't see why it would work with 17.01 and not 19.05.
Good to know anyway you found a solution.
isaaczinn
@isaaczinn
thanks for your help.
However in my opinion the documentation for installation and installation troubleshooting is lacking. I had to get it to work for my daughter course . Otherwise I believe I would give up on it.
Jocelyn Fiat
@jocelyn

EiffelStudio also includes the gcc (mingw) C compiler that should be ok for many Eiffel projects (but not all, depending on the library, and underlying C libraries).

Usually the main issue user have with EiffelStudio and VisualStudio, is using a version of EiffelStudio that was built before the VisualStudio version.
For instance EiffelStudio 17.01 with VS 2019 may not always work out of the box easily, as in 2017, VS 2019 was not available, and VS changed the way to be detected by other tool.

But at worst, if you start EiffelStudio from the VS 2019 prompt, it should work.

I forgot the detail of your issues, but I think it was somehow related to VS detection by EiffelStudio.

Jocelyn Fiat
@jocelyn
This message was deleted