FreeBasic IDE-poseidonFB(Update 2024.03.03)
-
- Posts: 232
- Joined: Apr 10, 2010 11:41
- Location: Japan
- Contact:
Re: FreeBasic IDE-poseidonFB(Update 2021.08.14)
Dear Kuan Hsu;
Please use it at the next opportunity.
https://makoto-watanabe.main.jp/Japanese.zip
P.S.
Please delete the "JapanesePack.zip" registered and linked on your site as it is outdated.
Please use it at the next opportunity.
https://makoto-watanabe.main.jp/Japanese.zip
P.S.
Please delete the "JapanesePack.zip" registered and linked on your site as it is outdated.
Re: FreeBasic IDE-poseidonFB(Update 2021.08.14)
The IupMessageError is new IUP function since 3.22, freeBASIC's header package is too outdated, so even using 3.27 library, the function is not be declared.UEZ wrote:Thanks, seems to work properly with your DLL but when I try to compile it I still get the em:If I comment it out then I can compile the code to a DLL....FBStyle.bas(946) error 42: Variable not declared, IupMessageError in 'IupMessageError( POSEIDON_HANDLE, "Sorry, this plugin is for freeBASIC use only!" )'
Re: FreeBasic IDE-poseidonFB(Update 2021.08.14)
OK, the language file I will commit at next rev.Makoto WATANABE wrote:Dear Kuan Hsu;
Please use it at the next opportunity.
https://makoto-watanabe.main.jp/Japanese.zip
P.S.
Please delete the "JapanesePack.zip" registered and linked on your site as it is outdated.
-
- Posts: 237
- Joined: Jul 15, 2021 7:23
- Location: Greece
- Contact:
Re: FreeBasic IDE-poseidonFB(Update 2021.08.14)
Hello,
i have developed a temperature calculation programm.
It compiles fine but it can not run in mate-terminal.
see
https://bitbucket.org/KuanHsu/poseidonf ... e-terminal
The bas file is the following: temperatures.bas
However, it runs normallly from mate-terminal by hand
i have developed a temperature calculation programm.
It compiles fine but it can not run in mate-terminal.
see
https://bitbucket.org/KuanHsu/poseidonf ... e-terminal
The bas file is the following: temperatures.bas
Code: Select all
Function FarToCel(F As Double) As Double
Return (5/9*(F-32))
End Function
Function CelToFar (C As Double) As Double
Return (C*9/5+32)
End Function
Dim inputTemperature As Double = 0.0
Dim iChoice As Integer = 0
Do
Print "Choose an option:"
Print "1 For Fahrenheit To Celsius"
Print "2 For Celsius To Fahrenheit"
Print "3 For exit..."
Input iChoice
Select Case iChoice
Case 1
Input "Input temperature in Fahrenheit: ", inputTemperature
Print "C= " ; FarToCel(inputTemperature)
Case 2
Input "Input temperature in Celsius: ", inputTemperature
Print "F= " ; CelToFar(inputTemperature)
Case 3
Exit Do
End Select
Loop
Re: FreeBasic IDE-poseidonFB(Update 2021.08.14)
(1) Make Sure that the 'Terminal Path' already been set
Or try setting the 'Terminal Path' = xterm instead of mate-terminal, xterm already in ubuntu mate, no need to install, in my test, mate-terminal crash sometimes...
(2)The underline issue, please see https://www.scintilla.org/ScintillaDoc. ... TRADESCENT
On linux AppImage version, open ~/.poseidonFB/settings/editorSettings.ini, then set Line65: EXTRADESCENT=1 or change the font, ex: Ubuntu Mono Regular
Or try setting the 'Terminal Path' = xterm instead of mate-terminal, xterm already in ubuntu mate, no need to install, in my test, mate-terminal crash sometimes...
(2)The underline issue, please see https://www.scintilla.org/ScintillaDoc. ... TRADESCENT
On linux AppImage version, open ~/.poseidonFB/settings/editorSettings.ini, then set Line65: EXTRADESCENT=1 or change the font, ex: Ubuntu Mono Regular
-
- Posts: 237
- Joined: Jul 15, 2021 7:23
- Location: Greece
- Contact:
Re: FreeBasic IDE-poseidonFB(Update 2021.08.14)
The terminal path is correct.
Don't run with quick run.
Make a project and try to build it and run it. Run a project fails for any project i tried.
Don't run with quick run.
Make a project and try to build it and run it. Run a project fails for any project i tried.
Re: FreeBasic IDE-poseidonFB(Update 2021.08.14)
Is compile/build is fine, but run fail?demosthenesk wrote:The terminal path is correct.
Don't run with quick run.
Make a project and try to build it and run it. Run a project fails for any project i tried.
I think the problem is about terminal, but I install all new Ubuntu mate on vm, then install FBC compiler and poseidonFB, test are all OK.....(like the picture I post)
I will add some code to test the terminal is exists or not, that is very stranger......
-
- Posts: 237
- Joined: Jul 15, 2021 7:23
- Location: Greece
- Contact:
Re: FreeBasic IDE-poseidonFB(Update 2021.08.14)
when i run project ... a mate-terminal pops up but empty and then it closes immediately.Kuan Hsu wrote:Is compile/build is fine, but run fail?demosthenesk wrote:The terminal path is correct.
Don't run with quick run.
Make a project and try to build it and run it. Run a project fails for any project i tried.
I think the problem is about terminal, but I install all new Ubuntu mate on vm, then install FBC compiler and poseidonFB, test are all OK.....(like the picture I post)
I will add some code to test the terminal is exists or not, that is very stranger......
-
- Posts: 237
- Joined: Jul 15, 2021 7:23
- Location: Greece
- Contact:
Re: FreeBasic IDE-poseidonFB(Update 2021.08.14)
i found the problem...
If in project path there are spaces it fails to run.
for example the following one fails to run.
Running /home/user/Documents/DEVELOPMENT/FreeBasic/Test Space Folder/Project1/./Temperatures
for example the following succeed to run.
Running /home/user/Documents/DEVELOPMENT/FreeBasic/Project1/./Temperatures
If in project path there are spaces it fails to run.
for example the following one fails to run.
Running /home/user/Documents/DEVELOPMENT/FreeBasic/Test Space Folder/Project1/./Temperatures
for example the following succeed to run.
Running /home/user/Documents/DEVELOPMENT/FreeBasic/Project1/./Temperatures
Re: FreeBasic IDE-poseidonFB(Update 2021.08.14)
Now I understand, I will fix it.^^demosthenesk wrote:i found the problem...
If in project path there are spaces it fails to run.
for example the following one fails to run.
Running /home/user/Documents/DEVELOPMENT/FreeBasic/Test Space Folder/Project1/./Temperatures
for example the following succeed to run.
Running /home/user/Documents/DEVELOPMENT/FreeBasic/Project1/./Temperatures
Please test rev.465
-
- Posts: 237
- Joined: Jul 15, 2021 7:23
- Location: Greece
- Contact:
Re: FreeBasic IDE-poseidonFB(Update 2021.08.14)
Yes you fix it.Kuan Hsu wrote:Now I understand, I will fix it.^^demosthenesk wrote:i found the problem...
If in project path there are spaces it fails to run.
for example the following one fails to run.
Running /home/user/Documents/DEVELOPMENT/FreeBasic/Test Space Folder/Project1/./Temperatures
for example the following succeed to run.
Running /home/user/Documents/DEVELOPMENT/FreeBasic/Project1/./Temperatures
Please test rev.465
Thanks !
Re: FreeBasic IDE-poseidonFB(Update 2021.09.21)
After update
Re: FreeBasic IDE-poseidonFB(Update 2021.09.21)
The issue occurs while opening a file, but I can't reproduce this issue everytime, sometimes it happen suddenly that I can't expected......
All my test and try that I can't know it's be fixed or still buggy, I feel defeated......
Maybe rewrite the file loader?.......
All my test and try that I can't know it's be fixed or still buggy, I feel defeated......
Maybe rewrite the file loader?.......
Re: FreeBasic IDE-poseidonFB(Update 2021.09.21)
so ..problem is in iUP
why not use default file load from windows api?
why not use default file load from windows api?
Re: FreeBasic IDE-poseidonFB(Update 2021.09.21)
Maybe because IUP is cross platform ?? (WIN/LIN and, probably more)aurelVZAB wrote:so ..problem is in iUP, why not use default file load from windows api?