The library libiup.so should be copied to /usr/lib. I had it working on Debian 9. It can be downloaded from the IUP website. However, example code from FB may generate an error due to mixing GTK2 and GTK3 symbols.Achaean wrote:I tried installing IUP at my system (Debian Jessie), but even if everything installed successfully, IUP libraries ain't available.
Did someone succeeded, installing IUP on Debian???
To the developer: Installing IUP seems to be buggy (at least for non Ubuntu based systems), so please consider another method of distribution for Poseidon (an AppImage (better option, worldwidth availability) , a repository (Debian based only from my knowledge) etc).
Happy New Year for everyone!!! :-)
To the developer: Best of Luck with it! Seems really promising!!! ;-)
FreeBasic IDE-poseidonFB(Update 2024.03.03)
Re: FreeBasic IDE-poseidonFB(Update 2017.12.23)
Re: FreeBasic IDE-poseidonFB(Update 2018.01.01)
(1) Fixed at rev.350dixiony wrote:1. After the declaration of the procedure or function and pressing the Enter key, a procedure or function block is obtained. Can I fix this?
2. After you press the Tab key, sometimes the cursor jumps to two tab stops, rather than one. For example, in the settings there is a tab for three indents, and when the Tab key is pressed, the cursor becomes at the sixth position.
3. In the program settings on the "Keywords" tab, when you change the word list and click the Apply button, all program settings are deleted.
(2)(3) Can't reproduce them.....><
Let me test at LMDE 2 Betsy......Munair wrote:The library libiup.so should be copied to /usr/lib. I had it working on Debian 9. It can be downloaded from the IUP website. However, example code from FB may generate an error due to mixing GTK2 and GTK3 symbols.Achaean wrote:I tried installing IUP at my system (Debian Jessie), but even if everything installed successfully, IUP libraries ain't available.
Did someone succeeded, installing IUP on Debian???
To the developer: Installing IUP seems to be buggy (at least for non Ubuntu based systems), so please consider another method of distribution for Poseidon (an AppImage (better option, worldwidth availability) , a repository (Debian based only from my knowledge) etc).
Happy New Year for everyone!!! :-)
To the developer: Best of Luck with it! Seems really promising!!! ;-)
I created a LMDE 2 Bestsy live usb then bootup, installed iup-3.23_Linux26g4_64_lib.tar.gz, run poseidonFB......
Re: FreeBasic IDE-poseidonFB(Update 2018.01.06)
Many thanks for the timely update!
Re: FreeBasic IDE-poseidonFB(Update 2017.12.23)
Correct!!! :-)Munair wrote:The library libiup.so should be copied to /usr/lib. I had it working on Debian 9. It can be downloaded from the IUP website. However, example code from FB may generate an error due to mixing GTK2 and GTK3 symbols.Achaean wrote:I tried installing IUP at my system (Debian Jessie), but even if everything installed successfully, IUP libraries ain't available.
Did someone succeeded, installing IUP on Debian???
To the developer: Installing IUP seems to be buggy (at least for non Ubuntu based systems), so please consider another method of distribution for Poseidon (an AppImage (better option, worldwidth availability) , a repository (Debian based only from my knowledge) etc).
Happy New Year for everyone!!! :-)
To the developer: Best of Luck with it! Seems really promising!!! ;-)
Creating symlinks to libiup.so and libiup_scintilla.so, did the trick! :-)
THANKS!!!
EDIT:
Seems like it's better, all files located at /usr/lib64 to be moved at /usr/lib (instead of symlinking).
Re: FreeBasic IDE-poseidonFB(Update 2017.12.23)
Why not useAchaean wrote:Correct!!! :-)Munair wrote:The library libiup.so should be copied to /usr/lib. I had it working on Debian 9. It can be downloaded from the IUP website. However, example code from FB may generate an error due to mixing GTK2 and GTK3 symbols.Achaean wrote:I tried installing IUP at my system (Debian Jessie), but even if everything installed successfully, IUP libraries ain't available.
Did someone succeeded, installing IUP on Debian???
To the developer: Installing IUP seems to be buggy (at least for non Ubuntu based systems), so please consider another method of distribution for Poseidon (an AppImage (better option, worldwidth availability) , a repository (Debian based only from my knowledge) etc).
Happy New Year for everyone!!! :-)
To the developer: Best of Luck with it! Seems really promising!!! ;-)
Creating symlinks to libiup.so and libiup_scintilla.so, did the trick! :-)
THANKS!!!,
EDIT:
Seems like it's better, all files located at /usr/lib64 to be moved at /usr/lib (instead of symlinking).
Code: Select all
sudo ./install
Re: FreeBasic IDE-poseidonFB(Update 2017.12.23)
That's what I did, but it installed them at /usr/lib64 (which is wrong for Debian x64, so I moved them to usr/lib (since Debian has /usr/lib for usual libs and /usr/lib32 for x32 ones).Kuan Hsu wrote: Why not useto install IUP dynamic libs?Code: Select all
sudo ./install
Re: FreeBasic IDE-poseidonFB(Update 2018.01.07)
First of all thanks for that nice Ide, i"ve intalled the 64 linux version 0.351 ( i'm neeby in linux)
I"m trying to use it under mint xfce
i can correctly compile but poseidon is not launching the execution
with of without the option "use the console launcher"
if i open the terminal i'am able to execute correctly the compiled program
what i'am doing wrong?
thanks for support
I"m trying to use it under mint xfce
i can correctly compile but poseidon is not launching the execution
with of without the option "use the console launcher"
if i open the terminal i'am able to execute correctly the compiled program
what i'am doing wrong?
thanks for support
Re: FreeBasic IDE-poseidonFB(Update 2018.01.07)
Thanks for using...^^marpon wrote:First of all thanks for that nice Ide, i"ve intalled the 64 linux version 0.351 ( i'm neeby in linux)
I"m trying to use it under mint xfce
i can correctly compile but poseidon is not launching the execution
with of without the option "use the console launcher"
if i open the terminal i'am able to execute correctly the compiled program
what i'am doing wrong?
thanks for support
Try to install 'mate-terminal' then change default terminal
Set the Default Terminal Emulator on Ubuntu Linux
Re: FreeBasic IDE-poseidonFB(Update 2018.01.07)
Thanks a lot, solved now
is it possible to get the consoleLauncher.bas file?
is it possible to get the consoleLauncher.bas file?
Re: FreeBasic IDE-poseidonFB(Update 2018.01.07)
(1)I commit rev.352, it should be no need to download mate-terminal now.marpon wrote:Thanks a lot, solved now
is it possible to get the consoleLauncher.bas file?
(2)consoleLauncher.bas:
Code: Select all
#if defined(__fb_win32__)
#include once "crt/stdlib.bi"
#include once "windows.bi"
#inclib "shell32"
#endif
dim as string exeName, args
/'
command(2) = ID
command(2) = consoleX
command(3) = consoleY
command(4) = consoleW
command(5) = consoleH
command(6) = exeName
'/
cls
if( __fb_argc__ >= 6 ) then
exeName = command(6)
for i as integer = 7 to __fb_argc__
args += ( " " + command(i-1) )
next
dim as string _id = command(1), _x = command(2), _y = command(3), _w = command(4), _h = command(5)
dim as integer ID = valint( _id )
dim as integer X = valint( _x )
dim as integer Y = valint( _y )
dim as integer W = valint( _w )
dim as integer H = valint( _h )
#if defined(__fb_win32__)
if( W <= 0 OR H <=0 ) then
SetWindowPos( GetConsoleWindow, HWND_TOP, X, Y, 0, 0, SWP_NOSIZE )
else
SetWindowPos( GetConsoleWindow, HWND_TOP, X, Y, W, H, SWP_SHOWWINDOW )
end if
#else
if( X < 0 ) then _x = "-1"
if( Y < 0 ) then _y = "-1"
if( W <= 0 ) then
_w = "-1"
_h = "-1"
end if
if( H <= 0 ) then
_w = "-1"
_h = "-1"
end if
'if( id > 0 ) then exec( "wmctrl", "-r poseidonFB_terminal -t " + _id )
exec( "wmctrl", "-r poseidonFB_terminal -e 0," + _x + "," + _y + "," + _w + "," + _h )
#endif
dim as integer result = exec( exeName, trim( args ) )
if result = -1 then print "error running="; exeName
else
print "error Args aren't enough!"
end if
#if defined(__fb_win32__)
system_( "pause" )
#else
print( "Press any Key to continue...")
getkey
#endif
end
Re: FreeBasic IDE-poseidonFB(Update 2018.01.07)
Just a comment, but wouldn't it be a good idea to put that in the GIT repository?Kuan Hsu wrote:(2)consoleLauncher.bas:
Re: FreeBasic IDE-poseidonFB(Update 2018.01.07)
continuing investigating that good editor, I’ve noticed it can correctly handle the comment block /' '/
but when nested comment blocks the highlight feature is not working correctly
FreeBasic compiler parser can handle infinite nested comment blocks , it could be nice to have that feature working also in the ide ...
but when nested comment blocks the highlight feature is not working correctly
Code: Select all
/' first level
/' second level '/
must stay a comment colour here
'/
FreeBasic compiler parser can handle infinite nested comment blocks , it could be nice to have that feature working also in the ide ...
Re: FreeBasic IDE-poseidonFB(Update 2018.01.14)
Unfortunately code completion really slows down the editor considerably when bigger headers (like the windows headers) are used. Would be great if the performance could be improved or at least the impact on the input lag could be reduced (without turning off code completion completely). Apart from that I really like the editor for qick tests and smaller projects.
Re: FreeBasic IDE-poseidonFB(Update 2018.01.14)
Hi All
Finally got some time to re-try Poseidon.
Installed on Linux Mint 18.3 64 Bit.
Using the pdf manual to install this time, meant it installed without a hitch.
Two immediate impressions.
1.Left clicking the "Set Compiler Options" at the bottom left of the screen did nothing.
Right clicking it did the trick. My mouse works perfectly in all other apps, so don't understand why some things need Right click.
2. Went to use debug and it could not find the Target file.
Turns out that the "Project Name" is what it is looking for.
I would have thought that the "Target Name" was what it should look for. (unless there is a good reason)
Did notice that the "Run" button DID pick the right name.
Otherwise I am impressed and will persevere to fully evaluate for my purpose.
EDIT:
3. I cannot get the Debug screen. GDB is present and runs from the Terminal.
Compiled with -g also tried /Debug/Compile with Debug (Success)
Confirmed path to GDB and pasted it in /options/preferences
The output windows shows "Running /home/barfresh/projects/BagMaker/BagMaker......"
No debug window ?
EDIT-2:
3. Had to purge gdb to solve that problem and re-install.
However don't seen to be able to set a break point with Ctrl Left Click.
4. Folding is not saved, and is also erratic. Some Subs fold completely, others leave code behind.
sometimes putting a blank line between subs will do it, other times it won't. At one stage making sure
that the end of the sub was "End Sub" instead of "end sub" seemed to solve some folding issues.
5. No "Fold All" function.
EDIT-3:
6. My projects have a main file with
If I press the compile icon it all works correctly
If I /Build/Build Project there are errors that indicate the above includes are not included after
the first file is compiled.
7. Go to Definition / Go to Member Procedure.
This works only from Main bas file (the one with the Project.bi)
If I open other modules and Right Click to go to Definition or Member procedure it doesn't work.
Regards
Finally got some time to re-try Poseidon.
Installed on Linux Mint 18.3 64 Bit.
Using the pdf manual to install this time, meant it installed without a hitch.
Two immediate impressions.
1.Left clicking the "Set Compiler Options" at the bottom left of the screen did nothing.
Right clicking it did the trick. My mouse works perfectly in all other apps, so don't understand why some things need Right click.
2. Went to use debug and it could not find the Target file.
Turns out that the "Project Name" is what it is looking for.
I would have thought that the "Target Name" was what it should look for. (unless there is a good reason)
Did notice that the "Run" button DID pick the right name.
Otherwise I am impressed and will persevere to fully evaluate for my purpose.
EDIT:
3. I cannot get the Debug screen. GDB is present and runs from the Terminal.
Compiled with -g also tried /Debug/Compile with Debug (Success)
Confirmed path to GDB and pasted it in /options/preferences
The output windows shows "Running /home/barfresh/projects/BagMaker/BagMaker......"
No debug window ?
EDIT-2:
3. Had to purge gdb to solve that problem and re-install.
However don't seen to be able to set a break point with Ctrl Left Click.
4. Folding is not saved, and is also erratic. Some Subs fold completely, others leave code behind.
sometimes putting a blank line between subs will do it, other times it won't. At one stage making sure
that the end of the sub was "End Sub" instead of "end sub" seemed to solve some folding issues.
5. No "Fold All" function.
EDIT-3:
6. My projects have a main file with
#Include once "project.bi"
Code: Select all
#Include once "allegro.bi"
#Include once "cgui.bi"
#include once "file.bi"
#Include once "types.bi"
#Include once "declares.bi"
#Include once "presets.bi"
#Include once "IA3125.bi"
#Include Once "Win01.bas"
#Include Once "Win02.bas"
#Include Once "WinHelp.bas"
#Include Once "RunMod00.bas"
#Include Once "RunMod01.bas"
#Include Once "IA3125.bas"
If I /Build/Build Project there are errors that indicate the above includes are not included after
the first file is compiled.
I suspect I am doing something wrong here with Project setup but what ?/home/barfresh/projects/BagMaker/IA3125.bas(7) error 41: Variable not declared, usbTimer in 'usbTimer.mSec = CULng((Timer - usbTimer.CalTime) * 1000)'
7. Go to Definition / Go to Member Procedure.
This works only from Main bas file (the one with the Project.bi)
If I open other modules and Right Click to go to Definition or Member procedure it doesn't work.
Regards
Re: FreeBasic IDE-poseidonFB(Update 2018.01.07)
It's scintilla issue, we need modify iupscintilla source code and rebuild them...marpon wrote:continuing investigating that good editor, I’ve noticed it can correctly handle the comment block /' '/
but when nested comment blocks the highlight feature is not working correctly
Code: Select all
/' first level /' second level '/ must stay a comment colour here '/
FreeBasic compiler parser can handle infinite nested comment blocks , it could be nice to have that feature working also in the ide ...
I will add a little trick to impove...St_W wrote:Unfortunately code completion really slows down the editor considerably when bigger headers (like the windows headers) are used. Would be great if the performance could be improved or at least the impact on the input lag could be reduced (without turning off code completion completely). Apart from that I really like the editor for qick tests and smaller projects.