Page 1 of 1

I cannot build project

PostPosted: Wed Sep 08, 2010 12:54 pm
by madcobra
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

Re: I cannot build project

PostPosted: Wed Sep 08, 2010 3:51 pm
by Tom
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.

Re: I cannot build project

PostPosted: Fri Sep 10, 2010 12:15 pm
by madcobra
Thank Tom,
I will try it...
Best regard,

JM