Go to Post "Everything is possible. Just depends on how much it costs and how much physics you have to apply..." - Kimmeh [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 22-06-2008, 00:44
antiNeo antiNeo is offline
Registered User
FRC #1569
 
Join Date: Jan 2008
Location: Pocatell, Idaho
Posts: 17
antiNeo has a spectacular aura aboutantiNeo has a spectacular aura about
unknown switch: /z__MPLAB_BUILD=1

I'm trying to use MPLAB 8.10 with the 2.40 version of the C18 compiler and friends. I can't use 3.20 because the Vex code doesn't compile with it. Everything compiles, but I get stuck on a silly linker error with an unknown switch.

Code:
Executing: "C:\MCC18\bin\mplink.exe" /l"C:\mcc18\lib" "18f8520user.lkr" "user_routines_fast.o" "ifi_startup.o" "ifi_utilities.o" "main.o" "printf_lib.o" "user_routines.o" "C:\laptopVex\Vex_alltimers_wauton_jmpr.lib" /z__MPLAB_BUILD=1 /o"VexUserCode.cof"
MPLINK 3.90, LinkerCopyright (c) 2004 Microchip Technology Inc.
Error - unknown switch: /z__MPLAB_BUILD=1
Errors    : 1
I don't get this error in MPLAB 7.20, but I don't want to have to install 7.20 because I also need to be able to compile code based on Kevin's FRC framework. Is there some way I could get rid of this switch? What does it do anyway?

Also, I was reading on the forums that some people compile the code under other IDEs such as Bloodshed or Codeblocks. Is there a way I can compile the code without an IDE altogether, with like a makefile or something? I'm using VIM for editing and I only use MPLAB to click the build button. A plain old command based method would make my day.
 


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
Unknown device id (0) paulcd2000 Programming 7 12-02-2008 19:48
Unknown Device ID(0) DavidGitz Control System 13 28-01-2008 20:28
FIRST Unknown irishninja General Forum 4 24-04-2006 08:45
Need Help Wiring Micro Switch/Limiting Switch Windward Electrical 2 07-02-2006 18:26


All times are GMT -5. The time now is 00:03.

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