LB Booster
« Help with lb »

Welcome Guest. Please Login or Register.
Apr 1st, 2018, 04:26am



ATTENTION MEMBERS: Conforums will be closing it doors and discontinuing its service on April 15, 2018.
We apologize Conforums does not have any export functions to migrate data.
Ad-Free has been deactivated. Outstanding Ad-Free credits will be reimbursed to respective payment methods.

Thank you Conforums members.
Speed up Liberty BASIC programs by up to ten times!
Compile Liberty BASIC programs to compact, standalone executables!
Overcome many of Liberty BASIC's bugs and limitations!
LB Booster Resources
LB Booster documentation
LB Booster Home Page
LB Booster technical Wiki
Just BASIC forum
BBC BASIC Home Page
Liberty BASIC forum (the original)

« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: Help with lb  (Read 1387 times)
TexasPete
New Member
Image


member is offline

Avatar

Excellance is a often a long path.


PM

Gender: Male
Posts: 23
xx Help with lb
« Thread started on: Jan 9th, 2014, 1:11pm »

Richard, I appreciated your help on the lb forums.
Soon, I will be compiling my large lb programs with lb Booster. I was wondering if Lb Booster runs on linix under wine. Do you happen to know?

Texas Pete
User IP Logged

Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 1348
xx Re: Help with lb
« Reply #1 on: Jan 9th, 2014, 2:33pm »

on Jan 9th, 2014, 1:11pm, TexasPete wrote:
Soon, I will be compiling my large lb programs with lb Booster. I was wondering if Lb Booster runs on linix under wine. Do you happen to know?

I haven't personally tried it. I have received reports that programs compiled using LBB run OK, but I am not sure about LBB itself. In any case I would expect you to need a recent version of Wine (1.5 or later) to ensure that graphics work correctly.

Richard.
User IP Logged

Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 1348
xx Re: Help with lb
« Reply #2 on: Jan 12th, 2014, 1:31pm »

on Jan 9th, 2014, 1:11pm, TexasPete wrote:
Soon, I will be compiling my large lb programs with lb Booster.

Do report any problems (preferably by email). Both the large commercial applications recently ported to LBB raised a few issues which needed my attention - either in tweaking LBB itself or in suggesting workarounds for minor compatibility issues.

Richard.
User IP Logged

net2014
New Member
Image


member is offline

Avatar




PM


Posts: 37
xx Re: Help with lb
« Reply #3 on: Jan 12th, 2014, 2:47pm »

All programs compliled with LBB have worked ok for me under linux/WINE, so far.

However, Texas Pete's query prompted me to try and run LBB in WINE and it would not start. It brings up a notification titled BBCWrun and msg text 'Cannot create file' followed by a long file path which begins C:\users\<username>\Temp and ends LBLIBC.BBC. The path is too long to fully display. The only other info I can give is that the \<username>\Temp folder does exist and a few BBCnnnn.tmp folders have been created..
User IP Logged

Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 1348
xx Re: Help with lb
« Reply #4 on: Jan 12th, 2014, 3:40pm »

on Jan 12th, 2014, 2:47pm, net2014 wrote:
Texas Pete's query prompted me to try and run LBB in WINE and it would not start. It brings up a notification titled BBCWrun and msg text 'Cannot create file'

I had expected that, because I knew LBB used to be affected by this Wine bug and I hadn't received any notification of it being fixed.

It's rated as a 'major' bug so hopefully somebody from the Wine community will feel motivated to fix it sooner or later, but obviously it's entirely out of my hands.

I would suggest (as I think I have done before) that everybody who would like LBB to run under Wine registers on Bugzilla and adds their vote.

Richard.
User IP Logged

net2014
New Member
Image


member is offline

Avatar




PM


Posts: 37
xx Re: Help with lb
« Reply #5 on: Jan 12th, 2014, 3:53pm »

Richard,

Noted!

Would it be possible to manually create the necessary folders before first run or is it more complex than that? Even then do folders need to be created on the fly during compilation?

Just a thought.
User IP Logged

Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 1348
xx Re: Help with lb
« Reply #6 on: Jan 12th, 2014, 5:38pm »

on Jan 12th, 2014, 3:53pm, net2014 wrote:
Would it be possible to manually create the necessary folders before first run or is it more complex than that?

Manually creating the folder may work - depending on which one it is! I think LBB creates two folders, and one of them has a different name each time you run it (the GetTempFileName API is used to determine the name); if that's the one causing the error you're stuck. But if the troublesome folder is the one with the fixed name ('\lib' I think) the technique may be successful.

Let us know if you can make it work.

Richard.
User IP Logged

net2014
New Member
Image


member is offline

Avatar




PM


Posts: 37
xx Re: Help with lb
« Reply #7 on: Jan 12th, 2014, 6:40pm »

If I knew the folder name I would give it a try, but the path is truncated in the notice window :

C:\user\<username>\Temp\BBC1570.tmp\....\lib\LBLIBC.BBC

Also the BBCnnnn.tmp folder name changes each time LBB is run so I guess that would prevent manual creation of folders. The created folder only contains a zero byte text file named '$'

Probably a no-goer then.
User IP Logged

Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 1348
xx Re: Help with lb
« Reply #8 on: Jan 12th, 2014, 9:39pm »

on Jan 12th, 2014, 6:40pm, net2014 wrote:
If I knew the folder name I would give it a try

You can create the folder by entering the following at a Windows command prompt, and pressing Enter:

Code:
mkdir %TEMP%\lib 

Is that sufficient to make LBB run?

Richard.
« Last Edit: Jan 12th, 2014, 9:40pm by Richard Russell » User IP Logged

net2014
New Member
Image


member is offline

Avatar




PM


Posts: 37
xx Re: Help with lb
« Reply #9 on: Jan 13th, 2014, 4:31pm »

Good news! Yes, manually creating \Temp\lib folder enables LBB to run in linux/WINE 1.4.1

I also compiled a bas file and the exe ran perfectly.

The lib folder incidently is empty!
User IP Logged

Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 1348
xx Re: Help with lb
« Reply #10 on: Jan 13th, 2014, 5:39pm »

on Jan 13th, 2014, 4:31pm, net2014 wrote:
The lib folder incidently is empty!

Only after LBB has quit and 'cleaned up after itself', I hope! There should definitely be files there whilst it is running wink

Richard.
User IP Logged

net2014
New Member
Image


member is offline

Avatar




PM


Posts: 37
xx Re: Help with lb
« Reply #11 on: Jan 13th, 2014, 6:34pm »

on Jan 13th, 2014, 5:39pm, Richard Russell wrote:
Only after LBB has quit and 'cleaned up after itself', I hope! There should definitely be files there whilst it is running wink

Richard.


Confirmed.

Must remember the workaround now. smiley

Thanks.
User IP Logged

Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

| |

This forum powered for FREE by Conforums ©
Terms of Service | Privacy Policy | Conforums Support | Parental Controls