PB 6.20 beta 2 bug on pbcompilerc for lib

All bugs related to new C backend
threedslider
Enthusiast
Enthusiast
Posts: 393
Joined: Sat Feb 12, 2022 7:15 pm

PB 6.20 beta 2 bug on pbcompilerc for lib

Post 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
User avatar
mk-soft
Always Here
Always Here
Posts: 6226
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: PB 6.20 beta 2 bug on pbcompilerc for lib

Post 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.
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
threedslider
Enthusiast
Enthusiast
Posts: 393
Joined: Sat Feb 12, 2022 7:15 pm

Re: PB 6.20 beta 2 bug on pbcompilerc for lib

Post by threedslider »

Ok thanks and it is working now :)

Any in futur there will be to create one as automatic, right ?
User avatar
mk-soft
Always Here
Always Here
Posts: 6226
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: PB 6.20 beta 2 bug on pbcompilerc for lib

Post 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.
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Post Reply