Go to Post FIRST is one strange world.... - Wayne C. [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
  #46   Spotlight this post!  
Unread 24-12-2007, 16:53
HighLife's Avatar
HighLife HighLife is offline
Mentor
FRC #0245 (Adambots)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Rochester Hills, MI
Posts: 74
HighLife will become famous soon enough
Send a message via AIM to HighLife
Re: I want a version of the mplab compiler for Linux.

Quote:
Originally Posted by whitetiger0990 View Post
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.
Nope that didn't work.
__________________
AdamBots.com- Winner of 7 Best Website Awards!
  #47   Spotlight this post!  
Unread 24-12-2007, 17:37
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
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,919
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: I want a version of the mplab compiler for Linux.

Quote:
Originally Posted by HighLife View Post
I'm getting this same exact error.
The error you are getting means the type of PIC hasn't been defined, so the ifi_utilities.c file can pick the proper system defines that match what the PIC has built into it.

Simply put, you are missing a compile flag (-D__18F8722).
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 25-12-2007 at 14:34.
  #48   Spotlight this post!  
Unread 24-12-2007, 17:39
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: I want a version of the mplab compiler for Linux.

Could you try the makefile that I wrote? I have been using it for almost 3 years now with no problems.

http://team997.org/files/software/Makefile
  #49   Spotlight this post!  
Unread 24-12-2007, 18:15
HighLife's Avatar
HighLife HighLife is offline
Mentor
FRC #0245 (Adambots)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Rochester Hills, MI
Posts: 74
HighLife will become famous soon enough
Send a message via AIM to HighLife
Re: I want a version of the mplab compiler for Linux.

Nvm guys I reinstalled mcc18 and everything worked! But thx for the help
__________________
AdamBots.com- Winner of 7 Best Website Awards!

Last edited by HighLife : 24-12-2007 at 18:29.
  #50   Spotlight this post!  
Unread 24-12-2007, 18:25
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
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,919
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: I want a version of the mplab compiler for Linux.

Quote:
Originally Posted by HighLife View Post
I must have missed something when I setup mcc18.
What version of mcc18 are you using? It looks like it might be the latest version 3.x when it should be v2.4.
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
  #51   Spotlight this post!  
Unread 24-12-2007, 23:52
HighLife's Avatar
HighLife HighLife is offline
Mentor
FRC #0245 (Adambots)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Rochester Hills, MI
Posts: 74
HighLife will become famous soon enough
Send a message via AIM to HighLife
Re: I want a version of the mplab compiler for Linux.

Umm not really sure it's an older version (At least 2004).
__________________
AdamBots.com- Winner of 7 Best Website Awards!
  #52   Spotlight this post!  
Unread 15-03-2008, 09:22
sea_master's Avatar
sea_master sea_master is offline
Registered User
AKA: the $@#$@#$@#$@#$@#$@# guy
FRC #1947 (the black knights)
Team Role: Driver
 
Join Date: Feb 2006
Rookie Year: 2006
Location: israel
Posts: 27
sea_master is on a distinguished road
Send a message via ICQ to sea_master Send a message via MSN to sea_master
Re: I want a version of the mplab compiler for Linux.

Hi.
I'm trying to compile some new code on a Xubuntu Linux machine.
I've modified the relatively newer makefile in:
http://team997.org/files/software/Makefile
I've modified it according to my needs and it all seemed to work well,
until I tried to remove the intermediate files . when it tries to
complie the source files, it can't get the headers from the include
dir of mcc even tough the path seems right.
I've checked and the syntax used by the Makefile is /i <path> while
mmc18.exe expects -I="<path>".
I tried to change the makefile anyway I thought might work, but could
not get it to work, so I gave up and
I've made a script shell, and it works, but since I'm unfamiliar with
the tricks of Linux shell, it's butt ugly (with lot's of lines like
this: wine c:/mcc18/bin/mcc18.exe -p=18f8722 -I="c:\mcc18\h"
"ifi_frc.c" -fo="ifi_frc.o" -k -mL -Ou- -Ot- -Op- -Or--Od- -Opa-)
So please Chief Delphi! pimp my script!
__________________
phase 1: collect underpants
phase 2:???
phase 3: profit!

Last edited by sea_master : 15-03-2008 at 18:30.
  #53   Spotlight this post!  
Unread 16-03-2008, 22:54
HighLife's Avatar
HighLife HighLife is offline
Mentor
FRC #0245 (Adambots)
Team Role: Mentor
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Rochester Hills, MI
Posts: 74
HighLife will become famous soon enough
Send a message via AIM to HighLife
Re: I want a version of the mplab compiler for Linux.

You don't have to create your own makefile. You can just use this little python program that creates one for you based on the files in your code directory.
__________________
AdamBots.com- Winner of 7 Best Website Awards!
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
MPLAB C18 problem Justyn Programming 0 09-03-2005 11:37
IMPORTANT regarding the new C Compiler dlavery General Forum 12 14-01-2005 05:05
Makefile and stripped down compiler Venkatesh Programming 0 09-01-2005 18:55
MPLAB IDE 6.60 Error mchan1111 Programming 8 08-11-2004 20:17
using the MPLAB IDE MPLAB SIM simulator WizardOfAz Programming 1 03-11-2003 01:24


All times are GMT -5. The time now is 15:47.

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