I am acquainted with Eiffel language and use successfully the
SmartEiffel compiler.
Since ISE released a GPL version of EiffelStudio, I downloaded
ISE Eiffel 5.7 build 64493 (GPL Edition) for linux-x86 and installed it
in my Linux box, a Mandriva 2007, distro.
My configuration is the following:
$ uname -a
Linux fuba 2.6.12-12mdksmp #1 SMP Fri Sep 9 17:43:23 CEST 2005 i686
Intel(R) Pentium(R) 4 CPU 3.00GHz GNU/Linux
$ pkg-config --modversion gtk+-2.0
2.10.3
$ gcc --version
gcc (GCC) 4.1.2 20061110 (prerelease) (4.1.2-0.20061110.1mdv2007.1)
After installing according to the instructions
(/usr/local/Eiffel57/docs/installation/index.html), and issued the
'make_install' script, I managed to have a working installation
available for users in the machine.
For a quick test, I lauched the estudio application and did as follows:
At the launch the wizard asks for creating a new project, I choose
Create project->Graphics application, with EiffelVision2;
Click in the Create button;
Click next in the New Vision2 Application Wizard;
I accept the name and the directory proposed for the application;
I tick all four checkboxes in the Application Appeareance screen of the
Wizard, and next;
Click Finish.
EiffelStudio shows then the details of the just (skeletical) application.
Since the purpose of this exercise is to demonstrate the funcioning of
the environment and for the audience I intend to show later the user
friendliness of the tool, there's no need for any other development, so
I go in the Project Menu and click "Finalize".
I keep assertions, and let EiffelStudio work for a while.
"Eiffel Compilation Succeeded" is issued and C compiling starts.
In the C Output screen it can be seen the last command for building the
application succeded:
gcc -o my_vision2_application_1 -O3 -pipe ............ -lm
C4/Cobj4.o: In function `Fe7teiv':
(.text+0x48b23): warning: the use of `tempnam' is dangerous, better use
`mkstemp'
C compilation completed
Running the application within EiffelStudio (via Project->Run Finalized
System) succeeds.
However if I go the F_code tab in EiffelStudio and land in the directory
where my_vision2_application_1 resides, attempting to run it results in:
$ ./my_vision2_application_1
my_vision2_application_1: system execution failed.
Following is the set of recorded exceptions:
-------------------------------------------------------------------------------
Class / Object Routine Nature of exception
Effect
-------------------------------------------------------------------------------
EXCEPTIONS eraise Could not load image file.:
<00000000B709B64C> Developer exception.
Fail
-------------------------------------------------------------------------------
EXCEPTIONS eraise
<00000000B709B64C> Routine failure.
Fail
-------------------------------------------------------------------------------
EXCEPTIONS raise @[EMAIL PROTECTED]
> Routine failure.
Fail
-------------------------------------------------------------------------------
EV_PIXMAP_IMP read_from_named_file @[EMAIL PROTECTED]
> Routine failure.
Fail
-------------------------------------------------------------------------------
EV_PIXMAP set_with_named_file @[EMAIL PROTECTED]
> Routine failure.
Fail
-------------------------------------------------------------------------------
MAIN_WINDOW build_standard_toolbar @[EMAIL PROTECTED]
> Routine failure.
Fail
-------------------------------------------------------------------------------
MAIN_WINDOW initialize @[EMAIL PROTECTED]
> Routine failure.
Fail
-------------------------------------------------------------------------------
MAIN_WINDOW default_create @[EMAIL PROTECTED]
> (From EV_ANY) Routine failure.
Fail
-------------------------------------------------------------------------------
APPLICATION prepare @[EMAIL PROTECTED]
> Routine failure.
Fail
-------------------------------------------------------------------------------
APPLICATION make_and_launch @[EMAIL PROTECTED]
> Routine failure.
Fail
-------------------------------------------------------------------------------
APPLICATION root's creation
<00000000B70957D4> Routine failure.
Exit
-------------------------------------------------------------------------------
Is there any step I had to observe in order to get this minimum
applicaton running?
--
Cesar Rabak
GNU/Linux User 52247.
Get counted: http://counter.li.org/


|