Page 1 of 1

PB 6.20 beta 2 bug on pbcompilerc for lib

Posted: Thu Jan 09, 2025 10:50 pm
by threedslider
I try the examples (from to viewtopic.php?p=631958#p631958) on PB 6.20 beta 2 in command line as :

pbcompilerc Libtest.pb --purelibrary --output test

The output message error is shown here :
PureBasic 6.20 Beta 2 - C Backend (Windows - x64)
Compiling Libtest.pb
Loading external libraries...
Starting compilation...
70 lines processed.
Creating threaded version of the PureLibrary...
Starting compilation...
70 lines processed.
Error: Linker
Error at line 66: Can't create the library file:
I am on windows 11 64 and PB 6.20 beta 2 x64

Re: PB 6.20 beta 2 bug on pbcompilerc for lib

Posted: Fri Jan 10, 2025 9:26 am
by mk-soft
Look for folder authorization.
Where did you install your PB? It is better to create a folder C:\WinAPP and install PB there.
The write permissions to the Programs folder are restricted.

Re: PB 6.20 beta 2 bug on pbcompilerc for lib

Posted: Fri Jan 10, 2025 10:21 am
by threedslider
Ok thanks and it is working now :)

Any in futur there will be to create one as automatic, right ?

Re: PB 6.20 beta 2 bug on pbcompilerc for lib

Posted: Fri Jan 10, 2025 12:04 pm
by mk-soft
I always install Purebasic with the manual path:
- C:\WinAPP\Purebasic-v612x86
- C:\WinAPP\Purebasic-v612x64
- C:\WinAPP\Purebasic-v620x86
- C:\WinAPP\Purebasic-v620x64

But never overinstall. So when reinstalling with the same version, delete the contents of the folder beforehand.