wxFBE, editor for both Windows and Linux

User projects written in or related to FreeBASIC.
Post Reply
MOD
Posts: 555
Joined: Jun 11, 2009 20:15

Re: wxFBE, editor for both Windows and Linux

Post by MOD »

dafhi wrote:Interestingly, the length of my source is 8192 bytes
The size is 8184 bytes but the file system adds some meta data.
dafhi wrote:It's even in German!
wxFBE.xml wrote:<language>English</language>
^^

The settings file looks ok. I tried it with your settings file and the test code but still can't reproduce the problem. :\

Did you get any new information from debug prints?
dafhi
Posts: 1641
Joined: Jun 04, 2005 9:51

Re: wxFBE, editor for both Windows and Linux

Post by dafhi »

I used a ripper to get all the source, and located mdTypes somewhere else to put into /inc, but am seeing .o:fake messages
Last edited by dafhi on Apr 25, 2014 23:17, edited 1 time in total.
MOD
Posts: 555
Joined: Jun 11, 2009 20:15

Re: wxFBE, editor for both Windows and Linux

Post by MOD »

seeing .o:fake messages
Please post the exact messages so I can help you.
dafhi
Posts: 1641
Joined: Jun 04, 2005 9:51

Re: wxFBE, editor for both Windows and Linux

Post by dafhi »

wxFBE.o:fake:(.text+0x79680): undefined reference to 'wxToolBar_AddSeparateor@4'
.. wxString_ctorUTF8@4

there are hundreds
MOD
Posts: 555
Joined: Jun 11, 2009 20:15

Re: wxFBE, editor for both Windows and Linux

Post by MOD »

Are you using an old compiler or outdated header files or import lib? It looks like you have to update your installation.
TJF
Posts: 3809
Joined: Dec 06, 2009 22:27
Location: N47°, E15°
Contact:

Re: wxFBE, editor for both Windows and Linux

Post by TJF »

dafhi wrote:wxFBE.o:fake:(.text+0x79680): undefined reference to 'wxToolBar_AddSeparateor@4'
The function wxToolBar_AddSeparateor() is declared in the source (header) but not included in the binary (dll). Update the library binaries, find a version that matches the header declarations.
dafhi
Posts: 1641
Joined: Jun 04, 2005 9:51

Re: wxFBE, editor for both Windows and Linux

Post by dafhi »

[edit] compiling with FreeBasic Plus wxFBE,
".. designer\designer.bi(5) error 23: File not found, "md/helper/mdCollectionsHelper.bi .."

downloaded mdTypes.zip, successfully compiled
Last edited by dafhi on Apr 27, 2014 2:33, edited 2 times in total.
dafhi
Posts: 1641
Joined: Jun 04, 2005 9:51

Re: wxFBE, editor for both Windows and Linux

Post by dafhi »

Line 67 of "newdocument.bas"

Code: Select all

			While Not Eof( FF )
				Line Input #FF, temp
there is a bug in the actual Line Input functionality

relates with this post
MOD
Posts: 555
Joined: Jun 11, 2009 20:15

Re: wxFBE, editor for both Windows and Linux

Post by MOD »

Well, I don't think control characters should be part of a source code file. Moreover I can't find it in your code example. Either it's skipped while pasting it into the forum or it's not there. So how might it cause this problem?
dafhi
Posts: 1641
Joined: Jun 04, 2005 9:51

Re: wxFBE, editor for both Windows and Linux

Post by dafhi »

There might be more to Line Input than just the control char issue
MOD
Posts: 555
Joined: Jun 11, 2009 20:15

Re: wxFBE, editor for both Windows and Linux

Post by MOD »

So, after all, the problem is not saving the file but reading it. That means, that after saving the file you can open it in another editor without problems. Is this correct?
dafhi
Posts: 1641
Joined: Jun 04, 2005 9:51

Re: wxFBE, editor for both Windows and Linux

Post by dafhi »

That is correct
MOD
Posts: 555
Joined: Jun 11, 2009 20:15

Re: wxFBE, editor for both Windows and Linux

Post by MOD »

@dafhi: I did some minor changes to the code. Now I'm using LOF and GET to read the code. You can check out the latest changes, compile wxFBE and test it with your codes. Hope it works better now.
dafhi
Posts: 1641
Joined: Jun 04, 2005 9:51

Re: wxFBE, editor for both Windows and Linux

Post by dafhi »

works. what a simple solution .. I ended up making my own line input and compiled with wxFBE and that's what I've been using.

I'll be using this now and let you know if anything else comes up. Thanks for a great editor :D
gtripathi
Posts: 18
Joined: Jun 07, 2005 18:06

Re: wxFBE, editor for both Windows and Linux

Post by gtripathi »

Hi,

I'm trying to run this on Ubuntu 12.04 LTS. I extract everything into a directory, and copy the shared lib libwx-c-0-9-0-2.so into /usr/lib. Now when I run wxFBE from a teminal, I get "libgtk-x11-2.0.so" error. Please help.

thanks,

gaurav
Post Reply