View Single Post
  #27   Spotlight this post!  
Unread 20-02-2007, 15:37
meatmanek meatmanek is offline
Programmer/physicist/mathematician
FRC #0868 (TechHounds)
Team Role: Programmer
 
Join Date: Mar 2004
Rookie Year: 2004
Location: Carmel, Indiana
Posts: 142
meatmanek is a splendid one to beholdmeatmanek is a splendid one to beholdmeatmanek is a splendid one to beholdmeatmanek is a splendid one to beholdmeatmanek is a splendid one to beholdmeatmanek is a splendid one to beholdmeatmanek is a splendid one to behold
Re: I want a version of the mplab compiler for Linux.

Figured out my previous problem. Wine 0.9.22 has problems, so I updated to 0.9.29. Now I get a new error:

Code:
Compiling ifi_utilities.o...
1.   Checking Dependencies for ifi_utilities.o
2.   Launching Compiler...
A thought to keep you occupied:  /bin/sh: /usr/games/fortune: No such file or directory
Fortune not found.
        Microchip MCC C18 Compiler
        Version 0.0+SVN20050725
DEBUG:Using wine /opt/mcc18//bin/mcc18-traditional -p=18F8520 -fo ifi_utilities.o ifi_utilities.c /i"Z:\opt\mcc18\h" -D_FRC_BOARD -w3 pa=3 -O+ -nw=2066 -mL  to launch MCC18
fixme:msvcrt:_spawnve only trying .exe when no extension given
Z:\home\meatmanek\techhounds\svn\test\ifi_utilities.c:104:Message [3002] comparison of a signed integer to an unsigned integer detected

Z:\home\meatmanek\techhounds\svn\test\ifi_utilities.c:128:Message [3002] comparison of a signed integer to an unsigned integer detected

Z:\home\meatmanek\techhounds\svn\test\ifi_utilities.c:206:Error [1105] symbol 'ADC_0_TAD' has not been defined

Z:\home\meatmanek\techhounds\svn\test\ifi_utilities.c:207:Error [1204] too many arguments in function call


Traceback (most recent call last):
  File "/usr/local/bin/mcc18", line 49, in ?
    raise Exception,"Compile FAILED"
Exception: Compile FAILED
make: *** [ifi_utilities.o] Error 1
Lines 206 and 207 are:
OpenADC( ADC_FOSC_RC & ADC_RIGHT_JUST & ADC_0_TAD,
ADC_channel & ADC_INT_OFF & ADC_VREFPLUS_VDD & ADC_VREFMINUS_VSS,15);

Last edited by meatmanek : 20-02-2007 at 15:40. Reason: Added lines that are erring.