Page 3 of 5

...

Posted: Thu May 20, 2004 9:28 pm
by NoahPhense
Emmm updates... tasty... 8)

- np

Posted: Fri May 21, 2004 12:34 am
by El_Choni
Do I need to have v3.91b installed or should it also work with 3.81?
I've decided to support TailBite only for official PB releases. I think this makes sense. and gives me time to experiment with the new linker, for example.

So, last version of TailBite is for PB 3.90. But may work with 3.81, why not.

Regards,

Posted: Wed Jul 21, 2004 4:56 am
by Effigy
I am having problem Compiling the examples for this lib...

I copied the Resident and the Lib files, but all I get is a window with a big red X icon on it when I compile.

No text error message???

What am I doing worng?

Posted: Wed Jul 21, 2004 12:43 pm
by freedimension
Take a look here: viewtopic.php?t=11749

Sorry, but I still have no clue as to what's going wrong :oops:

Posted: Wed Jul 21, 2004 1:50 pm
by El_Choni
Try inserting the proper !EXTRN inside each procedure. Code outside the procedure is ignored.

Shouldn't have worked before, BTW :mrgreen:

Regards,

Posted: Wed Jul 21, 2004 4:42 pm
by freedimension
But it did, or have I gone stupid right now ;-)

Posted: Wed Jul 21, 2004 5:25 pm
by El_Choni
After watching the source more carefully, I've found out that pbcompiler complains about these variables missing because the 2DDrawing library -which exports these variables- is not used in it, therefore not linked.

If you put a StartDrawing() command in your code -anywhere- and, for example, FontID() -so the Font library is also linked-, your source code is tailbiten correctly. But, of course, this is an ugly patch.

I'm not sure how to workaround this, maybe with a pseudocommand like Include2DDrawing(), IncludeFont(), etc., from a dummy lib that ensures those libs are linked. What do you think?

But, again, it shouldn't have worked before icon_eek.gif

Posted: Wed Jul 21, 2004 5:47 pm
by freedimension
El_Choni wrote:After watching the source more carefully, I've found out that pbcompiler complains about these variables missing because the 2DDrawing library -which exports these variables- is not used in it, therefore not linked.

If you put a StartDrawing() command in your code -anywhere- and, for example, FontID() -so the Font library is also linked-, your source code is tailbited correctly. But, of course, this is an ugly patch.

I'm not sure how to workaround this, maybe with a pseudocommand like Include2DDrawing(), IncludeFont(), etc., from a dummy lib that ensures those libs are linked. What do you think?

But, again, it shouldn't have worked before icon_eek.gif
@all: fyi, I talked with El_Choni about this and he thinks he will have a new version of TailBite pretty soon, including this new command. I hope that the new compilation will be successful after this *crossingfingers*

Posted: Wed Jul 28, 2004 3:37 pm
by El_Choni
Looks like it's done, update. At the beginning of your X2D source -outside the procedures-, you must include the following functions:

Code: Select all

TB_Include2DDrawing()
TB_IncludeFont()
Should solve the problem (you must include the !EXTRN anyway!)

At this moment only those two purelibs can be included. As soon as you confirm it works, i'll make all the purelibs 'includable' this way.

Regards,

Posted: Wed Jul 28, 2004 3:48 pm
by freedimension
cool, thank you very much.

looks like i will toy with that on the weekend. Can you wait for that long?

Posted: Wed Jul 28, 2004 4:25 pm
by El_Choni
Of course, but I'll be away then (two thousand Km away, to be precise). Can you wait til September? :D

Posted: Wed Jul 28, 2004 4:40 pm
by freedimension
El_Choni wrote:Of course, but I'll be away then (two thousand Km away, to be precise)
hmm, argentina, bolivia?
Can you wait til September? :D
I can, I will and I have to. Don't know what's about all the other people waiting for a good update of the lib *g*. I'm still running the old PB version for that.

Posted: Thu Jul 29, 2004 1:48 am
by El_Choni
No, not Bolivia nor Argentina. That would be ten thousand Km or more. I'll travel to (just can't help telling everyone else ;) Bretagne, Paris, Berlin, Prague, Viena, Budapest, Ljubiana, Zagreb, Zadar, Dubrovnik, Venezia and Spain again. We only have one month to do this, but I can assure you we'll take the most out of it :D Man, I'm so willing to do this trip!!! :P :D 8)

Regards,

Posted: Thu Jul 29, 2004 1:52 am
by El_Choni
Oh, and, BTW...

Posted: Thu Jul 29, 2004 1:52 am
by Dare2
El_Choni wrote:No, not Bolivia nor Argentina. That would be ten thousand Km or more. I'll travel to (just can't help telling everyone else ;) Bretagne, Paris, Berlin, Prague, Viena, Budapest, Ljubiana, Zagreb, Zadar, Dubrovnik, Venezia and Spain again. We only have one month to do this, but I can assure you we'll take the most out of it :D Man, I'm so willing to do this trip!!! :P :D 8)

Regards,
That sounds really cool. :D Enjoy. :lol: Then get here and bite tail!