wx-c-0-9-0-2 (static and dynamic windows)
-
- Posts: 8586
- Joined: May 28, 2005 3:28
- Contact:
wx-c-0-9-0-2 (static and dynamic windows)
download: fbWX-C.zip
Last edited by D.J.Peters on Oct 12, 2022 18:31, edited 3 times in total.
Re: wx-c (static windows)
Thank you for these static libraries. I tested the compilation of examples. exe file size is about 2.5 mo and can be decreased to about 650 kb with upx ... it reminds me UBX... this is remarkable. ideal for distributing programs without associated dlls. if it is really compatible with wx-c. it would be more
interesting. someone tried to compile wxFBE!. here:
Merci pour ces librairies statiques. j'ai testé la compilation des exemples. la taille des fichiers exe est d'environ 2.5 mo et peut etre diminué a environ 650 ko avec upx... c'est remarquable. ideal pour distribuer des programmes sans dlls associées. si c'est vraiment compatible avec wx-c. ce serait encore plus interessant. quelqu'un a essayé de compiler wxFBE !. ici :
http://www.freebasic.net/forum/viewtopi ... =8&t=20284
pleasant surprise, the examples run under window 2000 pro. I just tested ...
bonne surprise, les exemples fonctionnent sous window 2000 pro. je viens de tester...
interesting. someone tried to compile wxFBE!. here:
Merci pour ces librairies statiques. j'ai testé la compilation des exemples. la taille des fichiers exe est d'environ 2.5 mo et peut etre diminué a environ 650 ko avec upx... c'est remarquable. ideal pour distribuer des programmes sans dlls associées. si c'est vraiment compatible avec wx-c. ce serait encore plus interessant. quelqu'un a essayé de compiler wxFBE !. ici :
http://www.freebasic.net/forum/viewtopi ... =8&t=20284
pleasant surprise, the examples run under window 2000 pro. I just tested ...
bonne surprise, les exemples fonctionnent sous window 2000 pro. je viens de tester...
Re: wx-c (static windows)
Looks good. On long term I want to fork wx.NETs wx-c and make some kind of wx.FB for Windows and Linux. Are you interested in such a project D.J.Peters?
-
- Posts: 8586
- Joined: May 28, 2005 3:28
- Contact:
Re: wx-c (static windows)
It was for a commercial mini project of me (with OpenGL).
I tested my private build with wxFBE, wx visual designer and some "old" simple tests successfully.
I's the original source code of the wx-c-0-9-0-2.dll plus wxTimer, wxSound, wxGLCanvas and wxEventhandler.
Normaly you can use the "normal" wx FB include files
but the original common.bi points to the dynamic version.
(this is why made a copy of all include files)
It makes no sence for a linux static version
(the GTK+ wx runtime are to big)
The stable version of wxWidgets 2.9.4 is out and far away from compatible
with the wxNet wrapper (and it's wx-c-0-9-0-2.dll C wrapper)
Does anyone found the wx-c-0-9-0-3 source code ?
Joshy
I tested my private build with wxFBE, wx visual designer and some "old" simple tests successfully.
I's the original source code of the wx-c-0-9-0-2.dll plus wxTimer, wxSound, wxGLCanvas and wxEventhandler.
Normaly you can use the "normal" wx FB include files
but the original common.bi points to the dynamic version.
(this is why made a copy of all include files)
It makes no sence for a linux static version
(the GTK+ wx runtime are to big)
The stable version of wxWidgets 2.9.4 is out and far away from compatible
with the wxNet wrapper (and it's wx-c-0-9-0-2.dll C wrapper)
Does anyone found the wx-c-0-9-0-3 source code ?
Joshy
-
- Posts: 8586
- Joined: May 28, 2005 3:28
- Contact:
Re: wx-c (static windows)
deleted all *.exe from zip file
added upx and a simple build file
added upx and a simple build file
Code: Select all
FOR %%f IN (*.exe) DO (if exist %%f del %%f)
FOR %%f IN (*.bas) DO (fbc -w all -s gui %%f wx-c.rc)
FOR %%f IN (*.exe) DO (upx.exe --best %%f)
-
- Posts: 8586
- Joined: May 28, 2005 3:28
- Contact:
Re: wx-c-0-9-0-2 (static and dynamic windows)
FreeBASIC can handle wstrings also.
added:
FB
C++
static and dynamic version are included now:
wx-c-0-9-0-2.dll (upx = 1,87 MB)
lib/win32/libwx-c-0-9-0-2-static.a
lib/win32/libwx-c-0-9-0-2.dll.a
use
#include "wxdynamic.bi"
or
#include "wxstatic.bi"
Joshy
added:
FB
Code: Select all
declare function wxString_ctor WXCALL alias "wxString_ctor" (buf As wstring ptr) As wxString ptr
Code: Select all
WXNET_EXPORT(wxString*) wxString_ctor(const wchar_t* str){
return WXNET_NEW( wxString, (str));
}
wx-c-0-9-0-2.dll (upx = 1,87 MB)
lib/win32/libwx-c-0-9-0-2-static.a
lib/win32/libwx-c-0-9-0-2.dll.a
use
#include "wxdynamic.bi"
or
#include "wxstatic.bi"
Joshy
Re: wx-c-0-9-0-2 (static and dynamic windows)
so where can we download the static lib and bi now?
Thanks
btw, although the wx-c examples in fbc 1.05 can be compiled and run with wx-c-0-9-0-2.dll, there is a error messagebox
Thanks
btw, although the wx-c examples in fbc 1.05 can be compiled and run with wx-c-0-9-0-2.dll, there is a error messagebox
p.s. why there is no up-to-date wx-c, I have googled but found nothingFailed to load shared library 'comctl32.dll' (error 126: can't find the module.)
Re: wx-c-0-9-0-2 (static and dynamic windows)
I compiled wx-c and its backend wxWidgets-2.8.12 into 64bit version, and tested on mint 21.3 Virginia ok. VisualWX-C-Designer-0.5b can still be used with Wine support for not adding many old .so to the system, and the generated code can be pasted to any freebasic IDE for fbc compile and run.
The 64bit package is placed at https://download.csdn.net/download/weix ... 1/89095738
The 64bit package is placed at https://download.csdn.net/download/weix ... 1/89095738
Re: wx-c-0-9-0-2 (static and dynamic windows)
closed
Last edited by PeterHu on Apr 08, 2024 12:10, edited 1 time in total.
Re: wx-c-0-9-0-2 (static and dynamic windows)
Finally, the x86_64bit wx-c-0-9-0-2.so and its backend wxGTK-2.8.12 is put under
https://sourceforge.net/projects/wx-c-so-recompile/
Using Visual_WX-C_Designer-05b generated code and freeBasic originaly packed wx-c.bi, the new compiled wx-c lib and wxGTK backend test ok.
https://sourceforge.net/projects/wx-c-so-recompile/
Using Visual_WX-C_Designer-05b generated code and freeBasic originaly packed wx-c.bi, the new compiled wx-c lib and wxGTK backend test ok.