Dell Latitude C600 laptop, 10G HDD, USB 1.1
Windows XP Pro SP3
Internet access 6 to 12 times per year
I function quite well in my portable life thanks to PortableApps when they work.
Would like to use GeanyPortable as a single IDE for many compilers, all on a single USB drive. Following is a description of my attempts to get GeanyPortable to compile and any help is appreciated. Will be without internet for about six months, starting in three weeks.
Downloaded these files:
GeanyPortable_1.24.paf.exe
FreeBASIC-0.90.1-win32.zip
FreeBASIC was extracted. GeanyPortable was installed, the GeanyPortable.ini file modified and copied into GeanyPortable.exe folder per the help.htm file. No other changes made. Contents of the applicable folders follow.
In the FreeBASIC-0.90.1-win32 folder:
E:\PortableApps\FreeBASIC-0.90.1-win32\readme.txt
E:\PortableApps\FreeBASIC-0.90.1-win32\changelog.txt
E:\PortableApps\FreeBASIC-0.90.1-win32\fbc.exe
In the GeanyPortable folder:
E:\PortableApps\GeanyPortable\help.htm
E:\PortableApps\GeanyPortable\GeanyPortable.ini
E:\PortableApps\GeanyPortable\GeanyPortable.exe
The contents of the GeanyPortable.ini file are:
[GeanyPortable]
AdditionalParameters=
DisableSplashScreen=false
ApplicationLanguage=
#specify from the root of the portable device. Use @Drive for the drive letter. Specify in the format @Drive\Perl\bin\, etc. Seperate with a semicolon [semicolon and close-brace, this forum put up a smiley in the preview]
PathAdditions=@Drive\PortableApps\FreeBASIC-0.90.1-win32\
AdditionalFonts=
where the separators are LF and not CR or CRLF (Line Feed and Carriage Return, respectively). The last line did not have a LF, and I left it as is.
The test file is here:
C:\Documents and Settings\DELL USER\Desktop\test.bas
and it's contents are:
print"hello world."
sleep
end
fbc.exe is the FreeBASIC compiler and runs correctly from the Command Prompt window, as well as from a FreeBASIC specific IDE on the USB drive (called FBide).
GeanyPortable opens test.bas and recognizes it as a FreeBASIC file, but it will not compile or execute (execute seems to be a pseudo-interpreter "run" command, as in FBide).
From Geany's status window when attempting to compile:
fbc -w all "test.bas" (in directory: C:\Documents and Settings\DELL USER\Desktop)
Compilation failed.
From the Command Prompt window entitled C:\WINDOWS\system32\cmd.exe when attempting to execute:
'"./test"' is not recognized as an internal or external command, operable program or batch file.
Press any key to continue . . .
I get the same errors with the following variants, with all combinations:
1) removing the last \ in the Path= statement in the GeanyPortable.ini file.
2) deleting the comment statement in the GeanyPortable.ini file.
3) changing LF to CRLF in the GeanyPortable.ini file.
4) changing @Drive to E: in the GeanyPortable.ini file.
5) removing the -w all parameter in GeanyPortable's run script.
6) changing FreeBASIC folder to just FreeBASIC.
I suspect the GeanyPortable.ini file is not being read or is being over-ruled by something else, and I'm stumped. Thanks in advance for help in getting this to work.
Dino
Ideas are OK. Correct solutions get you a popsicle.