Go to Post At this time of the season, there is only one response: BAAAAAAAAA-humbug! - dlavery [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 Rate Thread Display Modes
  #31   Spotlight this post!  
Unread 18-05-2007, 21:03
JBotAlan's Avatar
JBotAlan JBotAlan is offline
Forever chasing the 'bot around
AKA: Jacob Rau
FRC #5263
Team Role: Mentor
 
Join Date: Sep 2004
Rookie Year: 2004
Location: Riverview, MI
Posts: 723
JBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond repute
Send a message via AIM to JBotAlan Send a message via Yahoo to JBotAlan
Re: I want a version of the mplab compiler for Linux.

Quote:
Originally Posted by ScottWalls View Post
We have moved all of hour hosting. You can find everything (with Bazaar) at...
http://adambots.gotdns.com/bzr/mcc-wrapper/

Thank you all and keep on trucking.
Sorry about reviving an old thread...but I want to get this working.

This URL does work, but there are no files in any of the directories...where can I get the files needed to get compiling working under Ubuntu?

Thanks,
JBot
__________________
Aren't signatures a bit outdated?
  #32   Spotlight this post!  
Unread 18-05-2007, 23:02
Cuog's Avatar
Cuog Cuog is offline
Registered Linux User: 390661
AKA: Alex
FRC #0422
Team Role: Mentor
 
Join Date: Nov 2005
Rookie Year: 2004
Location: Richmond, Virginia
Posts: 852
Cuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond reputeCuog has a reputation beyond repute
Send a message via AIM to Cuog
Re: I want a version of the mplab compiler for Linux.

You need to install and run Bazaar to browse the directories otherwise nothing shows up I'm assuming that you can get Bazaar via apt-get if you need
__________________
KK4KQO
http://voltair.us
Too many projects, too little time.
  #33   Spotlight this post!  
Unread 19-05-2007, 12:10
JBotAlan's Avatar
JBotAlan JBotAlan is offline
Forever chasing the 'bot around
AKA: Jacob Rau
FRC #5263
Team Role: Mentor
 
Join Date: Sep 2004
Rookie Year: 2004
Location: Riverview, MI
Posts: 723
JBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond reputeJBotAlan has a reputation beyond repute
Send a message via AIM to JBotAlan Send a message via Yahoo to JBotAlan
Re: I want a version of the mplab compiler for Linux.

Quote:
Originally Posted by Cuog View Post
You need to install and run Bazaar to browse the directories otherwise nothing shows up I'm assuming that you can get Bazaar via apt-get if you need
Oh, how stupid of me

I didn't even know what Bazaar was--thanks for putting up with a Linux noob...

I will try this out later today (I'm booted into WinXP, running a proxy--yes I know I could do this under Ubuntu, I just didn't know how offhand--and my dad is using it right now. I'll reboot back into Linux when I get the chance).

JBot
__________________
Aren't signatures a bit outdated?
  #34   Spotlight this post!  
Unread 18-10-2007, 15:55
Tom Bottiglieri Tom Bottiglieri is offline
Registered User
FRC #0254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Jan 2004
Rookie Year: 2003
Location: San Francisco, CA
Posts: 3,189
Tom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond repute
Re: I want a version of the mplab compiler for Linux.

It seems all of the adambots material has been moved. Can anyone post a mirror?
  #35   Spotlight this post!  
Unread 03-11-2007, 13:48
neutrino15's Avatar
neutrino15 neutrino15 is offline
plɹoʍ ollǝɥ
AKA: Jordan Perr
FRC #0694 (Stuypulse)
 
Join Date: Feb 2007
Rookie Year: 2007
Location: New York City
Posts: 162
neutrino15 is just really niceneutrino15 is just really niceneutrino15 is just really niceneutrino15 is just really nice
Re: I want a version of the mplab compiler for Linux.

Our team has been using wine with C-18 via under ubuntu (dapper?) for quite some time now. It is the weekend, so I don't have access to the team computer. I will try and gather up all of the needed files and post them to our server next week.

I forget what version of WINE we run, but we really have not bothered to update it in a very long time. When it started to work, we didn't want to mess it up with another update!

Until then, has anybody had luck with the c18 compiler under the latest wine (0.9.48)? Also, I use a macbook intel c2d running leopard 10.5. They have released Darwine 0.9.48. Does anybody use darwine? Can you report your experiences? (I have only had bad ones with darwine in the past.)

My other option, of course, is parallels.. Which I already own. But really, who wants to use windows to program when you have a mac in front of you! (or linux, same point!)


Reguards-
-Jordan P

Last edited by neutrino15 : 03-11-2007 at 13:51. Reason: Some misinformation...
  #36   Spotlight this post!  
Unread 05-11-2007, 20:34
bagawk bagawk is offline
Registered User
AKA: LeeP
FRC #0997 (Spartan Robotics)
Team Role: College Student
 
Join Date: Jan 2007
Rookie Year: 2005
Location: Oregon
Posts: 9
bagawk is an unknown quantity at this point
Re: I want a version of the mplab compiler for Linux.

I have 0.9.48 working fine under OS X 10.5 here. I compiled from source, the macports version does not build right now. I tried darwine some time ago (year+), but it never worked well.

Also, the makefile I use is available here: http://team997.org/files/software/Makefile

Should work fine with maybe a couple little modifications.

Last edited by bagawk : 05-11-2007 at 20:37. Reason: Added makefile link
  #37   Spotlight this post!  
Unread 19-12-2007, 21:53
gauntletguy gauntletguy is offline
Registered User
AKA: Eric Nelson
FRC #2771
Team Role: Leadership
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Grandville, MI
Posts: 6
gauntletguy is an unknown quantity at this point
Send a message via AIM to gauntletguy
Re: I want a version of the mplab compiler for Linux.

it seems that the server for the wrapper scripts is down, is there another way i can get them?
  #38   Spotlight this post!  
Unread 20-12-2007, 12:44
keen101's Avatar
keen101 keen101 is offline
Ubuntu Linux User
no team
Team Role: College Student
 
Join Date: Dec 2007
Rookie Year: 2005
Location: Loveland, CO
Posts: 228
keen101 is a jewel in the roughkeen101 is a jewel in the roughkeen101 is a jewel in the roughkeen101 is a jewel in the rough
Re: I want a version of the mplab compiler for Linux.

Yeah, It'd be great if there was some sort of Open Source alternative to MPLAB.

Something that anyone (not just Linux users) could use.

It could be made to be Windows, MAC, AND Linux compatible.
  #39   Spotlight this post!  
Unread 20-12-2007, 14:42
bear24rw's Avatar
bear24rw bear24rw is offline
Team 11 Programming Captain
AKA: Max T
FRC #0011 (MORT)
Team Role: Programmer
 
Join Date: Sep 2005
Rookie Year: 2005
Location: Flanders, NJ
Posts: 385
bear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to beholdbear24rw is a splendid one to behold
Send a message via AIM to bear24rw
Re: I want a version of the mplab compiler for Linux.

Quote:
Originally Posted by keen101 View Post
Yeah, It'd be great if there was some sort of Open Source alternative to MPLAB.

Something that anyone (not just Linux users) could use.

It could be made to be Windows, MAC, AND Linux compatible.
MPLAB is not the problem, you could use anything in place of it (our team uses code::blocks) its the mcc18 compiler that's the issue, its win32 only
  #40   Spotlight this post!  
Unread 21-12-2007, 02:09
keen101's Avatar
keen101 keen101 is offline
Ubuntu Linux User
no team
Team Role: College Student
 
Join Date: Dec 2007
Rookie Year: 2005
Location: Loveland, CO
Posts: 228
keen101 is a jewel in the roughkeen101 is a jewel in the roughkeen101 is a jewel in the roughkeen101 is a jewel in the rough
Re: I want a version of the mplab compiler for Linux.

OK, but either way it be great to have an Open Source solution.


That way it could be used by ANYONE who would want to use it.


...AND the great thing about Open Source is that FIRST would not even have to maintain it. The community would.
  #41   Spotlight this post!  
Unread 22-12-2007, 03:08
neutrino15's Avatar
neutrino15 neutrino15 is offline
plɹoʍ ollǝɥ
AKA: Jordan Perr
FRC #0694 (Stuypulse)
 
Join Date: Feb 2007
Rookie Year: 2007
Location: New York City
Posts: 162
neutrino15 is just really niceneutrino15 is just really niceneutrino15 is just really niceneutrino15 is just really nice
Re: I want a version of the mplab compiler for Linux.

I agree wholeheartedly.

Quote:
FIRST would not even have to maintain it. The community would.
There was somebody trying to write and eclipse plugin for FIRST.. Don't know what happened there.. I hope that FIRST takes our requests seriously as they plan the '09 Robot Controller. There is no reason why FIRST can't move to open source. (Unless there are some behind the scenes deals going on! Though I doubt that..) Aaaanyway, best thing to do for now is to either bite the bullet and get a windows box up and running with mplab/c18, or use the makefile/wine/text editor.

personally: I use linux in the lab (we have 2 thinkpads with xubuntu) with the makefile/wine workaround. At home (and sometimes in the lab), I just use VMWare + MPLab on my Macbook. However, I usually edit the text code in OSX and then fire up MPLAB in the lab to load code. While 20GB just for a robot code loader is INSANE (granted I did put autodesk on it), i sometimes forget that I am dealing with operating systems here...

Last edited by neutrino15 : 22-12-2007 at 03:16.
  #42   Spotlight this post!  
Unread 24-12-2007, 11:45
HighLife's Avatar
HighLife HighLife is offline
Mentor
FRC #0245 (Adambots)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Rochester Hills, MI
Posts: 74
HighLife will become famous soon enough
Send a message via AIM to HighLife
Re: I want a version of the mplab compiler for Linux.

Quote:
Originally Posted by meatmanek View Post
Figured out my previous problem. Wine 0.9.22 has problems, so I updated to 0.9.29. Now I get a new error:

Code:
Compiling ifi_utilities.o...
1.   Checking Dependencies for ifi_utilities.o
2.   Launching Compiler...
A thought to keep you occupied:  /bin/sh: /usr/games/fortune: No such file or directory
Fortune not found.
        Microchip MCC C18 Compiler
        Version 0.0+SVN20050725
DEBUG:Using wine /opt/mcc18//bin/mcc18-traditional -p=18F8520 -fo ifi_utilities.o ifi_utilities.c /i"Z:\opt\mcc18\h" -D_FRC_BOARD -w3 pa=3 -O+ -nw=2066 -mL  to launch MCC18
fixme:msvcrt:_spawnve only trying .exe when no extension given
Z:\home\meatmanek\techhounds\svn\test\ifi_utilities.c:104:Message [3002] comparison of a signed integer to an unsigned integer detected

Z:\home\meatmanek\techhounds\svn\test\ifi_utilities.c:128:Message [3002] comparison of a signed integer to an unsigned integer detected

Z:\home\meatmanek\techhounds\svn\test\ifi_utilities.c:206:Error [1105] symbol 'ADC_0_TAD' has not been defined

Z:\home\meatmanek\techhounds\svn\test\ifi_utilities.c:207:Error [1204] too many arguments in function call


Traceback (most recent call last):
  File "/usr/local/bin/mcc18", line 49, in ?
    raise Exception,"Compile FAILED"
Exception: Compile FAILED
make: *** [ifi_utilities.o] Error 1
Lines 206 and 207 are:
OpenADC( ADC_FOSC_RC & ADC_RIGHT_JUST & ADC_0_TAD,
ADC_channel & ADC_INT_OFF & ADC_VREFPLUS_VDD & ADC_VREFMINUS_VSS,15);
I'm getting this same exact error. Can anyone help me with this?

By the way I'm using the 2007 FIRST default code to test this.
__________________
AdamBots.com- Winner of 7 Best Website Awards!

Last edited by HighLife : 24-12-2007 at 11:53. Reason: Adding extra possibly helpful information
  #43   Spotlight this post!  
Unread 24-12-2007, 11:51
meatmanek meatmanek is offline
Programmer/physicist/mathematician
FRC #0868 (TechHounds)
Team Role: Programmer
 
Join Date: Mar 2004
Rookie Year: 2004
Location: Carmel, Indiana
Posts: 142
meatmanek is a splendid one to beholdmeatmanek is a splendid one to beholdmeatmanek is a splendid one to beholdmeatmanek is a splendid one to beholdmeatmanek is a splendid one to beholdmeatmanek is a splendid one to beholdmeatmanek is a splendid one to behold
Re: I want a version of the mplab compiler for Linux.

It's been about a year since I touched mcc18 on linux. I did get it working, I can't remember how though, and my linux box is offline for break. I think I had to get in touch with jdong or one of his teammates to get some help. I'll try to help once I get back to my dorm, but that's not going to be until mid january or so.
__________________
Real programmers use vim.
  #44   Spotlight this post!  
Unread 24-12-2007, 13:18
Richard McClellan's Avatar
Richard McClellan Richard McClellan is offline
Engineering Mentor
FRC #0254 (Cheesy Poofs)
Team Role: Mentor
 
Join Date: May 2004
Rookie Year: 2004
Location: Palo Alto, CA
Posts: 322
Richard McClellan has much to be proud ofRichard McClellan has much to be proud ofRichard McClellan has much to be proud ofRichard McClellan has much to be proud ofRichard McClellan has much to be proud ofRichard McClellan has much to be proud ofRichard McClellan has much to be proud ofRichard McClellan has much to be proud ofRichard McClellan has much to be proud ofRichard McClellan has much to be proud of
Send a message via AIM to Richard McClellan
Re: I want a version of the mplab compiler for Linux.

Quote:
Originally Posted by neutrino15 View Post
There was somebody trying to write and eclipse plugin for FIRST.. Don't know what happened there..
Our team is planning on switching over from the default code provided by IFI to the WPILib libraries that WPI put together a few years ago. There are instructions on their website on how to use it with Eclipse, though I haven't tried walking through it myself yet.
__________________
~ Richard McClellan ~
Former Student on 1477 | Northside Roboteers | 2004-2005
Former Lead Mentor for 2158 | ausTIN CANs | 2007-2010
Current Mentor for 254 | Cheesy Poofs | 2013
  #45   Spotlight this post!  
Unread 24-12-2007, 15:01
whitetiger0990's Avatar
whitetiger0990 whitetiger0990 is offline
Registered User
no team
Team Role: Programmer
 
Join Date: Mar 2006
Rookie Year: 2006
Location: Earth
Posts: 157
whitetiger0990 is a glorious beacon of lightwhitetiger0990 is a glorious beacon of lightwhitetiger0990 is a glorious beacon of lightwhitetiger0990 is a glorious beacon of lightwhitetiger0990 is a glorious beacon of light
Re: I want a version of the mplab compiler for Linux.

Quote:
Originally Posted by HighLife View Post
I'm getting this same exact error. Can anyone help me with this?

By the way I'm using the 2007 FIRST default code to test this.
Could that be the pathlength thing of mcc18? Make a drive letter point directly into your code (or put your code in /tmp for testing) and try it.
__________________
print$q=chr(ord($q)+$1)while("7443-0201-8465130105-12-03135-82482113-06-7672-070208-0613-70"=~/(-?\d\d)/g);
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
MPLAB C18 problem Justyn Programming 0 09-03-2005 11:37
IMPORTANT regarding the new C Compiler dlavery General Forum 12 14-01-2005 05:05
Makefile and stripped down compiler Venkatesh Programming 0 09-01-2005 18:55
MPLAB IDE 6.60 Error mchan1111 Programming 8 08-11-2004 20:17
using the MPLAB IDE MPLAB SIM simulator WizardOfAz Programming 1 03-11-2003 01:24


All times are GMT -5. The time now is 15:47.

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