pbcompiler enhancement - Lib version check

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by pbdep.


Hello PB Team,

Is it posisble to extent the pbcompiler with a command like"
pbcompiler -x ./PureLibrary/

This will eventualy check the version of the Library's from PB
angainst the corrent PBcompiler version. This meens that you can
check wheater or not your using the right library's included in PB,
or olders version..

This meens that the LIBS need a version number as wel..

Regards,
Norman.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by PB.

Every new PureBasic release will overwrite existing libraries with the
latest versions, so you can rest assured that you're compiling with
the correct libraries for any given PureBasic update.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by theogott.

I have just posted a Bug report under "Bug reports".
I doubt that works properly.
Also I think that after some time, there is a lot of unwanted stuff in the PB-Dir, from old version.

I'd suggest to have a separate Folder (I have it even on another HD for other Languages) for the Programm Files. And one Folder with ONLY the current, actual, 100% clean instalation (ok with the Plugin's folder). The keyfile should be elsewhere maybe in system32.

However since Version 2.5 I always try to update my PB and it still
never worked 100% (see bug-report).

So I am not shure why, but I think that update-system should be reworked (maybe use its own builtin MD5-mechanism to verify later that each necessary file IS from 3.50 ?) in some way that it will work reliable.

And it is NOT. Or the attached Demo files are buggy.
Originally posted by PB

Every new PureBasic release will overwrite existing libraries with the
latest versions, so you can rest assured that you're compiling with
the correct libraries for any given PureBasic update.
*************************
The best time to do things is now !
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by fred.

Strange I've tested it with a 2.50 version and the update goes well. It's only file replacement, nothing fancy in it. Sure, the .pb files have changed during version and you should have alwyas the new one. Or you got all your files in 'readonly' ? If you can do an update and send me back your directory (rar'ed) I could may be find what's wrong.

Fred - AlphaSND
Post Reply