Author Topic: CodeBlocks +WxWidgets  (Read 5420 times)

Offline eryczzek

  • Single posting newcomer
  • *
  • Posts: 4
CodeBlocks +WxWidgets
« 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























HELP ME PLEASE. WHAT I CAN DO?!

Offline eryczzek

  • Single posting newcomer
  • *
  • Posts: 4
Re: CodeBlocks +WxWidgets
« Reply #1 on: December 19, 2014, 10:32:51 am »
People from other forum help me. I recompiled with UNICODE = 1 and this solve my problem

Offline Rune

  • Single posting newcomer
  • *
  • Posts: 5
Re: CodeBlocks +WxWidgets Cant get it to work
« Reply #2 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.




« Last Edit: January 09, 2015, 09:32:45 am by Rune »

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: CodeBlocks +WxWidgets
« Reply #3 on: January 09, 2015, 09:49:51 am »
Why do you think you need to open the Codeblocks-wx30.cbp?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline Rune

  • Single posting newcomer
  • *
  • Posts: 5
Re: CodeBlocks +WxWidgets
« Reply #4 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.

Offline rocon

  • Single posting newcomer
  • *
  • Posts: 9
Re: CodeBlocks +WxWidgets
« Reply #5 on: January 09, 2015, 11:27:29 am »
That's great!

Offline rocon

  • Single posting newcomer
  • *
  • Posts: 9
Re: CodeBlocks +WxWidgets
« Reply #6 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?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: CodeBlocks +WxWidgets
« Reply #7 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!
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline Rune

  • Single posting newcomer
  • *
  • Posts: 5
Re: CodeBlocks +WxWidgets
« Reply #8 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?

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7591
    • My Best Post
Re: CodeBlocks +WxWidgets
« Reply #9 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

Tim S.
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 Rune

  • Single posting newcomer
  • *
  • Posts: 5
Re: CodeBlocks +WxWidgets
« Reply #10 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.