Author Topic: wxWidgets installation problems  (Read 3958 times)

tim

  • Guest
wxWidgets installation problems
« on: July 16, 2014, 02:27:21 pm »
Hi all,
there are installation problems:
PS: I've attached a pdf file with Screenshots

I want to use wxwidgets with C::B on windows to develop. Because i am a newbie with C::B i want to use the binary download. So i downloaded the suggested files from:

http://sourceforge.net/projects/wxwindows/files/3.0.1/binaries/

The information from wxwindows are:
For Developers
For developing applications with wxWidgets you need to download the compiler-independent wxWidgets-3.0.1_Headers.7z file (found in the parent directory) and one of wxMSW-3.0.1-vcXXX_Dev.7z or wxMSW-3.0.1_gccXXX_Dev.7z files depending on your compiler, its version and the target architecture (x86 if not specified or x64).
Unpack both files into the same directory so that "include" and "lib" directories are at the same level after unpacking. You should be able to compile and link applications using wxWidgets in both debug and release modes but the debug symbols are provided only for debug libraries in this archive, see below for the release build debug symbols.
For Debugging
•   MinGW-TDM users: Currently the debug symbols are not available for the release build of the DLLs (only the debug versions of the DLLs contains the debug symbols).

I want to develop AND debug my own applications.
I installed codeblocks-13.12mingw-setup and extracted the archives
-wxWidgets-3.0.1_headers.7z
-wxMSW-3.0.1_gcc471TDM_Dev.7z
to C:\wxWidgets-3.0.1

The README-gcc-tdm.txt from my C::B Installation lists:
=== TDM-GCC Compiler Suite for Windows ===
---        GCC 4.6 & 4.7 Series        ---
***   Standard MinGW 32-bit Edition    ***

There are the two subdirectories mswu and mswud under C:\wxWidgets-3.0.1\lib with the file named build.cfg and the following contens with the difference of "BUILD=debug"
WXVER_MAJOR=3
WXVER_MINOR=0
WXVER_RELEASE=1
BUILD=release
MONOLITHIC=0
SHARED=1
UNICODE=1
TOOLKIT=MSW
TOOLKIT_VERSION=
WXUNIV=0
CFG=
VENDOR=custom
OFFICIAL_BUILD=1
DEBUG_FLAG=1
DEBUG_INFO=default
RUNTIME_LIBS=dynamic
MSLU=0
USE_EXCEPTIONS=1
USE_RTTI=1
USE_THREADS=1
USE_AUI=1
USE_GUI=1
USE_HTML=1
USE_MEDIA=1
USE_OPENGL=1
USE_QA=0
USE_PROPGRID=1
USE_RIBBON=1
USE_RICHTEXT=1
USE_STC=1
USE_WEBVIEW=1
USE_XRC=1
COMPILER=gcc
COMPILER_VERSION=471TDM
CC=gcc
CXX=g++
CFLAGS=
CPPFLAGS=
CXXFLAGS=-fno-keep-inline-dllexport
LDFLAGS=


[attachment deleted by admin]

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7582
    • My Best Post
Re: wxWidgets installation problems
« Reply #1 on: July 16, 2014, 03:27:57 pm »
Do you understand the patch format enough to hand edit a text file?

Do you know how to apply a patch to CB source code?

Edit: I am working on a patch to these two file "wxwidgets/wizard.script" and "wxwidgets/wizard.xrc"
But, I am patching the CB SVN trunk; not sure how different the 13.12 release was.

Edit2: Link to the location I have saved my patch https://github.com/stahta01/cb_misc/blob/master/Patches/svn/CB_wizard_wx_CompilerVersion.patch

NOTE:
Needs tested on Linux before I can say patch is safe (I think the changes do NOT affect Linux part of wizard).
Needs tested on Windows using a MSVC binary from wxWidgets.
I would like the display formatting fixed; but, I do NOT know enough wxWidgets/wxSmith to fix it.
I will try using wxSmith and see if that helps in the future, too tired today.

Tim S.
« Last Edit: July 16, 2014, 03:46:40 pm by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline goranj

  • Single posting newcomer
  • *
  • Posts: 3
Re: wxWidgets installation problems
« Reply #2 on: July 30, 2014, 09:20:55 am »
Hi,
similar problem as above, I installed CB 13.12 with mingw32 and wxwidgets 3.0.1 (binary install for windows 32 bit).
I cannot see WxWigets icon in:  new-> project.

PC: Vista Business, 32 bit

Thanks for your help.
Regards