Author Topic: Created wxformbuilder project successfully but where is wxformbuilder?  (Read 7322 times)

Offline agam

  • Single posting newcomer
  • *
  • Posts: 2
I am running codeblocks 10.05 on linux (centos). Using the project wizard I was able to successfully create a dialog based wxWidgets project.
I selected the following options via the wizard:
-- 2.8.x version of wxWidgets
-- wxformbuilder as the preferred gui builder
-- dialog based application type
-- GNU gcc compiler
-- default wxWidgets library config
Everything worked fine the code builds and executes properly. Now I want to modify the gui via wxformbuilder.
How do I do this? Where is wxformbuilder?
It must be available because there is a source file in the project with comments stating it was generated with wxformbuilder.

Thanks

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Created wxformbuilder project successfully but where is wxformbuilder?
« Reply #1 on: August 14, 2011, 04:09:11 pm »
How do I do this? Where is wxformbuilder?
wxFormBuilder is an additional software for creating GUI's interactively which you can/have to download here: http://wxformbuilder.org . You can then embed wxFormBuilder e.g. as a tool to launch when clicking of wxFormBuilder manages resources.

There is an alternative which is "wxSmith" - a plugin embedded directly into Code::Blocks that allows basically the same. But some prefer wxFormBuilder, so supported is both.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline agam

  • Single posting newcomer
  • *
  • Posts: 2
Re: Created wxformbuilder project successfully but where is wxformbuilder?
« Reply #2 on: August 14, 2011, 05:23:38 pm »
Does this mean that eventhough I selected wxformbuilder in the project wizard as the gui builder and the project wizard created a source file with comments stating that wxformbuilder was used to create the file, that in fact wxformbuilder is wasnt used to create the project? While experimenting with the project wizard I tried to select wxsmith and the wizard was able to tell me that wxsmith wasnt available it would be nice if selecting wxformbiuilder did the same thing. 

I also tried downloading the source code for wxformbuilder and unpacked the tar ball and executed the create_build_files.sh script. A wxFormbuilder.workspace file was generated, but I dont know how to instruct codeblocks to open this worksapce file. I tried double clicking the file and tried to look for an option in the codeblocks IDE to open such a file but had no luck. Then I tried executing the command "make CONFIG=release" but the build failed with...
codegen/codewriter.cpp: In member function ‘void CodeWriter::FixWrite(wxString, bool)’:
codegen/codewriter.cpp:107: error: ‘wxRE_ADVANCED’ was not declared in this scope
make[1]: *** [.objs/codewriter.o] Error 1
make: *** [wxFormBuilder] Error 2

What steps can I take to resolve this issue?

Thanks


Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Created wxformbuilder project successfully but where is wxformbuilder?
« Reply #3 on: August 14, 2011, 06:14:30 pm »
I don't know anything about wxFormBuilder (never used it), but for wxSmith, you need to install the contrib-plugins package ( I don't know how it is called on centos).

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Created wxformbuilder project successfully but where is wxformbuilder?
« Reply #4 on: August 15, 2011, 07:26:34 am »
What steps can I take to resolve this issue?
Besides installing wxSmith (what Jens suggested) you can also download the  already compiled version of wxFormBuilder from their webpage here:
http://wxformbuilder.org/?page_id=7

(BTW: Google told me that.)
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ