Problem to compile a project

"Germán Arias [email protected] [gobo-eiffel]" <[email protected]> Sun, 6 Oct 2019 20:28:25 -0600
Newsgroups gmane.comp.lang.eiffel.gobo.general
Message-ID <[email protected]>
Hi Eric,

I'm trying to port eiffel-iup [1] to GOBO Eiffel. Eiffel-IUP was
developed to be the Graphic toolkit for Liberty Eiffel. But since that
project seems abandoned, I'm trying to move my library to GOBO Eiffel.
GOBO don't support cecil, but I found I way to interact with C and I
made all necessary changes. I also made all the changes to save the
differences between the two implementations of Eiffel language. Now I'm
trying to build a simple test to see if this works. But I'm stuck with
these errors:


[VTCT] class IUP_INTERFACE (4,2): type based on unknown class ANY.
----
[VTCT] class IUP_WIDGET (4,2): type based on unknown class ANY.
----
[VTCT] class IUP_WIDGET (5,2): type based on unknown class HASHABLE.
----
[VTCT] class IUP (5,2): type based on unknown class ANY.
----
[VTCT] class IUP_CLIPBOARD (4,2): type based on unknown class ANY.
----
[VTCT] class CANVAS_DRAW (4,2): type based on unknown class ANY.


maybe I'm doing something stupid with my "build.eant" file or with
"system.ecf".=C2=A0 This is my "build.eant" file:


<?xml version=3D"1.0"?>

<project name=3D"example1" default=3D"help">

<inherit>
<parent location=3D"${GOBO}/library/common/config/eiffel.eant">
<redefine target=3D"init_system"/>
</parent>
</inherit>

<!-- Implementation -->

<target name=3D"init_system" export=3D"NONE">
<set name=3D"system" value=3D"example1"/>
<set name=3D"system_dir"
value=3D"/home/german/Desarrollo/pruebas/gec/eiffel-iup/example1/"/>
</target>

</project>


and my "system.ecf" file:


<?xml version=3D"1.0" encoding=3D"ISO-8859-1"?>
<system
xmlns=3D"http://www.eiffel.com/developers/xml/configuration-1-16-0"
xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=3D"http://www.eiffel.com/developers/xml/configuration-1-=
16-0
http://www.eiffel.com/developers/xml/configuration-1-16-0.xsd"
name=3D"example1" uuid=3D"3C312C2A-398E-4A0E-B834-1663DF82259F">
 =C2=A0=C2=A0=C2=A0 <target name=3D"example1">
 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 <root feature=3D"make" class=3D"EXAM=
PLE1"/>
 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 <file_rule>
 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 <exclude>/\.git$<=
/exclude>
 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 <exclude>/\.svn$<=
/exclude>
 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 <exclude>/CVS$</e=
xclude>
 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 <exclude>/EIFGENs=
$</exclude>
 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 </file_rule>
 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 <option warning=3D"true">
 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 <assertions preco=
ndition=3D"true" postcondition=3D"true"
check=3D"true" invariant=3D"true" loop=3D"true" supplier_precondition=3D"tr=
ue"/>
 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 </option>
 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 <setting name=3D"console_application=
" value=3D"true"/>
 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 <library name=3D"elks"
location=3D"$GOBO/library/free_elks/library.ecf"/>
 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 <cluster name=3D"example1" location=
=3D".\" recursive=3D"true"/>
 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 <library name=3D"eiffel-iup"
location=3D"/home/german/Desarrollo/eiffel-dev/eiffel-iup/library/library.e=
cf"/>
 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 <external_cflag
value=3D"-I/home/german/Desarrollo/eiffel-dev/eiffel-iup/iup/c/"/>
 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 <external_cflag
value=3D"-I/home/german/Desarrollo/gobo-master/tool/gec/runtime/c/"/>
 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 <external_libs value=3D"-lstdc++ -li=
up -liupcd -lcd -liupcontrols
-liupgl -liupglcontrols -liupim -lim -liupimglib -lcdcontextplus"/>
 =C2=A0=C2=A0=C2=A0 </target>
</system>


As you can see, I add some cflags and libs (not sure if this is the
correct way). I also add a "library.ecf" file at my eiffel-iup library.
Is this:


<?xml version=3D"1.0" encoding=3D"ISO-8859-1"?>
<system
xmlns=3D"http://www.eiffel.com/developers/xml/configuration-1-20-0"
 =C2=A0=C2=A0=C2=A0 xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=3D"http://www.eiffel.com/developers/xml/configuration-1-=
20-0
http://www.eiffel.com/developers/xml/configuration-1-20-0.xsd"
 =C2=A0=C2=A0=C2=A0 name=3D"eiffel-iup"
 =C2=A0=C2=A0=C2=A0 library_target=3D"eiffel-iup"
 =C2=A0=C2=A0=C2=A0 uuid=3D"1"
 >

 =C2=A0=C2=A0=C2=A0 <description>
 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 description: "ECF file for the Eiffe=
l-IUP Library"
 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 library: "Eiffel-IUP Library"
 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 copyright: "Copyright (c) 2016-2019,=
 German Arias"
 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 license: "MIT License"
 =C2=A0=C2=A0=C2=A0 </description>

 =C2=A0=C2=A0=C2=A0 <target name=3D"eiffel-iup">
 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 <root all_classes=3D"true"/>
 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 <file_rule>
 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 <exclude>/\.svn$<=
/exclude>
 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 <exclude>/\.git$<=
/exclude>
 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 <exclude>/EIFGENs=
$</exclude>
 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 </file_rule>
 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 <option warning=3D"true"/>
 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 <cluster name=3D"eiffel-iup" locatio=
n=3D"./" recursive=3D"true">
 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 </cluster>
 =C2=A0=C2=A0=C2=A0 </target>
</system>


Any advice on what I'm doing wrong? I'm using GOBO EIffel 19.10. Thanks
in advance.

Germ=C3=A1n

[1] https://notabug.org/GermanGT/eiffel-iup





------------------------------------
Posted by: =3D?UTF-8?Q?Germ=3Dc3=3Da1n_Arias?=3D <[email protected]>
------------------------------------

To Post a message, send it to:   [email protected]
To Unsubscribe, send a blank message to: gobo-eiffel-unsubscribe-B11MqFFcr06IwRZHo2/[email protected]=
m