Author |
Topic: Help with lb (Read 1386 times) |
|
TexasPete
New Member
member is offline
Excellance is a often a long path.
Gender:
Posts: 23
|
|
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
|
|
Logged
|
|
|
|
Richard Russell
Administrator
member is offline
Posts: 1348
|
|
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.
|
|
Logged
|
|
|
|
Richard Russell
Administrator
member is offline
Posts: 1348
|
|
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.
|
|
Logged
|
|
|
|
net2014
New Member
member is offline
Posts: 37
|
|
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..
|
|
Logged
|
|
|
|
Richard Russell
Administrator
member is offline
Posts: 1348
|
|
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.
|
|
Logged
|
|
|
|
net2014
New Member
member is offline
Posts: 37
|
|
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.
|
|
Logged
|
|
|
|
Richard Russell
Administrator
member is offline
Posts: 1348
|
|
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.
|
|
Logged
|
|
|
|
net2014
New Member
member is offline
Posts: 37
|
|
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.
|
|
Logged
|
|
|
|
Richard Russell
Administrator
member is offline
Posts: 1348
|
|
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: Is that sufficient to make LBB run?
Richard.
|
|
|
|
net2014
New Member
member is offline
Posts: 37
|
|
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!
|
|
Logged
|
|
|
|
Richard Russell
Administrator
member is offline
Posts: 1348
|
|
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
Richard.
|
|
Logged
|
|
|
|
net2014
New Member
member is offline
Posts: 37
|
|
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
Richard. |
|
Confirmed.
Must remember the workaround now.
Thanks.
|
|
Logged
|
|
|
|
|