Error: "No file selected for PBCompiler"

TailBite specific forum

Moderators: gnozal, ABBKlaus, lexvictory

blackborg
User
User
Posts: 38
Joined: Thu Nov 02, 2006 8:20 pm

Error: "No file selected for PBCompiler"

Post by blackborg »

I am making my first lib with Tailbite ever.. can anyone tell me how to fix this error.. using TBManager.exe
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Re: Error: "No file selected for PBCompiler"

Post by ts-soft »

You have to select a source file! Use the browse button :wink:
ABBKlaus
Addict
Addict
Posts: 1143
Joined: Sat Apr 10, 2004 1:20 pm
Location: Germany

Re: Error: "No file selected for PBCompiler"

Post 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
blackborg
User
User
Posts: 38
Joined: Thu Nov 02, 2006 8:20 pm

Re: Error: "No file selected for PBCompiler"

Post by blackborg »

Thanks.. I did both pick current and browse and I still get the message.. is it because it's open in PB?
ABBKlaus
Addict
Addict
Posts: 1143
Joined: Sat Apr 10, 2004 1:20 pm
Location: Germany

Re: Error: "No file selected for PBCompiler"

Post 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
blackborg
User
User
Posts: 38
Joined: Thu Nov 02, 2006 8:20 pm

Re: Error: "No file selected for PBCompiler"

Post by blackborg »

Fixed it.. I need to put the full path and filename. "Use Current" doesn't do this..
Post Reply