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 1390 times)
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