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 2018.12.09)

Postby Kuan Hsu » Dec 11, 2018 15:03

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: 340
Joined: Dec 28, 2012 13:31
Location: Paris - France

Re: FreeBasic IDE-poseidonFB(Update 2018.12.09)

Postby marpon » Dec 12, 2018 16:16

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: 433
Joined: Sep 16, 2007 15:12
Location: Taiwan

Re: FreeBasic IDE-poseidonFB(Update 2018.12.09)

Postby Kuan Hsu » Dec 12, 2018 18:06

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: 340
Joined: Dec 28, 2012 13:31
Location: Paris - France

Re: FreeBasic IDE-poseidonFB(Update 2018.12.09)

Postby marpon » Dec 13, 2018 8:47

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: 41
Joined: Sep 25, 2015 12:04
Location: Russia

Re: FreeBasic IDE-poseidonFB(Update 2018.10.27)

Postby WQ1980 » Dec 13, 2018 11:24

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: 75
Joined: Dec 18, 2018 16:37
Location: Germany, Hessdorf
Contact:

Re: FreeBasic IDE-poseidonFB(Update 2018.12.09)

Postby nastasa eodor » Dec 18, 2018 17:12

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

Re: FreeBasic IDE-poseidonFB(Update 2018.12.09)

Postby Kuan Hsu » Dec 19, 2018 16:24

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/download/details.aspx?id=5555
nastasa eodor
Posts: 75
Joined: Dec 18, 2018 16:37
Location: Germany, Hessdorf
Contact:

Re: FreeBasic IDE-poseidonFB(Update 2018.12.09)

Postby nastasa eodor » Dec 19, 2018 22:50

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=11Qm7faBeXVDtRpOerQZEag0w2TKkaQPJ
Kuan Hsu
Posts: 433
Joined: Sep 16, 2007 15:12
Location: Taiwan

Re: FreeBasic IDE-poseidonFB(Update 2018.12.09)

Postby Kuan Hsu » Dec 21, 2018 12:40

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=11Qm7faBeXVDtRpOerQZEag0w2TKkaQPJ

Great! Maybe you can combine the FB Easy Parser in your IDE...^^
nastasa eodor
Posts: 75
Joined: Dec 18, 2018 16:37
Location: Germany, Hessdorf
Contact:

Re: FreeBasic IDE-poseidonFB(Update 2018.12.09)

Postby nastasa eodor » Dec 21, 2018 14:10

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=11Qm7faBeXVDtRpOerQZEag0w2TKkaQPJ

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: 38
Joined: May 03, 2009 21:47

Re: FreeBasic IDE-poseidonFB(Update 2018.12.09)

Postby AWPStar » Dec 24, 2018 19:35

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

Re: FreeBasic IDE-poseidonFB(Update 2018.12.09)

Postby Kuan Hsu » Dec 31, 2018 16:05

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)

Postby sancho3 » Jan 22, 2019 3:14

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: 433
Joined: Sep 16, 2007 15:12
Location: Taiwan

Re: FreeBasic IDE-poseidonFB(Update 2018.12.09)

Postby Kuan Hsu » Jan 30, 2019 1:24

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)

Postby sancho3 » Jan 30, 2019 4:28

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.

Return to “Projects”

Who is online

Users browsing this forum: No registered users and 1 guest