Conflicts between SFcompiler 2.1.0.1 and MPLAB IDE v8.10
Moderators: David Barker, Jerry Messina
Conflicts between SFcompiler 2.1.0.1 and MPLAB IDE v8.10
I was working fine with the SFcompiler 2.1.0.0 and MPLAB IDE v8.10, when i upgrade to the SFcompiler to 2.1.0.1 the MPLAB displays the following message.
Clean:Deleting intermediary and output files.
Clean:Done.
Executing:"C\Archivos de programa\Mecanique\Swordfish\Swordfish.exe"SteinHart.bas -p18F8722
Swordfish BASIC compiler 2.1.0.1 copyright (c) Mecanique
All rights Reserved.
[Error]: Unable to open system file
[Error](14): Unable to open system file
BUILD FAILED: Tue Oct 21 21:57:16 2008
In the debug file
[COMPILE_ERROR]
ITEM_0="18f8722","0","0","Unable to open system file"
ITEM_1="18f8722","14","12","Unable to open system file"
The SFcompiler 2.1.0.1 works well in the SF IDE enviroment.
Any idea ???
Clean:Deleting intermediary and output files.
Clean:Done.
Executing:"C\Archivos de programa\Mecanique\Swordfish\Swordfish.exe"SteinHart.bas -p18F8722
Swordfish BASIC compiler 2.1.0.1 copyright (c) Mecanique
All rights Reserved.
[Error]: Unable to open system file
[Error](14): Unable to open system file
BUILD FAILED: Tue Oct 21 21:57:16 2008
In the debug file
[COMPILE_ERROR]
ITEM_0="18f8722","0","0","Unable to open system file"
ITEM_1="18f8722","14","12","Unable to open system file"
The SFcompiler 2.1.0.1 works well in the SF IDE enviroment.
Any idea ???
Best Regards.
Mikayo
Mikayo
- blueroomelectronics
- Posts: 46
- Joined: Mon Apr 23, 2007 3:48 pm
- Location: Toronto
- Contact:
Yes, same here as well. The only space in the path name here was "program files" under XP Pro. MPLab was working before with that same path, but I made another directory with no spaces anyway to test this, and it still didn't make a difference.Changing the TLSFBasic.ini file wasn't enough, I'll have to dig through the procedures in
http://www.sfcompiler.co.uk/forum/viewt ... =tlsfbasic
Another note, after updating, remember to check your code for any place you are doing a 16 bit signed multiply. After compiling, I found a few errors popping up in testing. Likely due to engineers adjusting the code to get the answer needed at the time. Not a fun task where there are 9000 lines of code and over a dozen custom libraries...we'll keep running the 2.1.0.0 compiler version until our code is all checked out.
73's,
-Tom
http://www.sfcompiler.co.uk/forum/viewt ... =tlsfbasic
Another note, after updating, remember to check your code for any place you are doing a 16 bit signed multiply. After compiling, I found a few errors popping up in testing. Likely due to engineers adjusting the code to get the answer needed at the time. Not a fun task where there are 9000 lines of code and over a dozen custom libraries...we'll keep running the 2.1.0.0 compiler version until our code is all checked out.
73's,
-Tom
I'm getting the same error. Maybe the error is the empty include search path $(incdir) in the Language Tool Locations or a missing environment variable? When you execute the swordfish.exe in a dosbox there is the same error. Is there any commandline switches like "swordfish.exe /help"?
Any new idea?
Any new idea?
- blueroomelectronics
- Posts: 46
- Joined: Mon Apr 23, 2007 3:48 pm
- Location: Toronto
- Contact:
I've upgraded to MPLAB 8.15a and the latest Swordfish SE 2.1.0.1 and now I get this error when I compile in MPLAB.
Any ideas?Clean: Deleting intermediary and output files.
Clean: Done.
Executing: "C:\Mecanique\SwordfishSE\SESwordfish.exe" PumpMPLAB.bas -p18F1320
Swordfish BASIC Compiler (SE) 2.1.0.1 Copyright (c) 2007 Mecanique
All Rights Reserved.
[Error]: Unable to open system file
[Error](1): Unable to open system file
BUILD FAILED: Tue Dec 09 11:37:18 2008
-
- Swordfish Developer
- Posts: 1473
- Joined: Fri Jan 30, 2009 6:27 pm
- Location: US
I'm the same issue as the others with getting the error
Swordfish BASIC Compiler (SE) 2.1.0.1 Copyright (c) 2007 Mecanique
All Rights Reserved.
[Error]: Unable to open system file
[Error](4): Unable to open system file
I'm new to swordfish, so I've tried a few different versions of MPLAB and
installing/uninstalling/running the .reg file, etc. All with no luck.
I fired up filemon (from sysinternals), and it seems that swordfish is having
a hard time finding the 'includes' and 'library' subdirectories. On my system,
it's not looking in the swordfish installation directory, it's looking for them in
'Mecanique\PDS\Includes\' and 'Mecanique\PDS\Library\' under various 'C:\Documents and Settings\' subdirectories,
and I have the compiler installed in 'D:\SwordfishSE'
When I put a copy of the swordfish includes and library subdirectories there, it built fine.
Is there something that's supposed to be done to tell swordfish where to find these when running under mplab?
There seems to be entries for these settings in the 'Set Language Tool Locations', but the entries are always blank.
Thanks,
Jerry
Swordfish BASIC Compiler (SE) 2.1.0.1 Copyright (c) 2007 Mecanique
All Rights Reserved.
[Error]: Unable to open system file
[Error](4): Unable to open system file
I'm new to swordfish, so I've tried a few different versions of MPLAB and
installing/uninstalling/running the .reg file, etc. All with no luck.
I fired up filemon (from sysinternals), and it seems that swordfish is having
a hard time finding the 'includes' and 'library' subdirectories. On my system,
it's not looking in the swordfish installation directory, it's looking for them in
'Mecanique\PDS\Includes\' and 'Mecanique\PDS\Library\' under various 'C:\Documents and Settings\' subdirectories,
and I have the compiler installed in 'D:\SwordfishSE'
When I put a copy of the swordfish includes and library subdirectories there, it built fine.
Is there something that's supposed to be done to tell swordfish where to find these when running under mplab?
There seems to be entries for these settings in the 'Set Language Tool Locations', but the entries are always blank.
Thanks,
Jerry
Jerry,
I think that when Swordfish is registered with Mplab, it defaults to the C drive command line directory as specified in the Swordfish Mplab registration pdf. No other options seem possible.
Rather strange, maybe David could comment?
Caught me out, as I only have one other program which will only run from drive C.
roger
I think that when Swordfish is registered with Mplab, it defaults to the C drive command line directory as specified in the Swordfish Mplab registration pdf. No other options seem possible.
Rather strange, maybe David could comment?
Caught me out, as I only have one other program which will only run from drive C.
roger
to get it to work I did the following...
created c:\documents and settings\all users\mecanique
copied c:\program files\mecanique\swordfish\Includes to the above mecanique dir
copied c:\program files\mecanique\swordfish\system to the above mecanique dir
now everything compiles ok from the command line and MPLAB
created c:\documents and settings\all users\mecanique
copied c:\program files\mecanique\swordfish\Includes to the above mecanique dir
copied c:\program files\mecanique\swordfish\system to the above mecanique dir
now everything compiles ok from the command line and MPLAB
-
- Registered User
- Posts: 26
- Joined: Sun Oct 12, 2008 11:21 pm
- Location: Utah
I added the directory in the documents and settings and copied the includes and library there. This did allow a successfull build. I also had two moduals in the UserLibrary of my own that also needed to be move to the library directory in documents and settings.
I was looking in MPLAB and there is a dialog you can pull up under Project called "Set Language Tool Locations". This must be where one can set the locations for the libraries. I played with it a bit with no luck.
Does any one know what the correct paths are for the "Default Search Paths" are. This is in the tree under "Swordfish".
It asks for:
Assembler Include Search Path
Include Search Path
Library Search Path
Linker-Script Search Path
I put in the obvious paths for include and library. But still didn't get a successfull build.
Note: I used the path from the below thread
http://www.sfcompiler.co.uk/forum/viewt ... ight=mplab
RD
I was looking in MPLAB and there is a dialog you can pull up under Project called "Set Language Tool Locations". This must be where one can set the locations for the libraries. I played with it a bit with no luck.
Does any one know what the correct paths are for the "Default Search Paths" are. This is in the tree under "Swordfish".
It asks for:
Assembler Include Search Path
Include Search Path
Library Search Path
Linker-Script Search Path
I put in the obvious paths for include and library. But still didn't get a successfull build.
Note: I used the path from the below thread
http://www.sfcompiler.co.uk/forum/viewt ... ight=mplab
RD
Last edited by RDHeiliger on Sun Mar 22, 2009 4:35 pm, edited 1 time in total.
Conflicts between SFcompiler 2.1.0.1 and MPLAB IDE v8.10
I too would be interested to know if these paths need to be set; I have tried adding the directories in c:\documents and settings, but I still can't get it to build. I would really like to be able to use my ICD2 with swordfish for a project I have planned, but this problem seems to be intractable at the moment.
If anyone else has any insight to this issue, please post it, It would be much appreciated.
Best regards.
If anyone else has any insight to this issue, please post it, It would be much appreciated.
Best regards.
- David Barker
- Swordfish Developer
- Posts: 1214
- Joined: Tue Oct 03, 2006 7:01 pm
- Location: Saltburn by the Sea, UK
- Contact:
Still doesn't work
Tried the new compiler, still won't work in MPLAB
I am using MPLAB V8.15a and Vista.
Oh, and as with previous updates, it 'upgraded' the assembler from V5.20 to V5.11 which is a bit inconvenient when that version doesn't work with your processor ( 18F8723 )
I am using MPLAB V8.15a and Vista.
Oh, and as with previous updates, it 'upgraded' the assembler from V5.20 to V5.11 which is a bit inconvenient when that version doesn't work with your processor ( 18F8723 )