Go to Post FIRST is a pretty decent microcosm of real life, those who work hard, accomplish more decent lesson to learn, and FIRST is allowing us to learn it. - Aren_Hill [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rating: Thread Rating: 4 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 13-01-2007, 09:00
MattD's Avatar
MattD MattD is offline
Registered User
AKA: Matthew Douglas
FRC #0228 (GUS Robotics)
Team Role: Alumni
 
Join Date: Feb 2006
Rookie Year: 2005
Location: Indianapolis, IN
Posts: 185
MattD is a splendid one to beholdMattD is a splendid one to beholdMattD is a splendid one to beholdMattD is a splendid one to beholdMattD is a splendid one to beholdMattD is a splendid one to beholdMattD is a splendid one to behold
Send a message via AIM to MattD
easyC PRO on Ubuntu Linux

I did a quick search to see if anyone has posted this before, and didn't really find anything besides a locked thread. Sorry if this information is already somewhere else.


I spent some time trying to get easyC PRO to work on Ubuntu tonight, and I thought I'd share how I got it to work.

* Note: I have not yet tested the USB/Serial adapter with this.

Screenshots:


Step 1: Get Wine 0.9.29 from here. Note that the compiler will not work with 0.9.22.

Step 2: After Wine is installed, download easyC PRO. Run the setup with the command wine /path/to/easyCPro.exe. This works mostly the same as on Windows.

Step 3: After you have easyC PRO installed, you can run it using wine "~/.wine/drive_c/Program Files/Intelitek/easyC Pro/easyC.exe"

Step 4: At this point, easyC should work normally with one problem - code will not compile. I'm not exactly sure if all of these things need to be done, but before I got it to work I did the following:

- Rename "~/.wine/drive_c/Program Files/Intelitek/easyC Pro/#Tools/Frc" to "~/.wine/drive_c/Program Files/Intelitek/easyC Pro/#Tools/FRC"
- Rename "~/.wine/drive_c/Program Files/Intelitek/easyC Pro/#Tools/FRC/Api" to "~/.wine/drive_c/Program Files/Intelitek/easyC Pro/#Tools/FRC/API"
- Rename "~/.wine/drive_c/Program Files/Intelitek/easyC Pro/#Tools/FRC/API/Api.h" to "~/.wine/drive_c/Program Files/Intelitek/easyC Pro/#Tools/FRC/API/API.h"
- I'm still not sure on why this part had to be done:
Edit API.h and remove all of the VEX parts from it, and all of the #ifdef _FRC_BOARD and #endif lines associated with them. I'm guessing the compiler may have freaked out with the line breaks on those, but I really don't know. My copy of API.h that is working is attached.

I think that's it, but I messed around with this for quite a while so I might have missed a step or two.

Hope this helps.
Attached Files
File Type: h API.h (9.4 KB, 81 views)
__________________
GUS Robotics Team 228

2010 WPI Engineering Inspiration Award
2010 WPI Regional Champions (Thanks 230 & 20!)
2010 CT VEX Champions
2010 CT VEX Innovate Award
2009 QCC VEX Champions
2009 CT Motorola Quality Award
2007 CT J&J Sportsmanship Award
2006 CT Best Website Award
  #2   Spotlight this post!  
Unread 15-01-2007, 22:58
Kingofl337's Avatar
Kingofl337 Kingofl337 is offline
You didn't see anything....
AKA: Adam
FRC #0501 (Power Knights)
Team Role: Mentor
 
Join Date: Feb 2005
Rookie Year: 1998
Location: Manchester, NH
Posts: 861
Kingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond repute
Send a message via Yahoo to Kingofl337
Re: easyC PRO on Ubuntu Linux

Nice job guys now you just need to get it working in OSX.
__________________
FIRST Team 501 PowerKnights - Mentor
FIRST Team 40 Checkmate - Mentor Alum
FIRST Team 146 Blue Lightning - Alumni
  #3   Spotlight this post!  
Unread 16-01-2007, 02:22
JohnC's Avatar
JohnC JohnC is offline
my other name is nigel
FRC #0360 (360 Revolution)
Team Role: Programmer
 
Join Date: Mar 2005
Rookie Year: 2005
Location: user_routines.c
Posts: 100
JohnC is a jewel in the roughJohnC is a jewel in the roughJohnC is a jewel in the roughJohnC is a jewel in the rough
Send a message via AIM to JohnC
Re: easyC PRO on Ubuntu Linux

Quote:
Originally Posted by Kingofl337 View Post
Nice job guys now you just need to get it working in OSX.
Fire up Parallels, fire up easyC, click Coherence, hide the start bar
__________________
What place are we at? ... TODAI!
  #4   Spotlight this post!  
Unread 16-01-2007, 09:00
Kingofl337's Avatar
Kingofl337 Kingofl337 is offline
You didn't see anything....
AKA: Adam
FRC #0501 (Power Knights)
Team Role: Mentor
 
Join Date: Feb 2005
Rookie Year: 1998
Location: Manchester, NH
Posts: 861
Kingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond repute
Send a message via Yahoo to Kingofl337
Re: easyC PRO on Ubuntu Linux

Yeah, thanks sport I didn't figure that out.....

Mac users can also use boot camp.

I idea is to run inside OSX without purchasing Paralles and then XP.
__________________
FIRST Team 501 PowerKnights - Mentor
FIRST Team 40 Checkmate - Mentor Alum
FIRST Team 146 Blue Lightning - Alumni

Last edited by Kingofl337 : 16-01-2007 at 09:04.
  #5   Spotlight this post!  
Unread 09-04-2007, 19:17
Athena Athena is offline
Registered User
FRC #1676 (Pi-oneers)
Team Role: Programmer
 
Join Date: Nov 2005
Rookie Year: 2005
Location: Montvale, NJ
Posts: 8
Athena is on a distinguished road
Re: easyC PRO on Ubuntu Linux

hi. i just installed easyC pro with the newest version of wine, version 0.9.33. it installed it differently. the command to run it is wine "C:\Program Files\Intelitek\easyC Pro\easyC.exe" i just compiled some code just fine. so idn. maybe there is a problem with wine .29? i didn't have to change any file names. So hopefully the code loads alright. I guess I'll find out in atlanta

Last edited by Athena : 09-04-2007 at 19:30.
  #6   Spotlight this post!  
Unread 10-04-2007, 19:31
Kingofl337's Avatar
Kingofl337 Kingofl337 is offline
You didn't see anything....
AKA: Adam
FRC #0501 (Power Knights)
Team Role: Mentor
 
Join Date: Feb 2005
Rookie Year: 1998
Location: Manchester, NH
Posts: 861
Kingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond repute
Send a message via Yahoo to Kingofl337
Re: easyC PRO on Ubuntu Linux

We have a new version of easyC Pro / V2 coming out that changes the way easyC compiles it should if anything make it easier to make easyC work in wine. The fix was for non-us versions of windows but I feel it will help linux users. Keep an eye on the Pro website.
__________________
FIRST Team 501 PowerKnights - Mentor
FIRST Team 40 Checkmate - Mentor Alum
FIRST Team 146 Blue Lightning - Alumni
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Download easyC PRO & 2007 Kickoff Code Kingofl337 Programming 1 24-01-2008 09:15
Additional easyC Pro License Dung H Cao Programming 2 10-01-2007 14:45
pic: intelitek's present to you.....a sneak peek at easyC PRO! Jessica Boucher Extra Discussion 22 02-01-2007 14:06
pic: easyC PRO at work! Jessica Boucher Extra Discussion 12 14-12-2006 15:25


All times are GMT -5. The time now is 06:49.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi