Go to Post I think this post is a lot of words saying "My name is Billfred and I approve MiniBots 2017" - Andrew Schreiber [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 19-01-2007, 12:58
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,801
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Simple question on MPLabs

Quote:
Originally Posted by itsme View Post
Ok, thanks. Now it worked. And I've noticed it had problems if the the file path length is larger than 62 chars.
That can be solved by a button click too if you don't want to bother moving your files (I'm kind of lazy).

Project -> Build Options... -> Project
Go to the "MPLINK Linker" tab
Click on "Suppress COD-file generation"

Creating that file is when you get the 62 character limit message, and it isn't used by us for anything so it's unnecessary anyway.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #2   Spotlight this post!  
Unread 19-01-2007, 14:22
sniggel sniggel is offline
Registered User
FRC #2051
 
Join Date: Jan 2007
Location: A.W. Beattie
Posts: 28
sniggel is an unknown quantity at this point
Re: Simple question on MPLabs

Quote:
Originally Posted by Mark McLeod View Post
That can be solved by a button click too if you don't want to bother moving your files (I'm kind of lazy).

Project -> Build Options... -> Project
Go to the "MPLINK Linker" tab
Click on "Suppress COD-file generation"

Creating that file is when you get the 62 character limit message, and it isn't used by us for anything so it's unnecessary anyway.
We are trying to use mplab to compile kevins code and we keep getting a message no source files even though we brought over the c files. how do i get these to compile.
  #3   Spotlight this post!  
Unread 19-01-2007, 15:02
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Simple question on MPLabs

Quote:
Originally Posted by sniggel View Post
We are trying to use mplab to compile kevins code and we keep getting a message no source files even though we brought over the c files. how do i get these to compile.
MPLab works with collections of files called "projects". You can open and edit arbitrary text files with it, but you can only compile a project. Projects are defined in .mcp files, and you open them by choose "open project" from the "project" menu.
  #4   Spotlight this post!  
Unread 19-01-2007, 15:42
sniggel sniggel is offline
Registered User
FRC #2051
 
Join Date: Jan 2007
Location: A.W. Beattie
Posts: 28
sniggel is an unknown quantity at this point
Re: Simple question on MPLabs

We did that, and included the c files in the project and still go no soure files??? Not sure what to do, am I right that you create new project,
add files from existing files from kevins code so that you can compile and rebuild? That is what we did but when we try to build the project we are getting the no source files even though they are in the directory
  #5   Spotlight this post!  
Unread 20-01-2007, 00:05
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,113
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Simple question on MPLabs

You should be starting with a predefined project, either the default code from IFI or the camera-enabled code from Kevin's site. Unless you're already very experienced with MPLab, there's no reason for you to create a project yourself.

If you start with the default code and want to add encoder or gyro support, for example, you should follow the very clear directions included with each module Kevin provides.

Last edited by Alan Anderson : 20-01-2007 at 00:11.
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
Quick Simple Question ImmortalAres Programming 8 17-06-2005 13:08
simple joystick question vexingspector Programming 5 19-02-2005 18:55
MPLABS Question Bharat Nain Programming 13 16-05-2004 16:19
simple question... answer it archiver 2001 1 24-06-2002 01:02
simple engineering question Ben Mitchell Technical Discussion 2 07-11-2001 07:50


All times are GMT -5. The time now is 04:13.

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