FreeBasic IDE-poseidonFB(Update 2024.03.03)

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

Re: FreeBasic IDE-poseidonFB(Update 2018.12.09)

Post by Kuan Hsu »

marpon wrote:hi Kuan Hsu,

under linux 64, (with i'm not very familiar) i've tested your ide to compile single file source code, all worked ok
so to explore more, I've tried to compile the fbc compiler using a poseidon project but it failed , could you explain how to do?
In Windows 7:
Image
Set the Project Properties -> Main File = fbc

Later I'll test linux mint......
marpon
Posts: 342
Joined: Dec 28, 2012 13:31
Location: Paris - France

Re: FreeBasic IDE-poseidonFB(Update 2018.12.09)

Post by marpon »

thank's,
that what i was doing , but poseidon was blocked , all the .c files created, same for .o , get also .asm files but seems blocked at link...
Kuan Hsu
Posts: 586
Joined: Sep 16, 2007 15:12
Location: Taiwan

Re: FreeBasic IDE-poseidonFB(Update 2018.12.09)

Post by Kuan Hsu »

marpon wrote:thank's,
that what i was doing , but poseidon was blocked , all the .c files created, same for .o , get also .asm files but seems blocked at link...
Linux mint 19:
Image
In my case, compile fbc compiler srcs about 15 second.

I downloaded the src from github (https://github.com/freebasic/fbc)
Created a new project, set the "Project Dir" and "Main File" and named the "Target Name", then use "Import All Files" at project panel, then "ReBuild Project", after 15 sec, the fbc is created......

I tested gcc 7.3.0 and gcc 4.8.5 both are success.
marpon
Posts: 342
Joined: Dec 28, 2012 13:31
Location: Paris - France

Re: FreeBasic IDE-poseidonFB(Update 2018.12.09)

Post by marpon »

Kuan Hsu

in fact I was using an very old version of your IDE, updating it to the last one, worked very well.

thank's for your support, and for your IDE wich is the one I use in linux mode

Marc
WQ1980
Posts: 48
Joined: Sep 25, 2015 12:04
Location: Russia

Re: FreeBasic IDE-poseidonFB(Update 2018.10.27)

Post by WQ1980 »

Kuan Hsu wrote: Done at rev0.407, "Preference" -> "Editor" -> "Auto en-Keyboard Layout" -> "ON"(Windows only), next time start poseidonFB will force english layout~
Thanks!
nastasa eodor
Posts: 182
Joined: Dec 18, 2018 16:37
Location: Germany, Hessdorf
Contact:

Re: FreeBasic IDE-poseidonFB(Update 2018.12.09)

Post by nastasa eodor »

get an error cant run about msvctl100 but is in my machine
Kuan Hsu
Posts: 586
Joined: Sep 16, 2007 15:12
Location: Taiwan

Re: FreeBasic IDE-poseidonFB(Update 2018.12.09)

Post by Kuan Hsu »

nastasa eodor wrote:get an error cant run about msvctl100 but is in my machine
Try install msvcrt100.dll(32bit)
https://www.microsoft.com/en-us/downloa ... px?id=5555
nastasa eodor
Posts: 182
Joined: Dec 18, 2018 16:37
Location: Germany, Hessdorf
Contact:

Re: FreeBasic IDE-poseidonFB(Update 2018.12.09)

Post by nastasa eodor »

ok working well. my version was bad one.
thank you

here is my actual work, is not finished but you can try a shut...ok...if you want
https://drive.google.com/open?id=11Qm7f ... 0w2TKkaQPJ
Kuan Hsu
Posts: 586
Joined: Sep 16, 2007 15:12
Location: Taiwan

Re: FreeBasic IDE-poseidonFB(Update 2018.12.09)

Post by Kuan Hsu »

nastasa eodor wrote:ok working well. my version was bad one.
thank you

here is my actual work, is not finished but you can try a shut...ok...if you want
https://drive.google.com/open?id=11Qm7f ... 0w2TKkaQPJ
Great! Maybe you can combine the FB Easy Parser in your IDE...^^
nastasa eodor
Posts: 182
Joined: Dec 18, 2018 16:37
Location: Germany, Hessdorf
Contact:

Re: FreeBasic IDE-poseidonFB(Update 2018.12.09)

Post by nastasa eodor »

Kuan Hsu wrote:
nastasa eodor wrote:ok working well. my version was bad one.
thank you

here is my actual work, is not finished but you can try a shut...ok...if you want
https://drive.google.com/open?id=11Qm7f ... 0w2TKkaQPJ
Great! Maybe you can combine the FB Easy Parser in your IDE...^^
yes i look on him and i will try to insert in my ide. the problem is ide is written by Delphi, must convert him or use it like an external tool.
AWPStar
Posts: 47
Joined: May 03, 2009 21:47

Re: FreeBasic IDE-poseidonFB(Update 2018.12.09)

Post by AWPStar »

Hi, Kuan Hsu!
Is it possible to edit code with ASCII? Probably it will require to select charset code.
Kuan Hsu
Posts: 586
Joined: Sep 16, 2007 15:12
Location: Taiwan

Re: FreeBasic IDE-poseidonFB(Update 2018.12.09)

Post by Kuan Hsu »

AWPStar wrote:Hi, Kuan Hsu!
Is it possible to edit code with ASCII? Probably it will require to select charset code.
Try set the charset to default
A happy new year!
sancho3
Posts: 358
Joined: Sep 30, 2017 3:22

Re: FreeBasic IDE-poseidonFB(Update 2018.12.09)

Post by sancho3 »

I am getting an error when selecting Build Project:

"/home/les/Downloads/FreeBASIC-1.05.0-linux-x86_64/bin/fbc" -x "/home/les/Downloads/Poseiden/Golf/Golf" -m "Golf.bas" -b "/home/les/Downloads/Poseiden/Golf/Golf.bas" -exx -g -s gui

/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crt1.o: In function `_start':
(.text+0x20): undefined reference to `main'

I can build the main project file and run it using Build File.
Any idea what I am doing wrong?


Also:
Open Project can't open any files. What kind of file is it looking for? I can see my .Poseiden file but it is greyed out in the Open Project dialog.
Running my project crashes poseiden and I lose my project because it is not on the recent projects list. So I want to open it manually, but I can't get to it.
Also, why is that a hidden file?
Kuan Hsu
Posts: 586
Joined: Sep 16, 2007 15:12
Location: Taiwan

Re: FreeBasic IDE-poseidonFB(Update 2018.12.09)

Post by Kuan Hsu »

sancho3 wrote:I am getting an error when selecting Build Project:

"/home/les/Downloads/FreeBASIC-1.05.0-linux-x86_64/bin/fbc" -x "/home/les/Downloads/Poseiden/Golf/Golf" -m "Golf.bas" -b "/home/les/Downloads/Poseiden/Golf/Golf.bas" -exx -g -s gui

/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/crt1.o: In function `_start':
(.text+0x20): undefined reference to `main'

I can build the main project file and run it using Build File.
Any idea what I am doing wrong?


Also:
Open Project can't open any files. What kind of file is it looking for? I can see my .Poseiden file but it is greyed out in the Open Project dialog.
Running my project crashes poseiden and I lose my project because it is not on the recent projects list. So I want to open it manually, but I can't get to it.
Also, why is that a hidden file?
(1) Please remove the ext name in "Main File": -m "Golf.bas" => -m "Golf"
(2)
Sources -> *.bas
Includes -> *.bi
Others -> *.* and compile with the project
Miscellaneous -> *.* but won't compile with the project
(3)
In Ubutun, the first letter of file name is "." mean hidden file.........
sancho3
Posts: 358
Joined: Sep 30, 2017 3:22

Re: FreeBasic IDE-poseidonFB(Update 2018.12.09)

Post by sancho3 »

Thanks Kuan
The problem is related to the crash.
This error comes up trying to open the project:
"/home/les/Downloads/Poseiden/Golf"
had lost setting xml file!
So there is something missing and the project won't open.
What xml file is it talking about?

EDIT: I figured it out.
It is looking for .poseiden which I had renamed for some reason. I renamed it back to .poseiden
I can open the project now but because of the crash none of the sources are in the project list.

So in the end the Open Project option opens a directory in which a .poseiden file must be.
In FBEdit the ide looks for a .fbp file in any directory.
Post Reply