Page 1 of 1

Tailbite with PB V4 Beta 10-11 - POLINK : error

Posted: Wed Apr 19, 2006 5:36 am
by Guimauve
I have built some small lib and the code work fine with PB V4.00 Beta 8 - 9 but not with Beta 10 - 11

The compiler report no error when I built the lib but when I try to Call a procedure from the lib I get this message :
POLINK : error : Unresolved external symbol '_SYS_CopyString8'.
POLINK : fatal error : 1 Unresolved external(s).
A code exemple :

Code: Select all

ProcedureDLL.s CheckFileExtension(FileName.s, Extension.s)
   
   ; On considère que le chemin initiale est bon
   GoodPath.s = FileName
   
   ; on découpe l'info du nom de fichier
   Path.s = GetPathPart(FileName)
   Name.s = GetFilePart(FileName)
   Ext.s = GetExtensionPart(FileName)
   
   ; S'il y a des problèmes on reconstruit le chemin
   If Ext = ""
      GoodPath = Path + Name + "." + Extension
   EndIf 
   
   If Ext <> Extension
      GoodPath = Path + StringField(Name,1,".") + "." + Extension
   EndIf 
   
   ProcedureReturn GoodPath
EndProcedure
Regards
Guimauve

Posted: Wed Apr 19, 2006 6:16 am
by netmaestro
The current version of Tailbite available for PB v4 is a very early beta from feb 9. I'm not sure El_Choni plans to do heavy development on it right now while PureBasic is "in flux" with changes being made regularly that could well break work that he did just a day or two earlier. For example, the string problem you report was not present in the earliest betas, I think up to 8 or so and now the string lib isn't compatible. Bottom line is I'm pretty sure no more releases are planned for Tailbite until PB v4 is in release. But it's pretty close now!

(just my opinion fwiw, I don't really know anything)

btw, if you're handy you could generate the lib keeping all source files and generate the batch file, go through them to see if you can spot the problem. The .desc file would be a good place to start, or maybe something needs linked in that isn't getting included.

Posted: Wed Apr 19, 2006 8:14 am
by El_Choni
TailBite is handling strings incorrectly for the moment (PB 4 has changed string handling for PB lib functions). It's the main problem I'm dealing with, and I'll release a new beta as soon as this is fixed, and then focus on the rest of the bugs.

Posted: Mon May 01, 2006 7:25 am
by IceSoft
@El_Choni,

Any news about the 'new' Tailbite version?

Posted: Mon May 01, 2006 7:38 am
by DarkDragon
He told me in the week after Easter that maybe it would be ready in the same week.

Posted: Mon May 01, 2006 10:36 am
by IceSoft
DarkDragon wrote:He told me in the week after Easter that maybe it would be ready in the same week.
That's great info.

I am working on a nice lib.
And I would share it.
But Tailbite have to handle PB4.0 strings for that ;-)

Name of the lib:
'SpriteFont'

More when it can be build.

Posted: Mon May 01, 2006 10:47 am
by DarkDragon
IceSoft wrote:
DarkDragon wrote:He told me in the week after Easter that maybe it would be ready in the same week.
That's great info.
No, it's not, lies es nochmal: In der Woche nach Ostern hab ich El_Choni gefragt und er hat gesagt, dass es in der selben Woche eventuell noch rauskommt. Wurde aber nichts draus wie du siehst.

Now he's working too much for food.

Posted: Mon May 01, 2006 11:10 am
by netmaestro
Bin ich im falschen Platz? Ich dachte, daß dieses das englische Forum... war :twisted: