Code::Blocks Forums

User forums => Help => Topic started by: eryczzek on December 16, 2014, 08:41:15 pm

Title: CodeBlocks +WxWidgets
Post by: eryczzek on December 16, 2014, 08:41:15 pm
Hello ! i have problem.
I installed codeblocks-13.12mingw-setup.exe from http://www.codeblocks.org/downloads/binaries
Next time I set environment variables (systemo) > path and add "C:\Program Files (x86)\CodeBlocks\MinGW\bin"

I download wxwidgets from www.wxwidgets.org  wxWidgets 3.0.2 (.zip) and unpacked C:\wxWidgets-3.0.2
Next time I ran cmd and i was writing

Code
cd C:\wxWidgets-3.0.2\build\msw

nextime
mingw32-make.exe -f makefile.gcc clean

next time
Code
mingw32-make.exe -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=debug UNICOD
E=0

next time
Code
mingw32-make.exe -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=0
After this, I wanted create new project
(http://forum.4programmers.net/C_i_C++/243444-code_block_+_wxwidgets?mode=download&id=7845)

(http://forum.4programmers.net/C_i_C++/243444-code_block_+_wxwidgets?mode=download&id=7846)

(http://forum.4programmers.net/C_i_C++/243444-code_block_+_wxwidgets?mode=download&id=7847)

(http://forum.4programmers.net/C_i_C++/243444-code_block_+_wxwidgets?mode=download&id=7848)

(http://forum.4programmers.net/C_i_C++/243444-code_block_+_wxwidgets?mode=download&id=7849)

(http://forum.4programmers.net/C_i_C++/243444-code_block_+_wxwidgets?mode=download&id=7850)

(http://forum.4programmers.net/C_i_C++/243444-code_block_+_wxwidgets?mode=download&id=7852)

(http://forum.4programmers.net/C_i_C++/243444-code_block_+_wxwidgets?mode=download&id=7853)

(http://forum.4programmers.net/C_i_C++/243444-code_block_+_wxwidgets?mode=download&id=7857)

(http://forum.4programmers.net/C_i_C++/243444-code_block_+_wxwidgets?mode=download&id=7859)

(http://forum.4programmers.net/C_i_C++/243444-code_block_+_wxwidgets?mode=download&id=7860)


HELP ME PLEASE. WHAT I CAN DO?!
Title: Re: CodeBlocks +WxWidgets
Post by: eryczzek on December 19, 2014, 10:32:51 am
People from other forum help me. I recompiled with UNICODE = 1 and this solve my problem
Title: Re: CodeBlocks +WxWidgets Cant get it to work
Post by: Rune on January 09, 2015, 09:29:10 am
Can't get Wxwidgets to work
It would be nice to just install these programs without having to study endless number of technical details.
Tried to follow the instructions :
http://wiki.codeblocks.org/index.php?title=Global_compiler_variables
The unexperienced user would appreciate knowing where to set the global variable. In the wiki we should have the proase:Global compiler variables in Code::Blocks are …found  under SETTINGS-Global Variables..

same for
http://wiki.codeblocks.org/index.php?title=Compiling_wxWidgets_3.0.0_to_develop_Code%3a%3aBlocks_%28MSW%29#Installing_MinGW

coming to the line: Open the Code::Blocks project (CodeBlocks_wx30.cbp).
The problems start:  Where is this cbp project found  found??
What does the rest mean.

Would it be possible to have a step by step guide for installing on windows. No fuss. No compiling, No long details to read, just to get it working.??

Unfortunately I ran out of time for installing wxwidgets with codeblocks so I gave up.




Title: Re: CodeBlocks +WxWidgets
Post by: oBFusCATed on January 09, 2015, 09:49:51 am
Why do you think you need to open the Codeblocks-wx30.cbp?
Title: Re: CodeBlocks +WxWidgets
Post by: Rune on January 09, 2015, 10:00:48 am
Wiki says: Setting up paths

Before finally compiling Code::Blocks itself, you need to setup the paths:

    Open the Code::Blocks project (CodeBlocks_wx30.cbp).
http://wiki.codeblocks.org/index.php?title=Compiling_wxWidgets_3.0.0_to_develop_Code%3a%3aBlocks_%28MSW%29#Installing_MinGW

And I do not understand Why/How you need to compile codeblocks.

I first tried the installer that gave the same problems as written above with No debug/no Release

As I'm only occasionally programming I would like just to get the IDE working and I do not understand all the technical details about compilers and stuff.
Title: Re: CodeBlocks +WxWidgets
Post by: rocon on January 09, 2015, 11:27:29 am
That's great!
Title: Re: CodeBlocks +WxWidgets
Post by: rocon on January 09, 2015, 12:11:48 pm
C:\CodeBlocks\sdk\wxWidgets-2.8.12\include\wx\chkconf.h|904|error: #error "wxUSE_TAB_DIALOG must be defined."|
How do i do?
Title: Re: CodeBlocks +WxWidgets
Post by: oBFusCATed on January 09, 2015, 08:22:56 pm
http://wiki.codeblocks.org/index.php?title=Compiling_wxWidgets_3.0.0_to_develop_Code%3a%3aBlocks_%28MSW%29#Installing_MinGW

And I do not understand Why/How you need to compile codeblocks.
Sorry but you're following the wrong tutorial.
This tutorial is meant for people which want to improve codeblocks (add features or fix bugs).
This tutorial is not meant for people which want to just use make their own projects using wxWidgets and CodeBlocks!

Please find another tutorial!

@rocon: Inspect the manual of wxWidgets how to compile it with all features. Probably you have to edit your setup.h file and rebuild everything!
Title: Re: CodeBlocks +WxWidgets
Post by: Rune on January 09, 2015, 10:29:25 pm

Sorry but you're following the wrong tutorial.
Thanks, is there a right tutorial  ;-) sort of just getting it to work without fuss?
Title: Re: CodeBlocks +WxWidgets
Post by: stahta01 on January 10, 2015, 02:57:41 am

Sorry but you're following the wrong tutorial.
Thanks, is there a right tutorial  ;-) sort of just getting it to work without fuss?

This used to be the best CB Wiki link; I have not check it out recently.
http://wiki.codeblocks.org/index.php?title=WxWindowsQuickRef (http://wiki.codeblocks.org/index.php?title=WxWindowsQuickRef)

Tim S.
Title: Re: CodeBlocks +WxWidgets
Post by: Rune on January 12, 2015, 10:06:11 am
Thanks Tim, I actually started following that link, however time has run out for me, so I ditched WXwidgets for now due to setup problems.
Conclusion: Newcomers should be prepared for spending hours just to get wxwidgets installed and getting lost in documentation.
Bye for now.