SEARCH
TOOLBOX
LANGUAGES
Register    Login    Forum    Search    FAQ

Board index » Electronics Projects » PIC18F USB development




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Can not get to build the project in MPLAB
 Post Posted: Sun Jun 03, 2012 2:00 pm 
Offline

Joined: Wed Jun 15, 2011 6:39 pm
Posts: 4
Hi Simon,

First, thanks for sharing your knowledge!

I tried the project both with MPLAB X and 8, but I can't get to build the project. I get the following error in MPLAB 8:
Code:
----------------------------------------------------------------------
Debug build of project `E:\Desktop\USBDEMO\WFF_GenericHID_Demo_3.mcp' started.
Language tool versions: mpasmwin.exe v5.42, mplink.exe v4.40, mcc18.exe v3.40, mplib.exe v4.40
Preprocessor symbol `__DEBUG' is defined.
Sun Jun 03 14:57:32 2012
----------------------------------------------------------------------
Make: The target "E:\Desktop\USBDEMO\main.o" is up to date.
Make: The target "E:\Desktop\USBDEMO\usb_descriptors.o" is up to date.
Skipping file.  There is no tool to process the file with the given suffix.
Halting build on first failure as requested.
----------------------------------------------------------------------
Debug build of project `E:\Desktop\USBDEMO\WFF_GenericHID_Demo_3.mcp' failed.
Language tool versions: mpasmwin.exe v5.42, mplink.exe v4.40, mcc18.exe v3.40, mplib.exe v4.40
Preprocessor symbol `__DEBUG' is defined.
Sun Jun 03 14:57:32 2012
----------------------------------------------------------------------
BUILD FAILED


And in MPLAB X I get:
Code:
Error - could not find definition of symbol 'USBDeviceTasks' in file './build/default/production/_ext/1472/main.o'.


Any suggestion what I am doing wrong?

UPDATE

I manage to fix the problem in MPLAB 8, but now I have the same problem as in MPLAB X:
Code:
Error - could not find definition of symbol 'USBDeviceTasks' in file './main.o'.


Top 
 Profile  
 
 Post subject: Re: Can not get to build the project in MPLAB
 Post Posted: Sun Jun 03, 2012 3:23 pm 
Offline

Joined: Wed Jun 15, 2011 6:39 pm
Posts: 4
:D It seems that I managed to make it work...For anyone who has the same problem, having the project tree as in the picture below should do the trick!


Attachments:
File comment: How to make USB PIC18F4550 to work on mplab
build_Details.PNG
build_Details.PNG [ 34.98 KiB | Viewed 415 times ]
Top 
 Profile  
 
Display posts from previous:  Sort by  
 
Post new topic Reply to topic  [ 2 posts ] 

Board index » Electronics Projects » PIC18F USB development


Who is online

Users browsing this forum: No registered users and 2 guests

 
 

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Translated by MaĆ«l Soucaze © 2009 phpBB.fr