Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   I want a version of the mplab compiler for Linux. (http://www.chiefdelphi.com/forums/showthread.php?t=36377)

JBotAlan 18-05-2007 21:03

Re: I want a version of the mplab compiler for Linux.
 
Quote:

Originally Posted by ScottWalls (Post 582251)
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

Cuog 18-05-2007 23:02

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

JBotAlan 19-05-2007 12:10

Re: I want a version of the mplab compiler for Linux.
 
Quote:

Originally Posted by Cuog (Post 627897)
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:o

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

Tom Bottiglieri 18-10-2007 15:55

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?

neutrino15 03-11-2007 13:48

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

bagawk 05-11-2007 20:34

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.

gauntletguy 19-12-2007 21:53

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?

keen101 20-12-2007 12:44

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.

bear24rw 20-12-2007 14:42

Re: I want a version of the mplab compiler for Linux.
 
Quote:

Originally Posted by keen101 (Post 661943)
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

keen101 21-12-2007 02:09

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.

neutrino15 22-12-2007 03:08

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...

HighLife 24-12-2007 11:45

Re: I want a version of the mplab compiler for Linux.
 
Quote:

Originally Posted by meatmanek (Post 582557)
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.

meatmanek 24-12-2007 11:51

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.

Richard McClellan 24-12-2007 13:18

Re: I want a version of the mplab compiler for Linux.
 
Quote:

Originally Posted by neutrino15 (Post 662778)
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.

whitetiger0990 24-12-2007 15:01

Re: I want a version of the mplab compiler for Linux.
 
Quote:

Originally Posted by HighLife (Post 663396)
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.


All times are GMT -5. The time now is 18:07.

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