Go to Post Courtesy and kindness should be the words for the weekend. - IndySam [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
  #1   Spotlight this post!  
Unread 04-11-2007, 23:30
Loki1989's Avatar
Loki1989 Loki1989 is offline
Mentor
AKA: Mike Parker
FRC #5338 (RoboLoCo)
Team Role: Mentor
 
Join Date: Feb 2006
Rookie Year: 2005
Location: Leesburg, VA
Posts: 73
Loki1989 will become famous soon enough
Working with code in OSX

Is there a way to edit it in OSX because if we want everyone to be able to use it I think everyone should be able to with out being dependent on Windows ... I run and intel mac and can run windows but it's kind of a pan to run it.
__________________
2017 - FRC 5338 RoboLoCo - Mentor

2005-2013 - Team 1544 - One Byte Short
  #2   Spotlight this post!  
Unread 04-11-2007, 23:58
Kyle Fenton Kyle Fenton is offline
GET IT ON!!
FRC #0121 (Rhode Warrior)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 2000
Location: Middletown, R.I.
Posts: 785
Kyle Fenton has much to be proud ofKyle Fenton has much to be proud ofKyle Fenton has much to be proud ofKyle Fenton has much to be proud ofKyle Fenton has much to be proud ofKyle Fenton has much to be proud ofKyle Fenton has much to be proud ofKyle Fenton has much to be proud ofKyle Fenton has much to be proud ofKyle Fenton has much to be proud of
Send a message via AIM to Kyle Fenton
Re: Working with code in OSX

Quote:
Originally Posted by Loki1989 View Post
Is there a way to edit it in OSX because if we want everyone to be able to use it I think everyone should be able to with out being dependent on Windows ... I run and intel mac and can run windows but it's kind of a pan to run it.
Edit...yes, they are just text files.

But you can't compile it.

Since you have a x86 (intel) based mac you have the option to either run it in windows or use crossover

Also do a search next time. This topic has been discussed many times.
__________________
121
Rhode Warriors
NAVSEA/Raytheon/URI/Middletown, Portsmouth, Tiverton, Mt. Hope HS
Quality Robots Since 1996
  #3   Spotlight this post!  
Unread 05-11-2007, 01:19
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: Working with code in OSX

You can also compile the code in OS X if you are comfortable with using makefiles, wine among doing some other things. I personally use OS X to program the robot.

Search around and you can see how it can be done.
  #4   Spotlight this post!  
Unread 07-11-2007, 12:47
Blair Frank's Avatar
Blair Frank Blair Frank is offline
Writer and Alumnus
FRC #0852 (Athenian Robotics Collective)
Team Role: Alumni
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Walla Walla, WA
Posts: 49
Blair Frank is a jewel in the roughBlair Frank is a jewel in the roughBlair Frank is a jewel in the roughBlair Frank is a jewel in the rough
Re: Working with code in OSX

Well, I code on my MacBook, but we use a PC to compile the code because I haven't quite figured out how to. What I would recommend is picking up the Carbon Emacs package from the Apple Downloads Website, and use that or your preferred text editor to edit all of the .c and .h files. All of the other files are MPLab specific, and as far as I know, can't be run natively on OSX. I also haven't found a way to compile it on OSX, but if someone knows how, I would love to hear.
__________________
Proud alumnus of Team 852, the Athenian Robotics Collective.

Pneumatics in a nutshell: Put together an elaborate series of pipes, canisters, cylinders, valves and hoses; then fill that system with highly pressurized air, and hope that it doesn't blow up in your face.
  #5   Spotlight this post!  
Unread 23-11-2007, 19:42
ruddy ruddy is offline
Registered User
FRC #1261
 
Join Date: Nov 2007
Location: Georgia
Posts: 16
ruddy is a splendid one to beholdruddy is a splendid one to beholdruddy is a splendid one to beholdruddy is a splendid one to beholdruddy is a splendid one to beholdruddy is a splendid one to behold
Re: Working with code in OSX

http://darwine.sourceforge.net/
darwine is a wine port for osx. maybe you can get mplab running in it.
  #6   Spotlight this post!  
Unread 24-11-2007, 09:43
tseres's Avatar
tseres tseres is offline
obsessed with FIRST...
FRC #1565 (Think Tank Tech)
Team Role: Leadership
 
Join Date: Apr 2007
Rookie Year: 2007
Location: Cambridge, ON
Posts: 305
tseres is a glorious beacon of lighttseres is a glorious beacon of lighttseres is a glorious beacon of lighttseres is a glorious beacon of lighttseres is a glorious beacon of lighttseres is a glorious beacon of light
Re: Working with code in OSX

couldn't you just run a copy of windows on bootcamp? i've heard that bootcamp runs windows better than pc's
__________________


  #7   Spotlight this post!  
Unread 28-11-2007, 00:07
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: Working with code in OSX

Quote:
Originally Posted by Loki1989 View Post
I think everyone should be able to with out being dependent on Windows ... I run and intel mac and can run windows but it's kind of a pan to run it.
I do to.. As do many other people involved with FRC. The cold hard fact, however, is that there are no native linux/unix compilers that will work with our RCs..

While you can edit the actual code files in any old text editor, your mac will never be able to natively compile code (unless FIRST allows it).

My team has been using the WINE+makefile workaround for quite some time now, and I will say that it works fine. Its tricky to set up, but once its set up, it is pretty seamless.. (This can be implemented on a mac using Darwine)


I would suggest, however, that you use your mac to edit the text code (use textwrangler, or even textedit) and then just transfer the files to a windows machine to compile.


p.s. Or you could just install xp (or tinyxp) under parallels/vmware. I know it takes up a lot of space (though tinyxp weighs in at under 1gb when fully operational) but parallels and vmware will compile and load code just fine.
  #8   Spotlight this post!  
Unread 19-12-2007, 16:48
nukelear1991 nukelear1991 is offline
Registered User
AKA: Mike Poff
FRC #0858 (Delphi Demons)
Team Role: Tactician
 
Join Date: Sep 2007
Rookie Year: 2006
Location: Wyoming,MI
Posts: 23
nukelear1991 is on a distinguished road
Re: Working with code in OSX

Quote:
Originally Posted by Loki1989 View Post
Is there a way to edit it in OSX because if we want everyone to be able to use it I think everyone should be able to with out being dependent on Windows ... I run and intel mac and can run windows but it's kind of a pan to run it.
Macs are useless so switch to a PC w/ windows
  #9   Spotlight this post!  
Unread 20-12-2007, 17:19
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: Working with code in OSX

Quote:
Originally Posted by nukelear1991 View Post
Macs are useless so switch to a PC w/ windows
That's wrong on so many levels.. but let's not bring that 'discussion' here =P

The mcc18 is confirmed to work under wine, and wine works on OS X (as said before). I haven't personally set it up, but I've used wine before, so I wouldn't imagine it to be too hard. Also, I use a makefile (and vim) to program on Windows anyways (sorry, I can't stand mplab..) After getting things to compile under make, everything is lovely. =D
__________________
print$q=chr(ord($q)+$1)while("7443-0201-8465130105-12-03135-82482113-06-7672-070208-0613-70"=~/(-?\d\d)/g);
  #10   Spotlight this post!  
Unread 20-12-2007, 20:54
nukelear1991 nukelear1991 is offline
Registered User
AKA: Mike Poff
FRC #0858 (Delphi Demons)
Team Role: Tactician
 
Join Date: Sep 2007
Rookie Year: 2006
Location: Wyoming,MI
Posts: 23
nukelear1991 is on a distinguished road
Re: Working with code in OSX

.....okay....

Last edited by nukelear1991 : 20-12-2007 at 20:55. Reason: Ugh...
  #11   Spotlight this post!  
Unread 22-12-2007, 02:59
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: Working with code in OSX

I never could get darwine to work. Can somebody please post a link to a good guide?
  #12   Spotlight this post!  
Unread 18-02-2008, 13:12
aapl.jlo's Avatar
aapl.jlo aapl.jlo is offline
Advertising Leader for Team 858
AKA: Puma
FRC #0858 (Delphi Demons)
Team Role: Photography
 
Join Date: Jan 2008
Rookie Year: 2006
Location: Wyoming, MI
Posts: 13
aapl.jlo is an unknown quantity at this point
Cool Re: Working with code in OSX

Just saw this one and would have to say, wow, there's actually someone other than me that uses a Mac in Robotics! lol. I mean, I've never heard of something like that.
__________________
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
Incrementation Code not working benhulett Programming 6 12-02-2007 17:39
easyc demo code not working sniggel Programming 5 28-01-2007 16:40
Camera code not working.... DemonYawgmoth Programming 5 11-02-2006 09:21
Programming with OSX [494]Hal9000 Programming 10 11-01-2004 02:42
Working Pump Code Dan 550 Technical Discussion 1 02-02-2002 11:30


All times are GMT -5. The time now is 01:25.

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