TailBite for Linux (0.7.1a)

TailBite specific forum

Moderators: gnozal, ABBKlaus, lexvictory

walker
Enthusiast
Enthusiast
Posts: 634
Joined: Wed May 05, 2004 4:04 pm
Location: Germany

Post by walker »

took longer than expected... :roll:

But now there is a new version out... should work without preferences (means even the library problem should be solved) and works from the IDE now

All enhancements and download link see first post

have fun :)
User avatar
Hroudtwolf
Addict
Addict
Posts: 803
Joined: Sat Feb 12, 2005 3:35 am
Location: Germany(Hessen)
Contact:

Post by Hroudtwolf »

Hi,

I've downloaded the latest version von tailbite4linux.
But there isn't any effect if I try to compile an userlibrary.
No file will be created and the process of tailbite is freezing.

I use Ubuntu 7.10 and PureBasic 4.10.

Best regards

Wolf
walker
Enthusiast
Enthusiast
Posts: 634
Joined: Wed May 05, 2004 4:04 pm
Location: Germany

Post by walker »

...that's the same environment I use...

where did you copy the tailbite_linux executable?
did you change the file permissions and make it executable?

please place it into the purebasic folder if not alredy done
could you please then start the prog from a console (prior changing to your purebasic directory) and tell me which output do you get?

start it like

Code: Select all

./tailbite_linux /path/to/your/source.pb
thanks in advance

[EDIT] found a silly bug in one of my path variables...
.... updated the executable so please download it again

changes in this version (0.7.1):
- the executable now can be placed anywhere (not necessary to place it in the purebasic folder)
- added a new option: compile all (4) libs
the threadsafe / unicode or mixed were placed in the Subsystem folder (subsystems/UserLibxxxxx/PureLibrary)
so if you use one of this options you have to specify the Subsystem UserLibThreadSafe, UserLibUnicode or UserLibUnicadeThreadSafe
- removed the option to process a whole directory
User avatar
Hroudtwolf
Addict
Addict
Posts: 803
Joined: Sat Feb 12, 2005 3:35 am
Location: Germany(Hessen)
Contact:

Post by Hroudtwolf »

Hi,

The problem isn't fixed here.
I looked into the tailbite binary with my hexeditor and found a mysterious path-name "/home/ulf/purebasic/purelibraries".
Maybe thats the source of my problems ?!

Thanks for your work and best regards.

Wolf
walker
Enthusiast
Enthusiast
Posts: 634
Joined: Wed May 05, 2004 4:04 pm
Location: Germany

Post by walker »

ha... found it (thank you for pointing me in the right direction)

I didn't used any fixed path... but the constant #PB_Compiler_Home .... and this is no good Idea if you distribute a binary file ... :oops:

I guess the path problem now is solved... please download again

The download is now version 0.7.1a
(added some tooltips for the checkboxes)
User avatar
Hroudtwolf
Addict
Addict
Posts: 803
Joined: Sat Feb 12, 2005 3:35 am
Location: Germany(Hessen)
Contact:

Post by Hroudtwolf »

Hi,

Ok... I see the light, but.... ^^

Currently, I get the error-message "Can't find main .o:/home/hroudtwolf/purebasic........"

Best regards

Wolf
walker
Enthusiast
Enthusiast
Posts: 634
Joined: Wed May 05, 2004 4:04 pm
Location: Germany

Post by walker »

:D
... error handling is one of the things missing at present.. :roll:

try to start tailbite from a console and see it's output (i guess it's pbcompiler) ... this will give you a hint of what is wrong (or maybe not implemented yet)

If you don't mind.. tell me what it was ...
User avatar
Hroudtwolf
Addict
Addict
Posts: 803
Joined: Sat Feb 12, 2005 3:35 am
Location: Germany(Hessen)
Contact:

Post by Hroudtwolf »

Hi,

To start it from console was a good tipp.
I got this message....
/home/purebasic/purebasic/Library_Source/edml_lib/purebasic_tb.asm [216]:
sPath = Left (sPath, Len (sPath) - (Len(StringField (sPath , CountString (sPath , "/") + 1, "/")) + 1))
error: invalid expression.
But there isn't an syntactic error.

Best regards.

Wolf
walker
Enthusiast
Enthusiast
Posts: 634
Joined: Wed May 05, 2004 4:04 pm
Location: Germany

Post by walker »

...this is a fasm error message..... i guess
It seems, that the pbcompiler doesn't generate the asm file..... so what's the output of the the pbcopiler?
User avatar
Andre
PureBasic Team
PureBasic Team
Posts: 2057
Joined: Fri Apr 25, 2003 6:14 pm
Location: Germany (Saxony, Deutscheinsiedel)
Contact:

Post by Andre »

Now added to the DeveloperTools section on www.PureArea.net too! :D
Bye,
...André
(PureBasicTeam::Docs & Support - PureArea.net | Order:: PureBasic | PureVisionXP)
walker
Enthusiast
Enthusiast
Posts: 634
Joined: Wed May 05, 2004 4:04 pm
Location: Germany

Post by walker »

:D :D :D
xperience2003
Enthusiast
Enthusiast
Posts: 111
Joined: Tue Oct 05, 2004 9:05 pm
Location: germany
Contact:

Post by xperience2003 »

hi

i have a problem by using own libs

example

Code: Select all

ProcedureDll.f XSin(winkel.f)
  preturn.f=Sin(winkel*(2*3.14159265/360))
  ProcedureReturn preturn.f
EndProcedure
tailbite works, library created
after pb/compiler restart i see the XSin() - command in the editorbar
but if i use the command pb is crashing/closing without an errormessage

whats wrong?

edit:
i use suse linux 10.1
walker
Enthusiast
Enthusiast
Posts: 634
Joined: Wed May 05, 2004 4:04 pm
Location: Germany

Post by walker »

try ProcedureCDLL instead of ProcedureDLL... that should make it work
Post Reply