It is currently Wed Jun 19, 2013 3:41 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 15 posts ] 
Author Message
 Post subject: Statick v1.2 Linux windows
PostPosted: Wed Jun 20, 2012 9:24 pm 
Offline
Addict
Addict
User avatar

Joined: Fri Sep 21, 2007 5:52 am
Posts: 2506
Location: New Zealand
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


Last edited by idle on Tue Jul 03, 2012 10:49 pm, edited 5 times in total.

Top
 Profile  
 
 Post subject: Re: Statick v1.0a Linux
PostPosted: Sat Jun 23, 2012 4:18 am 
Offline
Addict
Addict
User avatar

Joined: Fri Sep 21, 2007 5:52 am
Posts: 2506
Location: New Zealand
added x64 version


Top
 Profile  
 
 Post subject: Re: Statick v1.0a Linux windows
PostPosted: Sun Jul 01, 2012 4:37 am 
Offline
Addict
Addict
User avatar

Joined: Fri Sep 21, 2007 5:52 am
Posts: 2506
Location: New Zealand
Added win x86 version


Top
 Profile  
 
 Post subject: Re: Statick v1.0a Linux windows
PostPosted: Sun Jul 01, 2012 12:53 pm 
Offline
User
User

Joined: Fri Aug 14, 2009 2:26 pm
Posts: 58
Location: Afghanistan
thanks idle, very good job, please don't forget win x64 too! :D :D :D


Top
 Profile  
 
 Post subject: Re: Statick v1.0a Linux windows
PostPosted: Sun Jul 01, 2012 2:59 pm 
Offline
Addict
Addict
User avatar

Joined: Thu Jun 24, 2004 2:44 pm
Posts: 4740
Location: Berlin - Germany
Image thx, very useful

_________________
PureBasic 5.11 | Windows 7 SP1 (x64) | Linux Mint 15 (x64) | RealSource

The use of EnableExplicit is free of charge and avoids errors.


Top
 Profile  
 
 Post subject: Re: Statick v1.0a Linux windows
PostPosted: Sun Jul 01, 2012 3:47 pm 
Offline
666
666

Joined: Mon Sep 01, 2003 2:33 pm
Posts: 929
Looks very useful indeed :P Cheers idle :)


Top
 Profile  
 
 Post subject: Re: Statick v1.0a Linux windows
PostPosted: Sun Jul 01, 2012 6:00 pm 
Offline
Addict
Addict
User avatar

Joined: Thu Jun 24, 2004 2:44 pm
Posts: 4740
Location: Berlin - Germany
Can you change the interface to a IDE-TOOL for all OS?
This would it make easier to use.

Greatings - Thomas

_________________
PureBasic 5.11 | Windows 7 SP1 (x64) | Linux Mint 15 (x64) | RealSource

The use of EnableExplicit is free of charge and avoids errors.


Top
 Profile  
 
 Post subject: Re: Statick v1.0a Linux windows
PostPosted: Sun Jul 01, 2012 7:28 pm 
Offline
Addict
Addict
User avatar

Joined: Fri Sep 21, 2007 5:52 am
Posts: 2506
Location: New Zealand
Thanks

A win x64 is on the way.

ts-soft wrote:
Can you change the interface to a IDE-TOOL for all OS?
This would it make easier to use.
Greatings - Thomas


I'll see what I can do, it won't be a problem to do on Windows but I'm not sure about Linux.


Top
 Profile  
 
 Post subject: Re: Statick v1.2 Linux windows
PostPosted: Wed Jul 04, 2012 5:59 am 
Offline
Addict
Addict
User avatar

Joined: Fri Sep 21, 2007 5:52 am
Posts: 2506
Location: New Zealand
With a bit of help from ts-soft, got a windows 64 version.
changed it to a compiler tool


Top
 Profile  
 
 Post subject: Re: Statick v1.2 Linux windows
PostPosted: Sat Jul 07, 2012 3:41 pm 
Offline
User
User

Joined: Fri Aug 14, 2009 2:26 pm
Posts: 58
Location: Afghanistan
thanks again... :D


Top
 Profile  
 
 Post subject: Re: Statick v1.2 Linux windows
PostPosted: Mon Jul 16, 2012 8:23 pm 
Offline
User
User
User avatar

Joined: Wed Aug 06, 2008 8:21 am
Posts: 31
Location: Switzerland
Good work, thanks! :mrgreen:

_________________
AMD64 x4/Intel i5, 4/8 GB RAM, Win7 x86/Win 8 x64, PureBasic 5.11 x86/x64
My selfmade music: Polyfronetic on Looperman


Top
 Profile  
 
 Post subject: Re: Statick v1.2 Linux windows
PostPosted: Sun Aug 05, 2012 2:45 am 
Offline
Enthusiast
Enthusiast

Joined: Mon Dec 24, 2007 4:15 pm
Posts: 139
Location: Iran
Great work thanks, how can import procedures in VS 6 ?
for this code :
Code:
DeclareDLL new_dialog(test.i)

ProcedureCDLL new_dialog(test.i)
  MessageRequester("", Str(i))
EndProcedure


i use this header :
Code:
extern void new_dialog(long);
extern void dialog_Init(void);


whats wrong ?


Top
 Profile  
 
 Post subject: Re: Statick v1.2 Linux windows
PostPosted: Wed Aug 08, 2012 9:22 pm 
Offline
Addict
Addict
User avatar

Joined: Fri Sep 21, 2007 5:52 am
Posts: 2506
Location: New Zealand
I don't know what's wrong. Also I don't know if the libs produced are usable from other languages


Top
 Profile  
 
 Post subject: Re: Statick v1.2 Linux windows
PostPosted: Fri Aug 10, 2012 4:47 pm 
Offline
Enthusiast
Enthusiast

Joined: Thu Apr 14, 2011 2:27 pm
Posts: 107
Thank you for the great work. :wink:
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.


Top
 Profile  
 
 Post subject: Re: Statick v1.2 Linux windows
PostPosted: Sat Aug 11, 2012 12:57 am 
Offline
Addict
Addict
User avatar

Joined: Fri Sep 21, 2007 5:52 am
Posts: 2506
Location: New Zealand
Louise wrote:
Thank you for the great work. :wink:
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.


Did you set your source to be compiled as a shared dll in the compiler options?
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 15 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye