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)

isaaczinn
@isaaczinn
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
ab5tract
@ab5tract_gitlab
Hello! I've only just recently encountered Eiffel (after two decades of programming) and I have to say that I am seriously impressed. I have written blog post that serves more as an introduction to why I feel confident in learning "old" languages like Eiffel and APL in 2020. I thought I might share it here in case anyone is interested: https://5ab5traction5.bearblog.dev/for-love-of-the-underdog/
ab5tract
@ab5tract_gitlab
I've got a few different projects I'm planning to explore in Eiffel including wrapping the embedded version of the Dyalog interpreter, the idea being a "Contract APL" that attempts to compromise between the extreme brevity of APL solutions and the Eiffel methodology
Wang Shidong
@wsdjeg
hello, I am new to eiffel, is it possible install the eiffel compiler without eiffelstudio? what I need is just the command line tools for eiffel, I will use it other editor.
Richard
@RTH10260
@ab5tract_gitlab you may want to join the Eiffel Users group on Google at https://groups.google.com/forum/?pli=1#!forum/eiffel-users to discuss your project!
@wsdjeg Easiest way is to install the full package and using EC from the command line if you wish to ignore the goodies that come with a full development environment of EStudio. EC does not come as a separate installation (though it would be feasable). I highly recomment you check out the EStudio editor and see what tools come with it. The editor is not just a simple text editor.
Wang Shidong
@wsdjeg
@RTH10260 Thanks, eiffel is not the only language used by myself. so I hope I can compile the eiffel file in my editor which also used for other language.
Richard
@RTH10260
@wsdjeg You can use an editor outside of EStudio. It will recognize changes made by an outside editor. But I strongly suggest you use EStudio as an assistant. Eg the project files, extension ECF, are little documented, so setting one up by scratch may be an unnecessary time consuming. Recomendation: use EStudio to initiate a project, or modify a project, before working with an editor outside of the development bench.
shahgee123
@shahgee123
hi i have some issue in installing look at this
image.png
shahgee123
@shahgee123
image.png
kwaxer
@kwaxer
@shahgee123 It looks like the precompiled library was not built successfully. There are two options to see what went wrong: 1) try to rebuild the precompiled library and check what does not work; 2) remove the precompiled library from your project and rebuild the project from scratch. I guess, in the long run it's better to use option 1, but 2 might be easier and quicker.
shahgee123
@shahgee123
no its not working
kwaxer
@kwaxer
@shahgee123 What is not working?
Folabi
@folabi
Hi, i am new to this. Trying to compile Eiffel Build in EiffelStudio. How do i do that? Tried the esbuilder.ecf file but got this errror code:
Folabi
@folabi
VD15 Configuration error invalid option deadcode removal option.
kwaxer
@kwaxer

Hi, i am new to this. Trying to compile Eiffel Build in EiffelStudio. How do i do that? Tried the esbuilder.ecf file but got this errror code:

Normally you do not need to build it yourself, it comes in the installation package.