I cannot build project

Here is the place for all your dsPic or autopilot questions.

Moderator: lukasz

I cannot build project

Postby madcobra » Wed Sep 08, 2010 12:54 pm

Hi Tom,
I try to build your project, but MPLAB said can't buid
message like this :
rtos_pilot\..\lib\dataflash\dataflash.c:61: undefined reference to `OpenSPI2'
tmp\scp1000.o(.text+0x52): In function `scp1000_init':
Firmware\rtos_pilot\..\lib\scp1000\scp1000.c:37: undefined reference to `OpenSPI2'
Link step failed.

Please advice,
Thanks alot

Best regard
JM
madcobra
 
Posts: 22
Joined: Thu Jan 28, 2010 10:45 am

Re: I cannot build project

Postby Tom » Wed Sep 08, 2010 3:51 pm

Hi JM,

OpenSPI2 is a library function and not a gluonpilot one. Maybe there is something wrong with your installation?

In Project -> Build options -> Project -> Directories -> Library search path
you see: C:\Program Files\Microchip\MPLAB C30\lib

If this directory has another name in your C30 installation, you should change this.
User avatar
Tom
Site Admin
 
Posts: 1016
Joined: Fri Nov 13, 2009 6:27 pm
Location: Belgium

Re: I cannot build project

Postby madcobra » Fri Sep 10, 2010 12:15 pm

Thank Tom,
I will try it...
Best regard,

JM
madcobra
 
Posts: 22
Joined: Thu Jan 28, 2010 10:45 am


Return to Firmware

Who is online

Users browsing this forum: No registered users and 3 guests

cron