PDA

View Full Version : Problem for compiling SDSF library.



Ziko87
- 7th August 2012, 16:12
Hi,

I have just try to compile the file "sdsf3.pbp" that include the library "sdsf.pbp" but I have some error. Below an example:

DIRW Var DIRL.Word0 ' Directory entry array Word access
-> ERROR Line 175: Bad variable modifier: .Word0.

SDC_address Var Long
-> ERROR Line 55: Bad data type. (SDFS.pbp)

In the readme file I have read that this sources must be compiled with PBPL.exe but how I can do this?

Sorry for my english

HenrikOlsson
- 7th August 2012, 22:36
Yeah, the problem is that you're not compiling with PBPL.
What version of PBP are you using (you need atleast 2.50 to have LONGs) and are you using MicrocodeStudio or some other IDE or are you compling from the commandline?

/Henrik.

Ziko87
- 8th August 2012, 00:06
I have PicBasic Pro 2.60. I have set all (and work fine whit other sample) in mplabx and MicroCode studio plus, but I have problem with both configuration. Any suggestion?

HenrikOlsson
- 8th August 2012, 06:25
Hi,
In MicroCodeStudio, select View -> Compile and Program Options. Then, on the compiler tab make sure that the Use PBPL checkbox is checked - that should be all.
I have no idea how to do it in MPLABX.

/Henrik.

Ziko87
- 8th August 2012, 08:05
Thank you, I had wrong version of MicroCode Studio that not supported the 2.60 version. Now it working but not on MPLAX, I can't remove the mpasmx compiler!

HenrikOlsson
- 8th August 2012, 08:17
That's great!
Like I said, I don't know how to do it in MPLABX. I have tried to set the bloody thing up but it's so bloody complicated that I've given up - for now.

/Henrik.