Go to Post Everybody "cares about the robots" - otherwise we'd be doing science fairs. - Taylor [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: 2 votes, 5.00 average. Display Modes
  #16   Spotlight this post!  
Unread 02-06-2005, 18:27
tux tux is offline
Registered User
AKA: Lee Harr
FRC #3842 (Shock-a-Bots)
Team Role: Mentor
 
Join Date: Apr 2005
Rookie Year: 2005
Location: Rochester, NY
Posts: 91
tux is an unknown quantity at this point
Re: using eclipse

> what utils one needs to program the robot in linux

start here:
http://adambots-live.sourceforge.net/

join the mailing list too:
http://lists.sourceforge.net/lists/l...s-live-support

Very low volume now, but hopefully will pick up as next
year's competition gets closer.
  #17   Spotlight this post!  
Unread 03-06-2005, 12:20
dasRatsel's Avatar
dasRatsel dasRatsel is offline
Registered User
FRC #0811
 
Join Date: Apr 2005
Location: NH
Posts: 26
dasRatsel is on a distinguished road
Re: using eclipse

yea -- bout that wiki site -- i c'n never figure out just how to actually find the download link f'r the graphical pic loader (gtk) / WINE wrapper 'n' all that jazz -- i also cant find em on sourceforge .. so .. uh...
__________________
<<
and i said what about
breakfast at tiffany's
she said i think i
remember that film
i
said as i recall
i think
we both kinda liked it
and i said well that's one thing we got
>>
  #18   Spotlight this post!  
Unread 04-06-2005, 17:31
tux tux is offline
Registered User
AKA: Lee Harr
FRC #3842 (Shock-a-Bots)
Team Role: Mentor
 
Join Date: Apr 2005
Rookie Year: 2005
Location: Rochester, NY
Posts: 91
tux is an unknown quantity at this point
Re: using eclipse

> i c'n never figure out just how to actually find the download link f'r the graphical pic loader

I've never seen a graphical pic loader for linux.


> WINE wrapper

I've never seen a wrapper either. There is a gentoo ebuild that sets up mplab, and there is a Makefile.

I usually just keep a text console open in the directory and do:

make
make load
make read
  #19   Spotlight this post!  
Unread 04-06-2005, 20:03
dasRatsel's Avatar
dasRatsel dasRatsel is offline
Registered User
FRC #0811
 
Join Date: Apr 2005
Location: NH
Posts: 26
dasRatsel is on a distinguished road
Re: using eclipse

uh -- ok -- so that adam bots thing is just a joke?

anyway -- i'm intreagued by the ebuild -- i'm guessin its not in portage by default -- where c'n i get it?

~xavier
__________________
<<
and i said what about
breakfast at tiffany's
she said i think i
remember that film
i
said as i recall
i think
we both kinda liked it
and i said well that's one thing we got
>>
  #20   Spotlight this post!  
Unread 05-06-2005, 09:09
tux tux is offline
Registered User
AKA: Lee Harr
FRC #3842 (Shock-a-Bots)
Team Role: Mentor
 
Join Date: Apr 2005
Rookie Year: 2005
Location: Rochester, NY
Posts: 91
tux is an unknown quantity at this point
Re: using eclipse

> uh -- ok -- so that adam bots thing is just a joke?

You mean this one?
http://adambots-live.sourceforge.net...oaderFrontends

I don't think it is a joke... more like a plan.


> anyway -- i'm intreagued by the ebuild -- i'm guessin its not in portage by default -- where c'n i get it?

Try their cvs repo. I believe that is where I got it:
http://sourceforge.net/cvs/?group_id=118894

First make a new directory, then go in there and ...

cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/adambots-live login

When it asks for a password, press enter. Then ...

cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/adambots-live co -P .

Yes, you need the dot at the end of the line.
  #21   Spotlight this post!  
Unread 05-06-2005, 18:11
dasRatsel's Avatar
dasRatsel dasRatsel is offline
Registered User
FRC #0811
 
Join Date: Apr 2005
Location: NH
Posts: 26
dasRatsel is on a distinguished road
Re: using eclipse

ahhh -- so close -- so close

k -- i finally managed to emerge everything (after some doing since the digest files were corrupt or somethin like that) 'n' i got a hold of the make files that should make things work --- which leads to a rather curious problem:
i keep getting a make error on the line that says "include .conf/*" where it says no such file or directory
so i comment out the two lines that say that (one at the top / one at the bottom) and when i try to "make all" it says:
/bin/sh: line 1: .conf/00all_targets: No such file or directory
make: *** [update_targets] Error 1
make: Target `all' not remade because of errors.

again with that .conf directory -- what's up with that? -- i cant even begin to imagine what it might be...please help

~Xavier

PS: thanks for indulging my new found desire to get this working in linux
__________________
<<
and i said what about
breakfast at tiffany's
she said i think i
remember that film
i
said as i recall
i think
we both kinda liked it
and i said well that's one thing we got
>>
  #22   Spotlight this post!  
Unread 05-06-2005, 19:50
prograid's Avatar
prograid prograid is offline
Registered User
AKA: Ben Cherian
FRC #0254 (The Cheesy Poofs)
Team Role: Alumni
 
Join Date: Oct 2004
Rookie Year: 2004
Location: San Jose
Posts: 80
prograid will become famous soon enough
Re: using eclipse

Quote:
ahhh -- so close -- so close

k -- i finally managed to emerge everything (after some doing since the digest files were corrupt or somethin like that) 'n' i got a hold of the make files that should make things work --- which leads to a rather curious problem:
i keep getting a make error on the line that says "include .conf/*" where it says no such file or directory
so i comment out the two lines that say that (one at the top / one at the bottom) and when i try to "make all" it says:
/bin/sh: line 1: .conf/00all_targets: No such file or directory
make: *** [update_targets] Error 1
make: Target `all' not remade because of errors.

again with that .conf directory -- what's up with that? -- i cant even begin to imagine what it might be
Are you using the managed make feature I else or are you using somthing else?

If you are using linux you probably should be downloading GNU Make instead of MinGW. Other than that things should work fine.

Last edited by prograid : 05-06-2005 at 19:53.
  #23   Spotlight this post!  
Unread 05-06-2005, 21:10
dasRatsel's Avatar
dasRatsel dasRatsel is offline
Registered User
FRC #0811
 
Join Date: Apr 2005
Location: NH
Posts: 26
dasRatsel is on a distinguished road
Re: using eclipse

yea -- i'm just GNU make -- the problem is in that .conf/* thing -- did i forget to configure something ?
__________________
<<
and i said what about
breakfast at tiffany's
she said i think i
remember that film
i
said as i recall
i think
we both kinda liked it
and i said well that's one thing we got
>>
  #24   Spotlight this post!  
Unread 07-06-2005, 14:03
prograid's Avatar
prograid prograid is offline
Registered User
AKA: Ben Cherian
FRC #0254 (The Cheesy Poofs)
Team Role: Alumni
 
Join Date: Oct 2004
Rookie Year: 2004
Location: San Jose
Posts: 80
prograid will become famous soon enough
Re: using eclipse

Quote:
Originally Posted by dasRatsel
yea -- i'm just GNU make -- the problem is in that .conf/* thing -- did i forget to configure something ?
Oh I just realized something, try changing the make command from mingw32-make to make. Select your project. Go to project, properties, C/C++ Build and change your build command to make.
  #25   Spotlight this post!  
Unread 07-06-2005, 16:57
tux tux is offline
Registered User
AKA: Lee Harr
FRC #3842 (Shock-a-Bots)
Team Role: Mentor
 
Join Date: Apr 2005
Rookie Year: 2005
Location: Rochester, NY
Posts: 91
tux is an unknown quantity at this point
Re: using eclipse

>> i keep getting a make error on the line that says "include .conf/*" where it says no such file or directory

You may need to create that directory, and create a blank file in there. Try the updated Makefile that I posted to the mailing list. It should be in the mailing list archives.
http://sourceforge.net/mailarchive/f...forum_id=44800

The update is a bit more involved, as it creates a python script to parse out the messages when you have an error during the compile.

>> yea -- i'm just GNU make -- the problem is in that .conf/* thing -- did i forget to configure something ?
> Oh I just realized something, try changing the make command from mingw32-make to make.

This whole thread is really off-topic here. I do not believe he is trying to use eclipse at all. Sorry. You should probably take any adambots questions to their mailing list, or else start a new thread here.
  #26   Spotlight this post!  
Unread 07-06-2005, 17:49
prograid's Avatar
prograid prograid is offline
Registered User
AKA: Ben Cherian
FRC #0254 (The Cheesy Poofs)
Team Role: Alumni
 
Join Date: Oct 2004
Rookie Year: 2004
Location: San Jose
Posts: 80
prograid will become famous soon enough
Re: using eclipse

Quote:
Originally Posted by tux
>> i keep getting a make error on the line that says "include .conf/*" where it says no such file or directory

You may need to create that directory, and create a blank file in there. Try the updated Makefile that I posted to the mailing list. It should be in the mailing list archives.
http://sourceforge.net/mailarchive/f...forum_id=44800

The update is a bit more involved, as it creates a python script to parse out the messages when you have an error during the compile.

>> yea -- i'm just GNU make -- the problem is in that .conf/* thing -- did i forget to configure something ?
> Oh I just realized something, try changing the make command from mingw32-make to make.

This whole thread is really off-topic here. I do not believe he is trying to use eclipse at all. Sorry. You should probably take any adambots questions to their mailing list, or else start a new thread here.
I'm pretty sure that he is trying to use eclipse. I'm assuming he's using the plugin I wrote for eclipse. The plugin generates a makefile for you that's supposed to work with GNU Make.
  #27   Spotlight this post!  
Unread 07-06-2005, 21:30
dasRatsel's Avatar
dasRatsel dasRatsel is offline
Registered User
FRC #0811
 
Join Date: Apr 2005
Location: NH
Posts: 26
dasRatsel is on a distinguished road
Re: using eclipse

yea -- sorry for not being very discriptive -- i wasnt actually using the plugin f'r that error -- i just added the .conf directory 'n' put all the files that the makefile wanted -- but now i get make errors when it tries to compile the .o files -- it simply says Error 1

so i tried the plugin and it compiles well enough -- problem is when it hits the linker -- it claims it cant find mplink -- i even tried adding wine to the command // adding the full path // doing both at the same time // even using _mplink.exe == nothing works -- what am i doing wrong now?

thanks

~xavier
__________________
<<
and i said what about
breakfast at tiffany's
she said i think i
remember that film
i
said as i recall
i think
we both kinda liked it
and i said well that's one thing we got
>>
  #28   Spotlight this post!  
Unread 07-06-2005, 22:22
dasRatsel's Avatar
dasRatsel dasRatsel is offline
Registered User
FRC #0811
 
Join Date: Apr 2005
Location: NH
Posts: 26
dasRatsel is on a distinguished road
Re: using eclipse

blah -- ok --

Code:
Linking... -
Done!                                            


Finished building: FRCfalcon.hex
Build complete for project falcon
so i got it working with the eclipse plugin - trick is the makefile for the wine-wrapper wasnt written right so it only installed mcc18 and not mplink --- it claims everything was successful -- the only thing it complained over was the lack of /etc/mcc-wrapper/mplink.conf file and i shoud run mcc-setup (which i couldn't find) but it seemed ok without it -- and i'm rather curious -- where did it put the hex? -- i've searched my entire disk 'n' i cant find it --[cant find a cod or cof files either]

~xavier
__________________
<<
and i said what about
breakfast at tiffany's
she said i think i
remember that film
i
said as i recall
i think
we both kinda liked it
and i said well that's one thing we got
>>

Last edited by dasRatsel : 07-06-2005 at 22:25.
  #29   Spotlight this post!  
Unread 07-06-2005, 23:57
prograid's Avatar
prograid prograid is offline
Registered User
AKA: Ben Cherian
FRC #0254 (The Cheesy Poofs)
Team Role: Alumni
 
Join Date: Oct 2004
Rookie Year: 2004
Location: San Jose
Posts: 80
prograid will become famous soon enough
Re: using eclipse

Quote:
Originally Posted by dasRatsel
the only thing it complained over was the lack of /etc/mcc-wrapper/mplink.conf file and i shoud run mcc-setup (which i couldn't find) but it seemed ok without it -- and i'm rather curious -- where did it put the hex? -- i've searched my entire disk 'n' i cant find it --[cant find a cod or cof files either]
Check the FRC Debug or FRC Release, (you'll probably have FRC Debug) folder of you Eclipse project. It should be there along with a cof file. (Cod file generation is supressed by default in my plugin since you can't debug with MPSIM in Eclipse anyway). The *.o files and a map file should be there also.

Last edited by prograid : 08-06-2005 at 01:30.
  #30   Spotlight this post!  
Unread 08-06-2005, 19:11
dasRatsel's Avatar
dasRatsel dasRatsel is offline
Registered User
FRC #0811
 
Join Date: Apr 2005
Location: NH
Posts: 26
dasRatsel is on a distinguished road
Re: using eclipse

yea -- nothin -- did i forget to set some variable to tell it to make the output file or something?

linker output:
Code:
Building target: FRCfalcon.hex
mplink /Files/FIRST/code/falcon/18f8520user.lkr /aINHX32 /o FRCfalcon.hex encoder.o gyro.o ifi_startup.o ifi_utilities.o main.o pid.o printf_lib.o robot.o user_routines.o user_routines_fast.o   /l/opt/mcc18/lib /Files/FIRST/code/falcon/FRC_alltimers.lib
WARNING: Cannot find /etc/mcc-wrapper/mplink.conf. Run mcc-setup
Microchip Linker
Linux WINE wrapper version CVS-HEAD
Copyright (c) 2004 Adambots-Live
http://adambots-live.sourceforge.net
(oh yea -- is there a way to supress those things that say compiling -- they're just junking up the output window to the point where i cant read the outputs from the compiler 'n' linker)
__________________
<<
and i said what about
breakfast at tiffany's
she said i think i
remember that film
i
said as i recall
i think
we both kinda liked it
and i said well that's one thing we got
>>

Last edited by dasRatsel : 08-06-2005 at 19:42.
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
Using Eclipse IDE & makefile as MPLAB replacement RoboPhantom Programming 0 27-02-2005 19:05
Last total Lunar Eclipse TONIGHT miketwalker Chit-Chat 16 11-11-2003 22:00
Free Compiler/Linker for WinXP? IMDWalrus Programming 14 05-11-2003 15:45
Total Lunar Eclipse May 15/16 Night geo Chit-Chat 17 19-05-2003 22:02


All times are GMT -5. The time now is 12:21.

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