# \[ref\_impl\_eiffel\] problem compiling adl\_workbench

**URL:** https://discourse.openehr.org/t/ref-impl-eiffel-problem-compiling-adl-workbench/14743
**Category:** Reference Implementation: Eiffel (archive)
**Created:** [23 April 2008 11:15 UTC](https://discourse.openehr.org/t/ref-impl-eiffel-problem-compiling-adl-workbench/14743 "2008-04-23T11:15:47Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![system](https://discourse.openehr.org/uploads/default/original/2X/f/f0a1dedb20c42747bddcafd6c7df9db5f34f003c.svg) [@system](https://discourse.openehr.org/u/system)
#### Post date: [23 April 2008 11:15 UTC](https://discourse.openehr.org/t/ref-impl-eiffel-problem-compiling-adl-workbench/14743/1 "2008-04-23T11:15:47Z")

</div>

Hi, Peter,

I have some problems compiling the ADL workbench. I tried two versions.  
One from BRANCHES/specialisation, I get 4 compiler-errors. Do you want  
to know them.  
(maybe it is a code-tree for developing purposem, not for public)

The TRUNK version does not open the ECF. It gives an error while  
opening the project:  
TRUNK/apps/adl?workbench?ecf: 1:2 parse error

I am using EiffelStudio 6 (6.1.7.1223 GPL Edition - linux-x86)

What can I do? is the compiled version on the website actual?  
(I could use that, but still I would be pleased to ahve a compilable  
version for myself.)

Thanks  
Bert

---

<div class="post-metadata">

### Author: ![Peter\_Gummer1](https://discourse.openehr.org/letter_avatar_proxy/v4/letter/p/258eb7/32.png) [@Peter\_Gummer1](https://discourse.openehr.org/u/Peter_Gummer1)
#### Post date: [23 April 2008 11:51 UTC](https://discourse.openehr.org/t/ref-impl-eiffel-problem-compiling-adl-workbench/14743/2 "2008-04-23T11:51:26Z")

</div>

Bert Verhees wrote:

> I have some problems compiling the ADL workbench. I tried two versions.  
> One from BRANCHES/specialisation, I get 4 compiler-errors.

Good to hear from you, Bert!

Thomas and I have merged BRANCHES/specialisation into the TRUNK, which is  
where we are now working. We no longer work in that branch.

> The TRUNK version does not open the ECF. It gives an error while  
> opening the project:  
> TRUNK/apps/adl?workbench?ecf: 1:2 parse error
> 
> I am using EiffelStudio 6 (6.1.7.1223 GPL Edition - linux-x86)

That's not the final release of EiffelStudio 6.1. They fixed at least one  
bug that affects us; maybe I did a work-around for that, but I think it's  
safest if you install 6.1.7.1477 from  
[http://eiffelstudio.origo.ethz.ch/download](http://eiffelstudio.origo.ethz.ch/download).

> What can I do? is the compiled version on the website actual?

The version at  
[https://wiki.oceaninformatics.com/confluence/display/TTL/ADL+Workbench+Releases](https://wiki.oceaninformatics.com/confluence/display/TTL/ADL+Workbench+Releases)  
was built on 2nd April from revision 595. We're now up to revision 626,  
which includes some bug fixes:

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;o In the Flat view of a specialised archetype, attribute paths  
were missing.  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;o On the Statistics tab, the Slots counts were not updated  
correctly.  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;o Clicking the Parse button did not re-parse an already-parsed  
archetype, despite the user editing the ADL file.  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;o On Linux and Mac only:  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;+ Opening an archetype ad-hoc did not show it in the  
explorer tree.  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;+ Double-clicking an archetype in the Errors or Slots tabs  
did not show it in the explorer tree.

So you would probably prefer revision 626 rather than 595 🙂

But I don't think this is the problem you are having. When I build on Linux,  
I use the adl\_workbench\_no\_precompile target. I started doing this in  
revision 614; it was necessitated by a work-around that I added for a bug in  
EiffelStudio's EV\_TREE\_IMP class on Linux and Mac. I think this may be the  
cause of your problem.

Hopefully choosing the adl\_workbench\_no\_precompile target will fix your  
problem, but it would be wise to install 6.1.7.1477 too.

- Peter

---

<div class="post-metadata">

### Author: ![system](https://discourse.openehr.org/uploads/default/original/2X/f/f0a1dedb20c42747bddcafd6c7df9db5f34f003c.svg) [@system](https://discourse.openehr.org/u/system)
#### Post date: [23 April 2008 12:11 UTC](https://discourse.openehr.org/t/ref-impl-eiffel-problem-compiling-adl-workbench/14743/3 "2008-04-23T12:11:16Z")

</div>

> That's not the final release of EiffelStudio 6.1. They fixed at least one  
> bug that affects us; maybe I did a work-around for that, but I think it's  
> safest if you install 6.1.7.1477 from  
> [http://eiffelstudio.origo.ethz.ch/download](http://eiffelstudio.origo.ethz.ch/download).

Thanks for your swift reply, I update right away

regards  
Bert

---

<div class="post-metadata">

### Author: ![system](https://discourse.openehr.org/uploads/default/original/2X/f/f0a1dedb20c42747bddcafd6c7df9db5f34f003c.svg) [@system](https://discourse.openehr.org/u/system)
#### Post date: [23 April 2008 12:13 UTC](https://discourse.openehr.org/t/ref-impl-eiffel-problem-compiling-adl-workbench/14743/4 "2008-04-23T12:13:50Z")

</div>

Peter Gummer schreef:

> Bert Verhees wrote:  
> &nbsp;&nbsp;
> 
> > I have some problems compiling the ADL workbench. I tried two versions.  
> > One from BRANCHES/specialisation, I get 4 compiler-errors.  
> > &nbsp;&nbsp;&nbsp;&nbsp;  
> > Good to hear from you, Bert!  
> > &nbsp;&nbsp;

I hope to let hear of me a lot more, in short time.  
I just finished a lot of work, and only need to solve one (but maybe  
big) problem to have a working (rudimentary) OpenEhr based information  
system.

Bert

---

<div class="post-metadata">

### Author: ![system](https://discourse.openehr.org/uploads/default/original/2X/f/f0a1dedb20c42747bddcafd6c7df9db5f34f003c.svg) [@system](https://discourse.openehr.org/u/system)
#### Post date: [25 April 2008 06:53 UTC](https://discourse.openehr.org/t/ref-impl-eiffel-problem-compiling-adl-workbench/14743/5 "2008-04-25T06:53:07Z")

</div>

Peter,

I downloaded and installed the new version, first the problem did not  
disappear, but further analysis showed that the previous version had  
damaged the ecf-file. So I restored it from the SVN-repository and now  
it opens fine

Thanks for the advise  
Bert

---

<div class="post-metadata">

### Author: ![system](https://discourse.openehr.org/uploads/default/original/2X/f/f0a1dedb20c42747bddcafd6c7df9db5f34f003c.svg) [@system](https://discourse.openehr.org/u/system)
#### Post date: [25 April 2008 08:56 UTC](https://discourse.openehr.org/t/ref-impl-eiffel-problem-compiling-adl-workbench/14743/6 "2008-04-25T08:56:57Z")

</div>

Bert Verhees schreef:

> Peter,
> 
> I downloaded and installed the new version, first the problem did not  
> disappear, but further analysis showed that the previous version had  
> damaged the ecf-file. So I restored it from the SVN-repository and now  
> it opens fine  
> &nbsp;&nbsp;

Just for the record  
ADL\_workbench compiles and runs without any problem in Linux OpenSuse,  
and EiffelStudio 6 (6.1.7.1477 GPL Edition - linux-x86)

thanks again  
Bert
