# Compiling and debuging using Eclipse

**URL:** <https://forum.sierrawireless.com/t/compiling-and-debuging-using-eclipse/654>\
**Category:** Development tools\
**Created:** [September 2, 2006, 4:22pm UTC](https://forum.sierrawireless.com/t/compiling-and-debuging-using-eclipse/654 "2006-09-02T16:22:26Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![gmnvh](https://avatars.discourse-cdn.com/v4/letter/g/dbc845/32.png) [@gmnvh](https://forum.sierrawireless.com/u/gmnvh)\
**Post date:** [September 2, 2006, 4:22pm UTC](https://forum.sierrawireless.com/t/compiling-and-debuging-using-eclipse/654/1 "2006-09-02T16:22:26Z")

</div>

Hy all, 💡

I am able to compile an Open AT project using Eclipse (see below how I do it ).

Now, I would like to use the debug mode but I do not have idea how to set the Eclipse enviromment to do that !!! ( I do not know even if it is possbile ! ).

Anyone knows something about it ?? ❓

Tks,  
Gus

/\*\*\*\*\*How to set Eclipse enviromment

01 - Create a project using Open AT Project Wizard  
02 - Open Eclipse  
03 - Click File-\>New-\>Project  
04 - Select C-\>Standard Make C Project (you need to install CDT plug-in first)  
05 - Click Next, put a name to your project and finish it  
06 - Click File-\>Import  
07 - Select File system (click Next)  
08 - Browse your project directory  
09 - Click Select All and then Finish  
10 - Click Project-\>Properties-\>C/C++ Make Project  
11 - Uncheck “Use default” and complete the following fields

Build command: wmlauncher.bat wmmake  
Build (Incremental Build): ${project\_name}  
Rebuild (Full Build): ${project\_name} -c

12 - Click OK  
13 - Click Project-\>Build All to see it working (see the output on Console windows)

---

<div class="post-metadata">

**Author:** ![walter\_senekal](https://avatars.discourse-cdn.com/v4/letter/w/f05b48/32.png) [@walter\_senekal](https://forum.sierrawireless.com/u/walter_senekal)\
**Post date:** [September 6, 2006, 5:29pm UTC](https://forum.sierrawireless.com/t/compiling-and-debuging-using-eclipse/654/2 "2006-09-06T17:29:40Z")

</div>

Hi Gus  
What version of openat are you using?  
Only the latest version of openat supports debugging in eclipse  
V4.10beta4  
If you are using the latest beta version then use these steps  
While your project is open  
click Project-\>Build All  
click run-\>run…  
under the C/C++ Application:  
click Browse…  
and select the file  
\mingw\out\kernel.exe  
e.g.: (H:\Dev\OpenAT\V410b4\Hello\_World\mingw\out\kernel.exe)  
and then select run  
it will start the RTE now

Best regards  
Walter

---

<div class="post-metadata">

**Author:** ![gmnvh](https://avatars.discourse-cdn.com/v4/letter/g/dbc845/32.png) [@gmnvh](https://forum.sierrawireless.com/u/gmnvh)\
**Post date:** [September 11, 2006, 7:00pm UTC](https://forum.sierrawireless.com/t/compiling-and-debuging-using-eclipse/654/3 "2006-09-11T19:00:27Z")

</div>

Walter,

Before you run the kernel.exe dont you need to compile the project ?

As fas as I know it is different from target mode.

Do you know how to compile the project before run the kernel.exe ???

---

<div class="post-metadata">

**Author:** ![walter\_senekal](https://avatars.discourse-cdn.com/v4/letter/w/f05b48/32.png) [@walter\_senekal](https://forum.sierrawireless.com/u/walter_senekal)\
**Post date:** [September 12, 2006, 2:41pm UTC](https://forum.sierrawireless.com/t/compiling-and-debuging-using-eclipse/654/4 "2006-09-12T14:41:45Z")

</div>

Hi Gus  
I have attacheda screen shot of how to build for RTE  
Best regards  
Walter  
 ![](http://www.senekal.net/openat/ftp/biuild_eclipse_rte.jpg)

---

<div class="post-metadata">

**Author:** ![vincent.thevenot](https://avatars.discourse-cdn.com/v4/letter/v/439d5e/32.png) [@vincent.thevenot](https://forum.sierrawireless.com/u/vincent.thevenot)\
**Post date:** [September 14, 2006, 10:11am UTC](https://forum.sierrawireless.com/t/compiling-and-debuging-using-eclipse/654/5 "2006-09-14T10:11:32Z")

</div>

How can I get V4.10beta4 version ?  
I am working with V4.10beta1 !

Thanks.

---

<div class="post-metadata">

**Author:** ![walter\_senekal](https://avatars.discourse-cdn.com/v4/letter/w/f05b48/32.png) [@walter\_senekal](https://forum.sierrawireless.com/u/walter_senekal)\
**Post date:** [September 14, 2006, 2:28pm UTC](https://forum.sierrawireless.com/t/compiling-and-debuging-using-eclipse/654/6 "2006-09-14T14:28:16Z")

</div>

Hi Vincent  
You have to call your distributor.  
They should be able to give it to you.  
Best regards  
Walter

---

<div class="post-metadata">

**Author:** ![atcaeiro](https://avatars.discourse-cdn.com/v4/letter/a/bbe5ce/32.png) [@atcaeiro](https://forum.sierrawireless.com/u/atcaeiro)\
**Post date:** [September 15, 2006, 11:23am UTC](https://forum.sierrawireless.com/t/compiling-and-debuging-using-eclipse/654/7 "2006-09-15T11:23:50Z")

</div>

Hi,

I have started to work with OpenAt V4.10 Build 5 but I cannot install it correctly. I’m trying to build the Hello World example and it fails, with some extrange errors.

- 00 [Time = 00]

- enter new zip file comment \*00:00

- enter new zip file comment \* DiagnoseTips.ini (152 bytes security) (deflated 87%)

---

<div class="post-metadata">

**Author:** ![gdt](https://avatars.discourse-cdn.com/v4/letter/g/7993a0/32.png) [@gdt](https://forum.sierrawireless.com/u/gdt)\
**Post date:** [September 19, 2006, 3:00pm UTC](https://forum.sierrawireless.com/t/compiling-and-debuging-using-eclipse/654/8 "2006-09-19T15:00:06Z")

</div>

Hi everyone,

I have the 4.1 b4 openAt, I have installed everything and the wmcheck seems to be good. When I try to create a new project with the wizard, no errors occur. It lauch Eclipse but there is nothing created like the screenshot above… Did you done that manually? If yes, what is the configuration in wismo target mode and debug mode, how can I include the Wavecom header files?

In the cd I received from my Wavecom distributor, there is no documentation about eclipse. If someone have a pdf, can you send me that? I have asked a doc to my distributor but without responses at this time…

Thanks

Best regards

gdt

---

<div class="post-metadata">

**Author:** ![jan](https://avatars.discourse-cdn.com/v4/letter/j/ce7236/32.png) [@jan](https://forum.sierrawireless.com/u/jan)\
**Post date:** [November 14, 2006, 10:28am UTC](https://forum.sierrawireless.com/t/compiling-and-debuging-using-eclipse/654/9 "2006-11-14T10:28:32Z")

</div>

Hi,

I am using Open AT Â® OS Release version: 4.10 Build 10 which came with Open AT Â® IDE Release version: 1.00 Build 06. (I think for IDE there is already a newer version ❓)

The project wizard did not create the settings suitable to debug from eclipse, and only does support elipse (no selection for other IDEs possible).

Following the walter\_senekal’s instructions, I can run the RTE. But I am not able to debug. When I try the same for Debug, I get an error “Error creating session: Exec error:Launching failed” and when I click on Details\>\> I will get

```auto
Exec error:Launching failed
  Exec error:Launching failed
  Exec error:Launching failed
```

which doesn’t really help a lot.

Did anyone came across this problem and found a solution to that?

Thanks in advance,  
Jan

---

<div class="post-metadata">

**Author:** ![gsalter](https://avatars.discourse-cdn.com/v4/letter/g/2bfe46/32.png) [@gsalter](https://forum.sierrawireless.com/u/gsalter)\
**Post date:** [November 15, 2006, 10:40am UTC](https://forum.sierrawireless.com/t/compiling-and-debuging-using-eclipse/654/10 "2006-11-15T10:40:08Z")

</div>

Hi

I have installed V4.1 b4, V4.1 b7 and now I’m on V4.1 RC1. I have noticed that with the 4.1 version, Cygwyn is not installed? Is this normal?

When the project wizard creates the files, it cannot find the .metadata file, and as a result Eclipse starts with a blank workspace. How do I fix this?

Thank you

Regards,  
Geoff

---

<div class="post-metadata">

**Author:** ![gsalter](https://avatars.discourse-cdn.com/v4/letter/g/2bfe46/32.png) [@gsalter](https://forum.sierrawireless.com/u/gsalter)\
**Post date:** [November 15, 2006, 10:40am UTC](https://forum.sierrawireless.com/t/compiling-and-debuging-using-eclipse/654/11 "2006-11-15T10:40:34Z")

</div>

Hi

I have installed V4.1 b4, V4.1 b7 and now I’m on V4.1 RC1. I have noticed that with the 4.1 version, Cygwyn is not installed? Is this normal?

When the project wizard creates the files, it cannot find the .metadata file, and as a result Eclipse starts with a blank workspace. How do I fix this?

Thank you

Regards,  
Geoff

---

<div class="post-metadata">

**Author:** ![jan](https://avatars.discourse-cdn.com/v4/letter/j/ce7236/32.png) [@jan](https://forum.sierrawireless.com/u/jan)\
**Post date:** [November 16, 2006, 7:45am UTC](https://forum.sierrawireless.com/t/compiling-and-debuging-using-eclipse/654/12 "2006-11-16T07:45:18Z")

</div>

Hi again,

Just wanted to let you all know that I found my problem… The path to the “gdb” executable wasn’t set right… A more specific error message would have been helpful…

> [@gsalter](#):
>
> I have installed V4.1 b4, V4.1 b7 and now I’m on V4.1 RC1. I have noticed that with the 4.1 version, Cygwyn is not installed? Is this normal?

I think what it does is that it installs a very private copy of cygwin in its OpenAT folder… If you haven’t changed the installation directory, look in C:\OpenAT\IDE\IDE\1.00.06\cygwin… And yes, I think this is normal…

Best Regards,  
Jan
