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

Everything else that doesn't fall into one of the other PB categories.
User avatar
Guimauve
Enthusiast
Enthusiast
Posts: 742
Joined: Wed Oct 22, 2003 2:51 am
Location: Canada

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

Post 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
User avatar
netmaestro
PureBasic Bullfrog
PureBasic Bullfrog
Posts: 8452
Joined: Wed Jul 06, 2005 5:42 am
Location: Fort Nelson, BC, Canada

Post 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.
BERESHEIT
El_Choni
TailBite Expert
TailBite Expert
Posts: 1007
Joined: Fri Apr 25, 2003 6:09 pm
Location: Spain

Post 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.
El_Choni
User avatar
IceSoft
Addict
Addict
Posts: 1698
Joined: Thu Jun 24, 2004 8:51 am
Location: Germany

Post by IceSoft »

@El_Choni,

Any news about the 'new' Tailbite version?
Belive! C++ version of Puzzle of Mystralia
Bug Planet
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
DarkDragon
Addict
Addict
Posts: 2347
Joined: Mon Jun 02, 2003 9:16 am
Location: Germany
Contact:

Post by DarkDragon »

He told me in the week after Easter that maybe it would be ready in the same week.
bye,
Daniel
User avatar
IceSoft
Addict
Addict
Posts: 1698
Joined: Thu Jun 24, 2004 8:51 am
Location: Germany

Post 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.
Belive! C++ version of Puzzle of Mystralia
Bug Planet
<Wrapper>4PB, PB<game>, =QONK=, PetriDish, Movie2Image, PictureManager,...
DarkDragon
Addict
Addict
Posts: 2347
Joined: Mon Jun 02, 2003 9:16 am
Location: Germany
Contact:

Post 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.
bye,
Daniel
User avatar
netmaestro
PureBasic Bullfrog
PureBasic Bullfrog
Posts: 8452
Joined: Wed Jul 06, 2005 5:42 am
Location: Fort Nelson, BC, Canada

Post by netmaestro »

Bin ich im falschen Platz? Ich dachte, daß dieses das englische Forum... war :twisted:
BERESHEIT
Post Reply