Problem for compiling SDSF library.


Closed Thread
Results 1 to 6 of 6
  1. #1
    Join Date
    Jul 2011
    Posts
    14

    Default Problem for compiling SDSF library.

    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

  2. #2
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,604


    Did you find this post helpful? Yes | No

    Default Re: Problem for compiling SDSF library.

    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.

  3. #3
    Join Date
    Jul 2011
    Posts
    14


    Did you find this post helpful? Yes | No

    Default Re: Problem for compiling SDSF library.

    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?

  4. #4
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,604


    Did you find this post helpful? Yes | No

    Default Re: Problem for compiling SDSF library.

    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.

  5. #5
    Join Date
    Jul 2011
    Posts
    14


    Did you find this post helpful? Yes | No

    Default Re: Problem for compiling SDSF library.

    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!

  6. #6
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,604


    Did you find this post helpful? Yes | No

    Default Re: Problem for compiling SDSF library.

    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.

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts