Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Modified & Improved wxWidgets Project Wizard
titan7:
This is facinating reading to me as I am trying to convert myself from BCB6 to Mingw/CB
I am struggling along trying to get wx280 to work
I could not get my wx UNICODE=0 build apps to work
But finally USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=1
worked.
Wizards that work will help this IDE, keep up the good work.
Biplab:
Thanks for your comments. :)
By the way can you be more specific on the problems you've faced?
Biplab:
Here comes the Revision 5 of the modified wizard. Only one new feature has been added.
Changes:
* Supports Microsoft Visual C++ 7.1 Compiler.
* PCH support is activated for MSVC 7.1 compiler.
Few Important Notes:
* Wizard assumes that Multi-threaded Dynamic C and C++ Runtimes are being used. If you are using wx lib statically linked with C Runtime Library (CRT) you should make couple of changes in the libraries added. I'll discuss it later in this post.
* If your installation does not comes with msvcprt[d].lib (Most probably it won't), please visit the following website on how to do that. Wizard generated projects will fail during linking if it doesn't find msvcprt[d].lib
Please visit any one of the links to learn more on msvcprt[d].lib creation.
--- Code: ---http://www.delta3d.org/article.php?story=20050721180227305&mod
http://root.cern.ch/root/Procedure/Procedure%20to%20install%20the%20free%20Microsoft%20Visual%20C.htm
--- End code ---
I've tested the wizard for MSVC 7.1 with wxPack. I've found that Non-Monolithic libraries are statically linked. That may generate the following error if you are using this wizard with wxPack's Non-Monolithic libs.
--- Quote ---wxbase28d.lib(baselib_datetime.obj) : error LNK2001: unresolved external symbol _timezone
OLDNAMES.lib(timezone.obj) : error LNK2001: unresolved external symbol _timezone
OLDNAMES.lib(timezone.obj) : error LNK2001: unresolved external symbol __timezone
--- End quote ---
To solve this, do the following; Go to Project > Build Options menu, then go to Linker tab. Remove msvcrt[d].lib from Linker Libraries section and add libcmt[d].lib. Also remove /NODEFAULTLIB:libcmt[d].lib from Linker Options section.
I've informed Ryan, who is the creator of wxPack, over this issue.
Please download the files from the following link (I can't attach, system says Upload folder full :( )
http://biplab.quotaless.com/wxwidgets_wizard_Rev5.zip
Enjoy Coding!
One Request to wx Gurus. If anyone has info regarding correct wx lib order and how to find them out (from .lib files, if possible) please post it here. I've found the build order from wx dlls using Dependency Walker. But I would like to know how you devs solve the problem. :D
Pecan:
--- Quote from: Biplab on January 16, 2007, 04:06:51 pm ---One Request to wx Gurus. If anyone has info regarding correct wx lib order and how to find them out (from .lib files, if possible) please post it here. I've found the build order from wx dlls using Dependency Walker. But I would like to know how you devs solve the problem. :D
--- End quote ---
I simply used the order provided by the wx samples.
They always worked fine.
Biplab:
Revision 6 of wxWidgets Project wizard is now available. This revision comes with several new features.
Changes:
* Added support (partial) for Linux and Mac (Untested). It's now possible to select different wxWidgets version present in Linux system.
* Added option to select Static/Dynamic, ANSI/Unicode build of wxWidgets in Linux.
* Added option to select Application Target Type in Windows (For Advanced users only)
* Wizard now checks the presence of wx configuration, selected for project, precisely in Windows. Expect almost No false warning.
* Couple of minor fixes and code clean-up.
New options available in Linux
Check the Highlighted option to change target type
Change Target Type here, but be cautious.
Tested in:
* OpenSUSE 10.2 with GCC 4.1.2, wxGTK-2.6.3 & 2.8.0 Dynamic-(Debug/Release)-Unicode-Monolithic build of lib.
Known Issues:
* Does not check the presence of wxWidgets lib in Linux system. So be careful to select correct lib configuration otherwise the generated project will fail to compile.
* Checked with Monolithic builds in Linux; it may give you trouble if you are using non-monolithic builds in Linux.
Important Note:
Please be careful while changing Target Type. For GCC there shouldn't be any problem. But with BCC you'll have to manually change some compiler settings otherwise it won't link.
The new features may come with Gift of Hidden Bugs. Please share that gift once you get that. :wink: Download the latest release from the following link.
http://biplab.quotaless.com/wxwidgets_wizard_Rev6.zip
Also please post your comments, feedbacks.
Hope you'd enjoy this new release. :D
[attachment deleted by admin]
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version