Statick v1.2 Linux windows
Statick v1.2 Linux windows
Statick is a utility to create static libraries from PB shared library sources, to facilitate the development of User Libraries, standard archives or wrappers to c libs.
See the ReadMe in the platforms subfolder for setup and use.
Notes:
The libraries produced may only be compatible with PB, so if you want to use it from a foreign language
and it doesn't work..., it's only intended to aid PB development.
Also please respect the intent of your PB user licence and don't create simple wrappers to PB libs!
Combined Download for Linux, Windows with support for x86 and x64
http://www.idlearts.com/Statick_v1_2.zip
See the ReadMe in the platforms subfolder for setup and use.
Notes:
The libraries produced may only be compatible with PB, so if you want to use it from a foreign language
and it doesn't work..., it's only intended to aid PB development.
Also please respect the intent of your PB user licence and don't create simple wrappers to PB libs!
Combined Download for Linux, Windows with support for x86 and x64
http://www.idlearts.com/Statick_v1_2.zip
Last edited by idle on Tue Jul 03, 2012 10:49 pm, edited 5 times in total.
Windows 11, Manjaro, Raspberry Pi OS


Re: Statick v1.0a Linux windows
thanks idle, very good job, please don't forget win x64 too!




Re: Statick v1.0a Linux windows

PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

-
- 666
- Posts: 1033
- Joined: Mon Sep 01, 2003 2:33 pm
Re: Statick v1.0a Linux windows
Looks very useful indeed
Cheers idle 


Re: Statick v1.0a Linux windows
Can you change the interface to a IDE-TOOL for all OS?
This would it make easier to use.
Greatings - Thomas
This would it make easier to use.
Greatings - Thomas
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.

Re: Statick v1.0a Linux windows
Thanks
A win x64 is on the way.
A win x64 is on the way.
I'll see what I can do, it won't be a problem to do on Windows but I'm not sure about Linux.ts-soft wrote:Can you change the interface to a IDE-TOOL for all OS?
This would it make easier to use.
Greatings - Thomas
Windows 11, Manjaro, Raspberry Pi OS


Re: Statick v1.2 Linux windows
With a bit of help from ts-soft, got a windows 64 version.
changed it to a compiler tool
changed it to a compiler tool
Windows 11, Manjaro, Raspberry Pi OS


Re: Statick v1.2 Linux windows
thanks again... 

Re: Statick v1.2 Linux windows
Good work, thanks! 

PureBASIC v5.41 LTS , Windows v8.1 x64
Forget UNICODE - Keep it BASIC !
Forget UNICODE - Keep it BASIC !
Re: Statick v1.2 Linux windows
Great work thanks, how can import procedures in VS 6 ?
for this code :
i use this header :
whats wrong ?
for this code :
Code: Select all
DeclareDLL new_dialog(test.i)
ProcedureCDLL new_dialog(test.i)
MessageRequester("", Str(i))
EndProcedure
Code: Select all
extern void new_dialog(long);
extern void dialog_Init(void);
Sorry for my bad english.
Re: Statick v1.2 Linux windows
I don't know what's wrong. Also I don't know if the libs produced are usable from other languages
Windows 11, Manjaro, Raspberry Pi OS


Re: Statick v1.2 Linux windows
Did you set your source to be compiled as a shared dll in the compiler options?Louise wrote:Thank you for the great work.![]()
But I can not do with this tool to create a static library.
I get this error when building the library.
Title : Statick Error
Message : PureBasic.def not found.
When PB compiles to a dll it will produce purebasic.def which has the names of the exported procedures.
Statick needs to read it, so it can add aliases to the exports in the asm before recompiling it.
So either you haven't specified that your source is a DLL or it's something else?
Statick has only been tested for PB 4.61
Windows 11, Manjaro, Raspberry Pi OS

