Page 1 of 1

Error: "No file selected for PBCompiler"

Posted: Fri Oct 29, 2010 7:41 pm
by blackborg
I am making my first lib with Tailbite ever.. can anyone tell me how to fix this error.. using TBManager.exe

Re: Error: "No file selected for PBCompiler"

Posted: Fri Oct 29, 2010 7:57 pm
by ts-soft
You have to select a source file! Use the browse button :wink:

Re: Error: "No file selected for PBCompiler"

Posted: Sat Oct 30, 2010 12:17 pm
by ABBKlaus
Have you tried the pick current button ?

You have to enable "show full path in titlebar" in PureBasic preferences in order to use the "pick current" button !

BR Klaus

Image

Re: Error: "No file selected for PBCompiler"

Posted: Mon Nov 01, 2010 8:09 pm
by blackborg
Thanks.. I did both pick current and browse and I still get the message.. is it because it's open in PB?

Re: Error: "No file selected for PBCompiler"

Posted: Mon Nov 01, 2010 9:19 pm
by ABBKlaus
blackborg wrote:Thanks.. I did both pick current and browse and I still get the message.. is it because it's open in PB?
no, it should work.

can you test with this snippet ?

Code: Select all

PBSourceFile$ = "C:\" ; Exchange it with a valid PureBasic file
PBSourceFile$ = RemoveString(PBSourceFile$, Chr(34))
If FileSize(PBSourceFile$)>=0
  Debug "File ok"
Else
  Debug "File error"
EndIf

Re: Error: "No file selected for PBCompiler"

Posted: Mon Nov 01, 2010 10:10 pm
by blackborg
Fixed it.. I need to put the full path and filename. "Use Current" doesn't do this..