Compiler problems


Closed Thread
Results 1 to 14 of 14

Hybrid View

  1. #1
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  2. #2
    Join Date
    Jan 2006
    Location
    Istanbul
    Posts
    1,185


    Did you find this post helpful? Yes | No

    Default

    Here is the exact same problem.

    http://www.picbasic.co.uk/forum/showthread.php?t=2657

    Just as I guessed; compatibility problem: SOLVED !

    Pls check the post BobEdge.
    "If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte

  3. #3
    Join Date
    Feb 2005
    Location
    Holmfirth England
    Posts
    116


    Did you find this post helpful? Yes | No

    Smile

    Hi again,

    Thanks for all your help.

    I got it to work but I dont know how exactly. It was not the compatability thing tried win95, and win 2000. no joy. Reboot had no effect, re installing MC Studio had no effect. Also it was not a memory issue, system resource logging proved that.

    I saved the file on the c drive & compiled from there using MPASM, and it worked, but I have problems with MPASM, so I unchecked use MPASM, and it worked.

    So I then saved the bas file on the server, which has a very long file extension tree, with all the same settings as before, and bingo.

    Very confused about what was wrong, but at least it works now.

    Again thanks for your help
    Regards
    Bob...

  4. #4
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    OK, so i remind something about the length of the path but can't confirm the maximum allowed. 60-68 character or something like that

    I usually keep my stuff close to the root... something like c:\pbp_Prog
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  5. #5
    Join Date
    Feb 2003
    Posts
    432


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mister_e
    OK, so i remind something about the length of the path but can't confirm the maximum allowed. 60-68 character or something like that

    I usually keep my stuff close to the root... something like c:\pbp_Prog
    One thing to watch for is "special" folders like "My Documents" which although they appear to be high level folders are already

    C:\Documents and Settings\{username}\My Documents which is 39 characters PLUS the length of your user name and thats before you start adding folders like "\pic\{projectname}\{projectfile}.bas !!!
    Keith

    www.diyha.co.uk
    www.kat5.tv

  6. #6
    Join Date
    Feb 2005
    Location
    Holmfirth England
    Posts
    116


    Did you find this post helpful? Yes | No

    Default

    The puzzling thing is that sometimes it works, & sometimes not.

    The path is "\\tswsbs1\user data\bobe\my documents\proteus\proteus\da current feedback\finished programs\1200 settings.bas" which is 103 characters.

    Also it worked every time in windows 2k pro, which i was using until monday.

    Oh well some things just remain a mystery. At least I can move files to my c drive while working on them, and move them back to the server once complete.

    Thanks for all your help guys
    Regards
    Bob...

  7. #7
    Join Date
    Jan 2006
    Location
    Istanbul
    Posts
    1,185


    Did you find this post helpful? Yes | No

    Default

    In addition to long path name issue, there is another issue to pay attention at.

    If the path has space, which is supported by MS Windows OSs but not by DOS, then you will have issues => inconsistent issues.

    That may explain why sometimes it works for you.

    For this reason the best way would be to open a project directory in root, and keep all project files in there.

    Root does not have to be C:\ drive though; D:\, E:\, F:\, G:\ etc. also ok.


    ----------------------
    "If the Earth were a single state, Istanbul would be its capital." Napoleon Bonaparte

Similar Threads

  1. Problems with U2 programmer C30 compiled code
    By minimii in forum Off Topic
    Replies: 0
    Last Post: - 5th November 2009, 09:43
  2. PIC BASIC Compiler for ARM machines?
    By stone20008 in forum General
    Replies: 2
    Last Post: - 22nd August 2008, 07:14
  3. Compiler refuses to compile
    By CodeShredder in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 21st June 2008, 19:41
  4. compiler help!!!!
    By MINHLE in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 20th April 2008, 18:52
  5. USART problems
    By egberttheone in forum mel PIC BASIC Pro
    Replies: 47
    Last Post: - 6th March 2005, 21:45

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