FreeBasic IDE-poseidonFB(Update 2019.09.07)

User projects written in or related to FreeBASIC.
Kuan Hsu
Posts: 433
Joined: Sep 16, 2007 15:12
Location: Taiwan

Re: FreeBasic IDE-poseidonFB(Update 2019.08.11)

Postby Kuan Hsu » Aug 24, 2019 10:06

Dinosaur wrote:Hi All

Thanks for your response srvaldez, it turned out to be downloading the wrong iup version.
The instructions in the manual.pdf are a bit vague there.
Anyhow up and running.

Regards

(1) You can try poseidonFB_x64_revXXX.AppImage, no need install IUP
(2) The #1 post in this thread, I'll show what version of IUP using in new poseidonFB
deltarho[1859]
Posts: 2003
Joined: Jan 02, 2017 0:34
Location: UK

Re: FreeBasic IDE-poseidonFB(Update 2019.08.11)

Postby deltarho[1859] » Sep 04, 2019 21:41

@Kuan Hsu

I have written a small application which changes the compiler paths programmatically but must be run before poseidonFB is opened. If poseidonFB read the compiler paths before each compilation then I could add my little application as a tool allowing us to change compiler paths 'on the fly'. There is currently some interest in having more than one compiler build and being able to switch between them without closing poseidonFB will increase poseidonFB's power.

Would you consider this?
Kuan Hsu
Posts: 433
Joined: Sep 16, 2007 15:12
Location: Taiwan

Re: FreeBasic IDE-poseidonFB(Update 2019.08.11)

Postby Kuan Hsu » Sep 05, 2019 17:22

deltarho[1859] wrote:@Kuan Hsu

I have written a small application which changes the compiler paths programmatically but must be run before poseidonFB is opened. If poseidonFB read the compiler paths before each compilation then I could add my little application as a tool allowing us to change compiler paths 'on the fly'. There is currently some interest in having more than one compiler build and being able to switch between them without closing poseidonFB will increase poseidonFB's power.

Would you consider this?

OK, but I think we can do it by another method.
I'll expand the poseidonFB plugin command to change the 32bits/64bits FBC paths directly, and I think it's not too difficult to code a plugin that can select the different versions of FBC
This weekend......
deltarho[1859]
Posts: 2003
Joined: Jan 02, 2017 0:34
Location: UK

Re: FreeBasic IDE-poseidonFB(Update 2019.08.11)

Postby deltarho[1859] » Sep 05, 2019 21:40

It will be interesting to see what you come up with. Image
Kuan Hsu
Posts: 433
Joined: Sep 16, 2007 15:12
Location: Taiwan

Re: FreeBasic IDE-poseidonFB(Update 2019.08.11)

Postby Kuan Hsu » Sep 07, 2019 14:13

deltarho[1859] wrote:It will be interesting to see what you come up with. Image

Try to this one( include dll and source )
http://www.mediafire.com/file/pq37qw7k853s37v/cPathPlugin.7z/file
(1)Download cPathPlugin.7z and extract
(2)poseidonFB -> Options -> Tools -> Set Custom Tools..., create a new one tool( name and set the dll fullpath )
Image
(3)poseidonFB -> Options -> Tools -> click new tool

Image
Add: Create a new item( include name and the paths )
Del: Delete a selected item
Edit: Edit an existed item
Apply: Change the FBC path!


Note:
(1)The cPath.ini is put in settings\ dir
(2)Open Preference dialog and click new plugin "Apply" button, check how works
(3)The changes in new plugin will be saved while poseidonFB closing
Last edited by Kuan Hsu on Sep 08, 2019 6:18, edited 1 time in total.
deltarho[1859]
Posts: 2003
Joined: Jan 02, 2017 0:34
Location: UK

Re: FreeBasic IDE-poseidonFB(Update 2019.09.07)

Postby deltarho[1859] » Sep 07, 2019 18:57

Well done, Kuan Hsu!

The main difference between your method and my method is that you build the ini file for us which some users may prefer.

The important thing is the ability to change compiler paths 'on the fly' and, on testing, your method does just that.

In the future FB may be including several builds in its package and poseidonFB is now prepared for that. There are some folk who have several builds now so poseidonFB V0.421 will be a welcome version for them.

Thank you for this update.

Added: Instead of calling the tool 'cPath' I would suggest 'Set compiler paths'.
deltarho[1859]
Posts: 2003
Joined: Jan 02, 2017 0:34
Location: UK

Re: FreeBasic IDE-poseidonFB(Update 2019.09.07)

Postby deltarho[1859] » Sep 07, 2019 21:41

Yours truly wrote:Added: Instead of calling the tool 'cPath' I would suggest 'Set compiler paths'.

To that end I removed 'cPath' from 'Set Custom Tools...' but found cPath.ini still existed so I killed that.

I then started from scratch to use 'Set compiler paths' as the tool name.

All seemed well but on clicking on the tool, now called 'Set compiler paths', the window title was still 'cPath' and cPath.ini was created so cPath had not been removed in its entirety.
Kuan Hsu
Posts: 433
Joined: Sep 16, 2007 15:12
Location: Taiwan

Re: FreeBasic IDE-poseidonFB(Update 2019.09.07)

Postby Kuan Hsu » Sep 08, 2019 5:00

deltarho[1859] wrote:
Yours truly wrote:Added: Instead of calling the tool 'cPath' I would suggest 'Set compiler paths'.

To that end I removed 'cPath' from 'Set Custom Tools...' but found cPath.ini still existed so I killed that.

I then started from scratch to use 'Set compiler paths' as the tool name.

All seemed well but on clicking on the tool, now called 'Set compiler paths', the window title was still 'cPath' and cPath.ini was created so cPath had not been removed in its entirety.

(1)Change window title need modify the source and re-compile the dll
(2)poseidonFb read editorSettings.ini first, while poseidonFB closing, poseidonFB save editorSettings.ini then save the cPath.ini, so we can save the cPath.ini settings into editorSettings.ini by modifiy source code
Last edited by Kuan Hsu on Sep 08, 2019 6:07, edited 1 time in total.
deltarho[1859]
Posts: 2003
Joined: Jan 02, 2017 0:34
Location: UK

Re: FreeBasic IDE-poseidonFB(Update 2019.09.07)

Postby deltarho[1859] » Sep 08, 2019 5:27

I tried that but got 'File not found, IUP/iup.bi' and I noticed extern "C" in the .poseidon file.

I didn't expect a dll recompile.

Never mind I can live with a cPath title and cPath.ini.

The Custom Tools shows '1. Set compiler paths' so I will settle for that.

Thanks.
Kuan Hsu
Posts: 433
Joined: Sep 16, 2007 15:12
Location: Taiwan

Re: FreeBasic IDE-poseidonFB(Update 2019.09.07)

Postby Kuan Hsu » Sep 08, 2019 6:18

deltarho[1859] wrote:I tried that but got 'File not found, IUP/iup.bi' and I noticed extern "C" in the .poseidon file.

I didn't expect a dll recompile.

Never mind I can live with a cPath title and cPath.ini.

The Custom Tools shows '1. Set compiler paths' so I will settle for that.

Thanks.

cPath title had modified, I updated to mediafire, just re-download
IUP/iup.bi should be default existed in official FBC download
Have a nice day!
deltarho[1859]
Posts: 2003
Joined: Jan 02, 2017 0:34
Location: UK

Re: FreeBasic IDE-poseidonFB(Update 2019.09.07)

Postby deltarho[1859] » Sep 08, 2019 7:26

Ok I am now getting a title of Set Compil..., it is being clipped because the title isn't wide enough. Should have stayed with cPath. Oh dear!

We are still getting cPath.ini.

IUP/iup.bi exists but I cannot find a iup library in the lib/win32 folder; I am getting 'cannot find -liup'.

I don't want to use up your valuable time, cPath.ini is not an issue.
Dinosaur
Posts: 1273
Joined: Jul 24, 2005 1:13
Location: Searcy AR USA
Contact:

Re: FreeBasic IDE-poseidonFB(Update 2019.09.07)

Postby Dinosaur » Sep 11, 2019 20:27

Hi All

When using the .AppImage to run Poseidon in Linux 19.2. WHERE does the "editorsettings.ini" hide out ??
A search does not find it.
The reason is that I have a lot of Keywords that I want to use and want to copy from another installation.

Regards

EDIT: Found it in home/username/.poseidon/settings
Dinosaur
Posts: 1273
Joined: Jul 24, 2005 1:13
Location: Searcy AR USA
Contact:

Re: FreeBasic IDE-poseidonFB(Update 2019.09.07)

Postby Dinosaur » Sep 14, 2019 20:53

Hi All

Another issue I have been struggling with for a few days.

Until now I have used Linux Mint 18.3
Making a backup of my new laptop which is Mint 19.2 on a mSata usb drive.
Used the bitbucket download of Poseidon.AppImage V0.420 which is the same version as my Mint 18.3

The Run button appears to do nothing.
It does not open a Terminal , even though I have nominated "/usr/bin/gnome-terminal" as the Terminal Path in Preferences.
(happens to be the same as Mint 18.3)

I can run the application from the Terminal (if I open one manually) and in Gede debug, but NOT using the Run button.
If I remove the Terminal Path in Mint 18.3 , then it also wont open the Terminal.
Put it back in, and it all works again. But not in Mint 19.2using .AppImage

Anyone have any ideas as to why.??

Regards

EDIT: On the same computer , but on the HDD I have Poseidon installed normally (not the .AppImage) and it works correctly ?
Kuan Hsu
Posts: 433
Joined: Sep 16, 2007 15:12
Location: Taiwan

Re: FreeBasic IDE-poseidonFB(Update 2019.09.07)

Postby Kuan Hsu » Sep 15, 2019 0:56

Dinosaur wrote:Hi All

Another issue I have been struggling with for a few days.

Until now I have used Linux Mint 18.3
Making a backup of my new laptop which is Mint 19.2 on a mSata usb drive.
Used the bitbucket download of Poseidon.AppImage V0.420 which is the same version as my Mint 18.3

The Run button appears to do nothing.
It does not open a Terminal , even though I have nominated "/usr/bin/gnome-terminal" as the Terminal Path in Preferences.
(happens to be the same as Mint 18.3)

I can run the application from the Terminal (if I open one manually) and in Gede debug, but NOT using the Run button.
If I remove the Terminal Path in Mint 18.3 , then it also wont open the Terminal.
Put it back in, and it all works again. But not in Mint 19.2using .AppImage

Anyone have any ideas as to why.??

Regards

EDIT: On the same computer , but on the HDD I have Poseidon installed normally (not the .AppImage) and it works correctly ?

Try to install lxterminal and set it on prference dialog
https://www.freebasic.net/forum/viewtopic.php?f=8&t=23935&start=975#p262590
Dinosaur
Posts: 1273
Joined: Jul 24, 2005 1:13
Location: Searcy AR USA
Contact:

Re: FreeBasic IDE-poseidonFB(Update 2019.09.07)

Postby Dinosaur » Sep 16, 2019 2:21

Hi All

Try to install lxterminal and set it on prference dialog
Thanks that fixed it.

Regards

Return to “Projects”

Who is online

Users browsing this forum: No registered users and 29 guests