Go to Post It's not all about the offensive "powerhouses", strategy is key. - smurfgirl [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 01-21-2008, 04:48 PM
JonathanLKS JonathanLKS is offline
Code::Blocks
FRC #0610 (The Coyotes)
Team Role: Leadership
 
Join Date: Feb 2006
Rookie Year: 2005
Location: Toronto
Posts: 36
JonathanLKS will become famous soon enough
Send a message via MSN to JonathanLKS
Codeblocks IDE

Team 610 uses the codeblocks ide instead of mplab to compile code for our robot. There have been some requests for it but I've been either busy or havn't checked chief delphi enough to respond so I'm releasing the entire thing here.

This specific version is designed to run on Kevin Watson's new code with mcc18 3.10. It also runs portably out of the box, just copy the contents of your mcc18 folder to the mcc18 folder in the codeblocks folder, put the entire folder on a flash drive or something, and you can code anywhere.

Just run the shortcut named CodeBlocks or the batch file portable_codeblocks.bat, don't run codeblocks.exe. All the batch file does is change your home directory temporarily to the settings folder when codeblocks starts up.

To load up code, make a new project, under User Templates select FRC Robot Code, and then just add all your .c and .h files, no need to add the .lkr or .lib files as long as they are in the same directory.

This is a relatively new version that I modified so I havn't tested it thoroughly.

You can download it here
http://rapidshare.com/files/85547669...locks.rar.html
or
http://robotics.crescentschool.org/CodeBlocks.rar
__________________

Team 610 [ Co-Leader | Head Programmer | Webmaster ]
We're attending: Greater Toronto Regional, San Diego Regional, Championship
  #2   Spotlight this post!  
Unread 01-26-2008, 09:29 PM
Boku-Ni's Avatar
Boku-Ni Boku-Ni is offline
Registered User
AKA: Hank
FRC #1289 (Gearheadz)
Team Role: Programmer
 
Join Date: Jan 2008
Rookie Year: 2005
Location: Lawrence, MA
Posts: 4
Boku-Ni is an unknown quantity at this point
Send a message via ICQ to Boku-Ni Send a message via AIM to Boku-Ni Send a message via MSN to Boku-Ni
Re: Codeblocks IDE

Hehe, I didn't think any other compiler beside MPLab could be used. Nice.
__________________
Programmers don't byte, they nibble a bit.

"I know not with what weapons World War III will be fought, but World War IV will be fought with sticks and stones." -- Albert Einstein

  #3   Spotlight this post!  
Unread 01-27-2008, 08:27 PM
abrockhoff abrockhoff is offline
Team 11 Programming Captain
AKA: Alex Brockhoff
FRC #0011 (MORT)
Team Role: Programmer
 
Join Date: Mar 2006
Rookie Year: 2005
Location: New Jersey
Posts: 16
abrockhoff will become famous soon enough
Send a message via AIM to abrockhoff
Re: Codeblocks IDE

Team 11 has been using CodeBlocks for the past couple years also, it's a great IDE and I suggest everyone checks it out. It's completely open source, and we've written a few plugins of our own for it.
  #4   Spotlight this post!  
Unread 01-28-2008, 04:44 PM
JonathanLKS JonathanLKS is offline
Code::Blocks
FRC #0610 (The Coyotes)
Team Role: Leadership
 
Join Date: Feb 2006
Rookie Year: 2005
Location: Toronto
Posts: 36
JonathanLKS will become famous soon enough
Send a message via MSN to JonathanLKS
Re: Codeblocks IDE

It seems this file doesn't work with Vista.
To get it to work follow these instructions
  1. Go to the settings folder
  2. Rename Application Data to Roaming
  3. Make a new folder named AppData
  4. Place Roaming in AppData
__________________

Team 610 [ Co-Leader | Head Programmer | Webmaster ]
We're attending: Greater Toronto Regional, San Diego Regional, Championship
  #5   Spotlight this post!  
Unread 04-02-2008, 10:54 PM
Boku-Ni's Avatar
Boku-Ni Boku-Ni is offline
Registered User
AKA: Hank
FRC #1289 (Gearheadz)
Team Role: Programmer
 
Join Date: Jan 2008
Rookie Year: 2005
Location: Lawrence, MA
Posts: 4
Boku-Ni is an unknown quantity at this point
Send a message via ICQ to Boku-Ni Send a message via AIM to Boku-Ni Send a message via MSN to Boku-Ni
Re: Codeblocks IDE

Mmm, I keep getting this error:
Error - could not find file 'C:\Users\Hank\Desktop\CodeBlocks\projects\hanks_r obot_code\ifi_frc_8722.lib'.
Errors : 1
Does anyone know how to fix? Thanks in advance.
__________________
Programmers don't byte, they nibble a bit.

"I know not with what weapons World War III will be fought, but World War IV will be fought with sticks and stones." -- Albert Einstein

  #6   Spotlight this post!  
Unread 04-02-2008, 11:05 PM
laultima laultima is offline
Registered User
FRC #1458 (Danvillans)
Team Role: Alumni
 
Join Date: Feb 2007
Rookie Year: 2005
Location: Danville, CA
Posts: 87
laultima is on a distinguished road
Send a message via AIM to laultima
Re: Codeblocks IDE

Are you using Kevin's Code? If so, then you need to move 18f8722.lkr as well as rename ifi_frc_8722_30.lib to ifi_frc_8722.lib and move them to C:\Users\Hank\Desktop\CodeBlocks\projects\hanks_r obot_code. Both of these are in the ifi_frc folder.
__________________
2007 Davis/Sacramento Regional Winner (100, 997, 1458)

2008 Davis/Sacramento Regional Gracious Professionalism Award Winner


Last edited by laultima : 04-02-2008 at 11:30 PM.
  #7   Spotlight this post!  
Unread 04-03-2008, 09:37 AM
Kevin Sevcik's Avatar
Kevin Sevcik Kevin Sevcik is offline
(Insert witty comment here)
FRC #0057 (The Leopards)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Houston, Texas
Posts: 4,146
Kevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond repute
Send a message via AIM to Kevin Sevcik Send a message via Yahoo to Kevin Sevcik
Re: Codeblocks IDE

Quote:
Originally Posted by JonathanLKS View Post
It also runs portably out of the box, just copy the contents of your mcc18 folder to the mcc18 folder in the codeblocks folder, put the entire folder on a flash drive or something, and you can code anywhere.
I would strongly recommend against this. Unless you're backing up your code to a hard drive somewhere on a regular basis. Flash drive are not a permanent storage solution. They can get lost, get corrupted, get rewritten too many times, or just plain die. Losing your robot's code due to a flash drive failure isn't going to be a fun thing.
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter
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
IDE Bob22341 Programming 16 04-18-2007 11:10 AM
Portable IDE Nitinol Programming 14 02-04-2007 02:23 AM
MPLAB IDE rholokleolke Programming 13 12-08-2006 05:32 PM
FIRST IDE? EHaskins Programming 19 07-14-2006 04:52 AM
IDE buss Programming 2 01-08-2005 03:16 PM


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

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


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