Thank you for your answer.
I will try to follow the instructions of your provided link. But most likely I still won't understand the process, and can repeat same mistakes again. Besides, I am afraid I have already made some "damage" during the setup, that can negatively affect my next attempt.
I didn't make any decision on Compiler. It seems C::B comes with MinGW GCC, so that sounds like a reasonable choice. If there are any big differences or considerations I should take, please don't save words. I have much to learn, and I have just started :)
Can you please point me to location of pre-built wxWidgets ? Is it a shortcut that can save me of the problems I am having with building ?
What procedure do I need to take, if it is different from the one on your link ?
You have high speed internet you can try download a 1 gigabyte file it would take me longer to download the file than to build.
And, you might be wasting time downloading a file you can't use.
Link to the new wxPack site https://github.com/rjpcomputing/wxpack/wiki (https://github.com/rjpcomputing/wxpack/wiki)
Tim S.
You have high speed internet you can try download a 1 gigabyte file it would take me longer to download the file than to build.
And, you might be wasting time downloading a file you can't use.
Link to the new wxPack site https://github.com/rjpcomputing/wxpack/wiki (https://github.com/rjpcomputing/wxpack/wiki)
Tim S.
Is this the one distro that includes the entire library + graphical development tools ? I have been looking for it, but didn't find it ( or didn't know that was it, ).
I can download 1 gigabyte file in a reasonable time. Why is this file 1 GB in size, but the built libraries that you mentioned take 2 GB ?
Reading more about the site; I am guessing you built wxWidgets MinGW64 both 32-bit and 64-bit.
If you decided to download wxPack; I suggest trying TDM version of MinGW64 and see if it works with wxPack before trying the MinGW64 version.
Note: The on-line info is better for 2.8 and CB works better with 2.8 so you might be better off with 2.8.
Right now I am slightly confused ??? I am currently downloading the "wxPack_v3.0.00.03.exe" . What to do after it finishes the download ? Will I need to download something else ?QuoteNote: The on-line info is better for 2.8 and CB works better with 2.8 so you might be better off with 2.8.
Do you have personal experience in developing apps with wxWidgets ? Better on-line info for 2.8 and better CB support are great arguments to use this version. Do you happen to know if there's a big difference between 2.8 and 3.0 ? Surely 3.0 must be better developed version, and some day good on-line doc will appear too, so I don't want to stay too much behind ...
I have installed wxPack 3.0 and also TDM compiler.
Can someone help me with telling how to start using wxWidgets in C::B ? If I try create a wxWidgets project, I have several options to choose, and none of them worked so far. I can choose first -> Preferred GUI builder ( none / wxSmith / wxFormBuilder ) & application type ( Dialog Based / Frame Based ).
If I choose, for example, wxSmith and Dialog based, it asks me for the location of wxWidgets on my computer. In my case, this is : O:\SourceCode\Libraries\wxWidgets3.0 , so that is my entry there. Then it asks for compiler and configuration - I leave it as it is, GNU GCC Compiler with "create debug" and "create release" boxes ticked. Next comes a selection of many options in 2 categories : wxWidgets Library Settings and Miscellaneous Settings - I have no clue what should be the right choices here. And no matter what I choose ( or not choose ) here, after clicking "next" I get the warning message saying :
" A matching Debug configuration cannot be found in the wxWidgets directory you specified. This means that Debug target of your project will not build. Are you sure you want to continue with these settings ? ":
If I leave all the option boxes unchecked, and respond to the warning message with "OK" 2 times, I get to the project window with editor box. A sample GUI window ( Welcome to wxWidgets ) is there, but of course trying to build the project won't work. Log gives 1 error, which is :
||=== Build: Debug in gh (compiler: GNU GCC Compiler) ===|
ld.exe||cannot find -lwxmsw30ud|
||=== Build failed: 1 error(s), 0 warning(s) (0 minute(s), 6 second(s)) ===|
What am I missing ? What are the settings I should be careful about choosing ?
Did you try clicking yes on "Using the wxWidgets release binaries"?
Or if that fails, try checking on "Configure advanced options" and make sure the checkmark is NOT in front of "Use __WXDEBUG__"
wxmsw30u_gcc_cb.dll
wxmsw30u_gl_gcc_cb.dll
If I go to Settings -> Compiler , the selected Compiler there is GNU GCC Compiler , as is the case at configuring the project.
I have downloaded wxPack 3.0, which had an easy setup procedure. And as far as my understanding goes, it installed already built wxW library, so I don't think I came across any Compiler selection in that process, nor was any mentioned.
In my case the DLL are in this folder "C:\wxMSW-3.0\wxWidgets-3.0.0\lib\gcc_dll"
Yours are likely under "lib\gcc_dll" if in another location it might have a issue or it might not.
The DLLs in my folder are: Yours might have a very different name; the name will tell what options are correct.Codewxmsw30u_gcc_cb.dll
wxmsw30u_gl_gcc_cb.dll
Also, look for an "lib\gcc_lib" folder it might work also.
If I go to Settings -> Compiler , the selected Compiler there is GNU GCC Compiler , as is the case at configuring the project.
I have downloaded wxPack 3.0, which had an easy setup procedure. And as far as my understanding goes, it installed already built wxW library, so I don't think I came across any Compiler selection in that process, nor was any mentioned.
------
in "wxWidgets3.0" , I have folders "lib" and "lib64". Each of those contain same 6 folders, named : gcc48_dll, gcc48_lib, vcc100_dll, vcc100_lib, vcc120_dll, vcc120_lib
The 3 folders with endings "_dll" contain dll files, among others
I have 64 bit version of Win. I edited reply on the previous page, before noticing a new one opened in the forum.
http://shrani.si/f/3s/dP/4tJHU5Wh/dll.jpg
local lib = WxPath + _T("/lib/");
if (GetCompilerFactory().CompilerInheritsFrom(Wizard.GetCompilerID(), _T("gcc*")))
{
lib = lib + _T("gcc_");
local lib = WxPath + _T("/lib/");
if (GetCompilerFactory().CompilerInheritsFrom(Wizard.GetCompilerID(), _T("gcc*")))
{
lib = lib + _T("gcc48_");
Where in Wizard do I select this ? It slipped my eyes so far.
32 bit would be better IMO.
You are also going to have to edit the Wizard Script.
Around line 300 is this code.Codelocal lib = WxPath + _T("/lib/");
if (GetCompilerFactory().CompilerInheritsFrom(Wizard.GetCompilerID(), _T("gcc*")))
{
lib = lib + _T("gcc_");
For 32 bit libs will need to be like this.Codelocal lib = WxPath + _T("/lib/");
if (GetCompilerFactory().CompilerInheritsFrom(Wizard.GetCompilerID(), _T("gcc*")))
{
lib = lib + _T("gcc48_");
Tim S.
I don't really know where to edit the script anyway... :-\
And renaming the folder brought about a myriad of errors - "no such file or directory"
How about options at
Settings -> Compiler -> Linker Settings and Search Directories ? I suppose that needs some attention too
Actually... it looks like it works now.
I renamed "gcc48_dll" to just "gcc_dll" in "lib" folder. But I believe I did the same before, and it threw errors.
I guess that solves it, for now. I have an ominous feeling there are more surprises awaiting in the sack. But now I can at least try do something with wx. Thanks a bunch Tim, I appreciate your guidance and patience big time. I hope you have some left, in case something goes bananas and I need more help another time ;D
I did not read all the posts in this thread, but ara you aware, that 3.0 has prebuild binaries for use with TDM gcc 4.7.1 and 4.8.1 on the wxWidgets download page ?
http://sourceforge.net/projects/wxwindows/files/3.0.0/binaries/ (http://sourceforge.net/projects/wxwindows/files/3.0.0/binaries/)