Author Topic: Setting up code blocks so that I can compile wxwidgets programs.  (Read 23696 times)

Offline djsbriscoe

  • Multiple posting newcomer
  • *
  • Posts: 10
Hi,
I am a first time user of code blocks and I'm experimenting with C++ and wxwidgets under Windows 2000.
First of all appologies if this is covered somewhere in the forum.
I can not find an up to date step by step guide to setting up code blocks so that I can compile wxwidgets programs.
I followed the instructions at http://forums.codeblocks.org/index.php?topic=1701.0 up to entering the mingw32-make commands.
My path for mingw32-make is c:\progra~1\codeblocks\bin and this is also in my system path. My path for wxwidgets is c:\wxwidgets-2.6.2.
I am using RC2 and I dont understand the note in the above webpage about using a post RC2 build.

Can anyone help me out of this confusion?

Thanks.

David.

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
Re: Setting up code blocks so that I can compile wxwidgets programs.
« Reply #1 on: April 11, 2006, 12:40:54 pm »
Hi,
I am a first time user of code blocks and I'm experimenting with C++ and wxwidgets under Windows 2000.
First of all appologies if this is covered somewhere in the forum.
I can not find an up to date step by step guide to setting up code blocks so that I can compile wxwidgets programs.
I followed the instructions at http://forums.codeblocks.org/index.php?topic=1701.0 up to entering the mingw32-make commands.
My path for mingw32-make is c:\progra~1\codeblocks\bin and this is also in my system path. My path for wxwidgets is c:\wxwidgets-2.6.2.
I am using RC2 and I dont understand the note in the above webpage about using a post RC2 build.

Can anyone help me out of this confusion?

Hello,

The problem is that you cannot use RC2 to build C::B from the SVN sources. To build C::B from the SVN sources you should download a nightly build (possibly the latest :)). Anyway, I would advice you to use the latest nightly build as RC2 is a bit old now :).

Happy coding :).

Best wishes,
Michael

Offline djsbriscoe

  • Multiple posting newcomer
  • *
  • Posts: 10
Re: Setting up code blocks so that I can compile wxwidgets programs.
« Reply #2 on: April 11, 2006, 01:01:02 pm »
Hi,
I've downloaded the latest (10/4/06) build, how do I use it?
Do I have to unzip the files into an existing installation?
Are there any more files I have to download and install?

David.

Offline webwraith

  • Single posting newcomer
  • *
  • Posts: 9
Re: Setting up code blocks so that I can compile wxwidgets programs.
« Reply #3 on: April 11, 2006, 01:04:38 pm »
Apparently you can't install a nightly build over v1.0rc2, so either uninstall it, and unzip to the same folder, or install to a new folder

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
Re: Setting up code blocks so that I can compile wxwidgets programs.
« Reply #4 on: April 11, 2006, 01:11:43 pm »
Do I have to unzip the files into an existing installation?

No, please. Do not unzip a nightly build into an existing RC2 installation. Choose another repository.

If you plan to use MinGW and you do not have it yet, then get it (use MinGW 5.0.2 installer). You might want to update later the win32api & binutils files.

From each nightly build post you can download the necessary dll, if you do not have yet.

Are there any more files I have to download and install?

That depends on what you have already (see above). If you have nothing, then the best would be to:

-1: Download and install MinGW
-2: Download gdb 6.3.2 from MinGW website and install it.
-3: Download C::B nightly build
-4: Download the unicode windows wxWidget dll for Code::Blocks
-5: Unzip C::B and the wxWidget dll for Code::Blocks
-6: Start C::B and configure GNU GCC compiler
-7: Download wxWidgets and build it (see http://forums.codeblocks.org/index.php?topic=1701.0)
-8: Enjoy :)

Best wishes,
Michael
« Last Edit: April 11, 2006, 01:14:15 pm by Michael »

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: Setting up code blocks so that I can compile wxwidgets programs.
« Reply #5 on: April 11, 2006, 01:15:10 pm »
It looks like there was a misunderstanding, as you said you intended to set up Code::Blocks to compile with wxWidgets, not compile Code::Blocks itself. But you may nevertheless want to use the nightly build, even more so as you have already downloaded it.

Webwraith is right, you should not install a nightly build over RC2. Make sure you have the 7z files for both the nightly build and required libraries.
You can not copy the ones from RC2, as the libraries in the nightly builds are built in a different, incompatible way.

Unpack everything to the same (empty) directory and you're done.


EDIT:
If you want to use the MinGW compiler (most people do, but you can use a different compiler as well), here is a list of everything you need to download:
http://wiki.codeblocks.org/index.php?title=MinGW_installation#gcc_3.4.4_manual_install

It looks more intimidating than it really is. Just download everything you want and unzip inside an arbitrary location (just make sure you use the same location for everything).
« Last Edit: April 11, 2006, 01:18:13 pm by thomas »
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline djsbriscoe

  • Multiple posting newcomer
  • *
  • Posts: 10
Re: Setting up code blocks so that I can compile wxwidgets programs.
« Reply #6 on: April 11, 2006, 01:27:56 pm »
Hi,
I do not want to build code blocks itself just example wxwidgets programs.
This is what I've done so far.
1/ Uninstalled code blocks RC2.
2/ Downloaded the latest build (10-4-06) CB_20060410_rev2334_win32.7z
3/ Downloded wxmsw26u_gcc_cb.7z
Do I just unzip these into a directory called c:\codeblocks?
Is that all I need? How do I configure GCC?
Sorry for all the questions it just seems a bit confusing at the moment.

Thanks,

David.

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
Re: Setting up code blocks so that I can compile wxwidgets programs.
« Reply #7 on: April 11, 2006, 01:34:32 pm »
Hi,
I do not want to build code blocks itself just example wxwidgets programs.
This is what I've done so far.
1/ Uninstalled code blocks RC2.
2/ Downloaded the latest build (10-4-06) CB_20060410_rev2334_win32.7z
3/ Downloded wxmsw26u_gcc_cb.7z
Do I just unzip these into a directory called c:\codeblocks?
Is that all I need? How do I configure GCC?
Sorry for all the questions it just seems a bit confusing at the moment.

You can unzip C::B where do you want (just not on an existing RC2 installation :)).

By configuring GCC, once you have started C::B, go in Settings-->Compiler and debugger, select GNU GCC Compiler and check that the pathes are set correctly.

Best wishes,
Michael

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: Setting up code blocks so that I can compile wxwidgets programs.
« Reply #8 on: April 11, 2006, 02:00:05 pm »
Quote
2/ Downloaded the latest build (10-4-06) CB_20060410_rev2334_win32.7z
3/ Downloded wxmsw26u_gcc_cb.7z
Do I just unzip these into a directory called c:\codeblocks?
Is that all I need? How do I configure GCC?
Yes, except for one more thing. You also need the mingwm10.7z archive (http://prdownload.berlios.de/codeblocks/mingwm10.7z).

Put everything into C:\codeblocks (or any other location) and do a "extract here" on all of them.

To install MinGW, get all the files you need (see above, most people need just the base C/C++ and the debugger packages, but I don't know about you of course, you might want Ada or Java too), and do the same thing (put all into one directory and "unpack here").
If you choose a "typical" location like C:\mingw, then chances are good that Code::Blocks will auto-detect everything without you having to do anything at all.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: Setting up code blocks so that I can compile wxwidgets programs.
« Reply #9 on: April 11, 2006, 02:12:20 pm »
Oh, wait a moment... we never adressed the original question   :oops:

After you have done the above, you need to get a working installation of wxWidgets from somewhere.

1. There is a DevPak, but I don't know anything about this (I never use DevPaks). It will probably just do fine, though.

2. The "pristine" way of getting wxWidgets is to download the source and compile it.
One way of doing this is by following the instructions on the page that you have already seen. Although that page actually deals with compiling Code::Blocks, the section "Building wxWidgets" does deliver a fully functional monolithic shared build, which is just fine. You can simply copy the commandline and paste it to a DOS window, hit enter, and go away for 15 minutes :)

You have about 200 options during the wxWidgets build process, but only three are really important:
  • SHARED=0 or SHARED=1  -- do you want a DLL (shared) or just static libs?
  • MONOLITHIC=0 or MONOLITHIC=1  -- do you one huge thing or several smaller ones?
  • UNICODE=0 or UNICODE=1  -- do you want Unicode or not?

The templates coming with Code::Blocks assume a monolithic shared build. That does not mean you cannot do otherwise, but SHARED=1 MONOLITHIC=1 involves the least amount of trouble for starters :)
Unicode or not is a personal choice, I recommend enabling it because it is not terribly expensive and you don't have to think about the problem at a later time when maybe someone complains that your applicatons don't work properly in Russian and Chinese...
If you first start in non-Unicode and have to migrate later, I can promise it will be a pain.


The first time you try to compile a wxWidgets project, you will be asked to set the wx global variable. Point that to where you have wxWidgets, this will set all include and library paths correctly (if you ever move your wxWidgets folder to somewhere else, you just change that variable).
« Last Edit: April 11, 2006, 02:14:11 pm by thomas »
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline tsm

  • Single posting newcomer
  • *
  • Posts: 7
Re: Setting up code blocks so that I can compile wxwidgets programs.
« Reply #10 on: April 11, 2006, 03:29:13 pm »
If I'm using SHARED=1 MONOLITHIC=1, is the whole lib linked against my program or just the parts I'm using?

Offline djsbriscoe

  • Multiple posting newcomer
  • *
  • Posts: 10
Re: Setting up code blocks so that I can compile wxwidgets programs.
« Reply #11 on: April 11, 2006, 04:12:08 pm »
Hi,
Here's what Iv'e done so far (it may help others to follow my steps).

a/ Downloaded and unzipped the following files to c:\program files\codeblocks (noticed there is no bin directory)

1/ CB_20060410_REV2334_WIN32.7Z
2/ WXMSW26U_GCC_CB.7Z
3/ MINGWM10.7Z

Codeblocks starts and auto detects visual c++ toolkit 2003 that is already installed.

b/ Downloaded and installed to c:\mingw all mingw gcc 3.4.4 files and gdb debugger. Restarted computer.
    Wrote a simple helloworld console program and compiled it with gcc. No errors.

If I want to install up to date builds of codeblocks do I just install over the current setup or do I have to do the same al over again?

My next step is the wxwidget setup. I will post an update with my experiences and progress.

Thank you to everyone who has patiently read my posts and answered my questions.

David :D


Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: Setting up code blocks so that I can compile wxwidgets programs.
« Reply #12 on: April 11, 2006, 04:30:17 pm »
If I'm using SHARED=1 MONOLITHIC=1, is the whole lib linked against my program or just the parts I'm using?
The whole lib. Shared, monolithic is not perfect in every respect, but it is the least troublesome to start with.

If you only want to only link with the parts that you actually use, you have to either use SHARED=0 MONOLITHIC=0 (and link with the libraries that contain the parts you use) or SHARED=1 MONOLITHIC=0 which is even more troublesome (since you need  to distribute several smaller DLLs with your program).
Or, you could try SHARED=0 MONOLITHIC=1 and hope that the linker does a good job at deadstripping unused code (you'll be disappointed by the MinGW linker, though). In that case, you only need to link against one library, and at least in theory it should only include what you use, too.

The good thing about SHARED=1 MONOLITHIC=1 is that you have a lot less housekeeping and a lot less to remember. You link to one thing, and it just works, and that's it.
Nothing to remember, every monkey could do it. To me, this is a huge advantage, since I prefer spending my time on other things than on wondering why the build fails and what libraries I need to link with. :)
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
Re: Setting up code blocks so that I can compile wxwidgets programs.
« Reply #13 on: April 11, 2006, 05:11:08 pm »
If I want to install up to date builds of codeblocks do I just install over the current setup or do I have to do the same al over again?

IIRC you can install a newer nightly build over an older nightly build (if no big changes occur in the newer one). Anyway, I will not do so and chose another repository. For example, if you have C::B installed in C:\Programme\CodeBlocks, I would re-name CodeBlocks repository as e.g., CodeBlocks_old, then unzip the newer nightly build into a new repository CodeBlocks. After testing it, I will delete CodeBlocks_old.

Best wishes,
Michael

Offline tsm

  • Single posting newcomer
  • *
  • Posts: 7
Re: Setting up code blocks so that I can compile wxwidgets programs.
« Reply #14 on: April 11, 2006, 05:14:47 pm »
Or, you could try SHARED=0 MONOLITHIC=1 and hope that the linker does a good job at deadstripping unused code (you'll be disappointed by the MinGW linker, though). In that case, you only need to link against one library, and at least in theory it should only include what you use, too.

Made a mistake. That was the build option I was interested in. Thanks for the answer.

Xaviou

  • Guest
Re: Setting up code blocks so that I can compile wxwidgets programs.
« Reply #15 on: April 11, 2006, 09:14:46 pm »
Hi'
I wrote a small tut for setting up C::B and wxWidgets 2.6.3.
I just explain how to obtain DevPacks, how to unpack it, and how to use it with C::B
You can get it here : http://www.cppfrance.com/codes/UTILISATION-WXWIDGETS-SOUS-CODE-BLOCKS_36817.aspx
I'm sorry, but it's in french, but it may help you.
If you need a translation of it, I can do it for you, but I think you've heard about french peoples and foreign languages... :?

Offline djsbriscoe

  • Multiple posting newcomer
  • *
  • Posts: 10
Re: Setting up code blocks so that I can compile wxwidgets programs.
« Reply #16 on: April 12, 2006, 01:10:06 pm »
Hi,
I've just compiled wxwidgets 2.6.2.
The following warning kept appearing during compilation

warning:type attributes are honored only at type definition.

Is this anything to worry about?

The final line was

Creating library file: ..\..\lib\gcc_dll\libwxmsw26u.a

Is this a correct result?

Is there anything else I need to do in order to start compiling wxwidget programs?

Thanks,

David.

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
Re: Setting up code blocks so that I can compile wxwidgets programs.
« Reply #17 on: April 12, 2006, 01:18:34 pm »
The following warning kept appearing during compilation

warning:type attributes are honored only at type definition.

Is this anything to worry about?

No :).

The final line was

Creating library file: ..\..\lib\gcc_dll\libwxmsw26u.a

Is this a correct result?

If the library has been created, yes :). Look into the gcc_dll repository.

Best wishes,
Michael

Offline djsbriscoe

  • Multiple posting newcomer
  • *
  • Posts: 10
Re: Setting up code blocks so that I can compile wxwidgets programs.
« Reply #18 on: April 13, 2006, 11:26:25 am »
Hi,
I'm having problems compiling a sample file called minimal.cpp from the wxwidgets distribution.
I don't really know which wxwidget options to choose when setting up a new project.
I get the following errors/warnings when trying to compile minimal.cpp.
I've set the global variable to c:\wxwidgets-2.6.2 I think. How can I check this?

C:\wxWidgets-2.6.2\include\wx\platform.h:190: wx/setup.h: No such file or directory
C:\wxWidgets-2.6.2\include\wx\chkconf.h:84: #error "wxUSE_DYNLIB_CLASS must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:92: #error "wxUSE_EXCEPTIONS must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:100: #error "wxUSE_FILESYSTEM must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:113: #error "wxUSE_DYNAMIC_LOADER must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:121: #error "wxUSE_LOG must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:129: #error "wxUSE_LONGLONG must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:137: #error "wxUSE_MIMETYPE must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:153: #error "wxUSE_PROTOCOL must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:195: #error "wxUSE_REGEX must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:203: #error "wxUSE_STDPATHS must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:211: #error "wxUSE_XML must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:219: #error "wxUSE_SOCKETS must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:227: #error "wxUSE_STREAMS must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:235: #error "wxUSE_STOPWATCH must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:243: #error "wxUSE_TEXTBUFFER must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:251: #error "wxUSE_TEXTFILE must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:267: #error "wxUSE_URL must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:285: #error "wxUSE_ACCEL must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:293: #error "wxUSE_BMPBUTTON must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:301: #error "wxUSE_BUTTON must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:309: #error "wxUSE_CALENDARCTRL must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:317: #error "wxUSE_CARET must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:325: #error "wxUSE_CHECKBOX must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:341: #error "wxUSE_CHOICE must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:349: #error "wxUSE_CHOICEBOOK must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:357: #error "wxUSE_CHOICEDLG must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:365: #error "wxUSE_CLIPBOARD must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:373: #error "wxUSE_COLOURDLG must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:381: #error "wxUSE_COMBOBOX must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:389: #error "wxUSE_DATAOBJ must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:397: #error "wxUSE_DATEPICKCTRL must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:405: #error "wxUSE_DISPLAY must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:413: #error "wxUSE_DOC_VIEW_ARCHITECTURE must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:421: #error "wxUSE_FILEDLG must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:429: #error "wxUSE_FONTDLG must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:437: #error "wxUSE_FONTMAP must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:445: #error "wxUSE_GAUGE must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:453: #error "wxUSE_GRID must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:461: #error "wxUSE_HELP must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:469: #error "wxUSE_HTML must be defined."
clude\wx\chkconf.h:477: #error "wxUSE_XRC must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:498: #error "wxUSE_ICO_CUR must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:506: #error "wxUSE_IFF must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:514: #error "wxUSE_IMAGLIST must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:522: #error "wxUSE_JOYSTICK must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:530: #error "wxUSE_LISTBOOK must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:538: #error "wxUSE_LISTBOX must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:546: #error "wxUSE_LISTCTRL must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:554: #error "wxUSE_LOGGUI must be defined."

Can someone give me a clue as to whats wrong?
Thank you all for your patience and any help is appreciated.

David.

Offline tiwag

  • Developer
  • Lives here!
  • *****
  • Posts: 1196
  • sailing away ...
    • tiwag.cb
Re: Setting up code blocks so that I can compile wxwidgets programs.
« Reply #19 on: April 13, 2006, 01:17:07 pm »
C:\wxWidgets-2.6.2\include\wx\platform.h:190: wx/setup.h: No such file or directory

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: Setting up code blocks so that I can compile wxwidgets programs.
« Reply #20 on: April 13, 2006, 01:48:54 pm »
You have to include *both* the include directory under your wxWidgets folder and \lib\gcc_dll\mswu_or_whatever_your_build, as the compiler will need
1. include files from within the include directory
2. the file setup.h which is in a subdirectory of your library folder

The "good" way of doing this is to use the wx global variable (see the WiKi for more information on this subject) and set those paths relative to it, since then your project is arbitrarily relocateable (setting the variable alone is not sufficient, of course).

The template coming with Code::Blocks does that correctly, so if you start your project from the template, you should be fine.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline djsbriscoe

  • Multiple posting newcomer
  • *
  • Posts: 10
Re: Setting up code blocks so that I can compile wxwidgets programs.
« Reply #21 on: April 13, 2006, 05:06:24 pm »
Hi,
If I want to set up a new wxwidget application as a new project there are 4 options to choose from and I dont know what to choose (something todo with static DLL's etc which I don't understand).
Regarding settings -> global variable I have C:\wxWidgets-2.6.2\ as the base directory. I cant figure out what to put in the include and lib boxes.
Where do I put the path C:\wxWidgets-2.6.2\lib\gcc_dll\mswu\wx (where setup.h is)?
What directories do I put in the directories setting of the settings -> compiler and debugger -> directories box?
Nothing has been set up automatically by the wxwidget template.
What is WX_CFG= used for under build options?
I have looked at the wiki and can't find anything that answers my questions.
I hope someone can clear up my confusion a bit.

Regards,

David.

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: Setting up code blocks so that I can compile wxwidgets programs.
« Reply #22 on: April 13, 2006, 07:11:26 pm »
If I want to set up [...] I dont know what to choose
[...]
Regarding settings -> global variable I have C:\wxWidgets-2.6.2\ as the base directory. I cant figure out what to put in the include and lib boxes.
Read my above post, or read the WiKi, both explains in detail what to do.

Nothing has been set up automatically by the wxwidget template.
Why do you say that?

As you can very well see, the template sets up everything just fine:






"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline ptruog

  • Single posting newcomer
  • *
  • Posts: 3
Re: Setting up code blocks so that I can compile wxwidgets programs.
« Reply #23 on: April 13, 2006, 09:26:28 pm »
Can you provide the Tutorial on the codeblocks wiki?  I tried to download the pdf (presumably the tutorial) from that french site and it requires a login etc.. 

mais, je ne parle pas

Many thanks

Offline djsbriscoe

  • Multiple posting newcomer
  • *
  • Posts: 10
Re: Setting up code blocks so that I can compile wxwidgets programs.
« Reply #24 on: April 15, 2006, 01:55:21 pm »
Hi,
I am still having problems compiling the following wxwidgets program.
Could someone PLEASE help me to figure out what the problem is.
I will supply ANY information thats needed and work with whoever can help me to come
to a resolution for these problems with compiling.

Have I missed out an important step after compiling wxwidgets?
Am I geting all my paths mixed up?
What about any environment variables in windows 2000, what are essential for C:B,mingw and wxwidgets operation?

Any way here is the program I am trying to compile, could someone try it on their setup of C:B and see if it works.
If it doesnt can someone give me an example that works for them so I can try it out,Thanks.

PS I am using C:B version 1 revision 2334.

//Main source file.

#include <wx/wx.h>
#include "basic.h"
IMPLEMENT_APP(BasicApplication)
bool BasicApplication::OnInit()
{
 BasicFrame *frame = new BasicFrame("Basic", 50, 50, 450, 300);
 frame->Show(TRUE);
 SetTopWindow(frame);
 return TRUE;
}
BasicFrame::BasicFrame
(const wxChar *title,
int xpos, int ypos,
int width, int height)
: wxFrame
( (wxFrame *) NULL,
-1,
title,
wxPoint(xpos, ypos),
wxSize(width, height)
)
{
}
BasicFrame::~BasicFrame()
{
}

//The headers I've added.
//BASIC.H

#include <wx/wx.h>
#include "basic.h"
IMPLEMENT_APP(BasicApplication)
bool BasicApplication::OnInit()
{
 BasicFrame *frame = new BasicFrame("Basic", 50, 50, 450, 300);
 frame->Show(TRUE);
 SetTopWindow(frame);
 return TRUE;
}
BasicFrame::BasicFrame
(const wxChar *title,
int xpos, int ypos,
int width, int height)
: wxFrame
( (wxFrame *) NULL,
-1,
title,
wxPoint(xpos, ypos),
wxSize(width, height)
)
{
}

//Headers addded by code:blocks
//PLATFORM.H

//Header added by code:blocks
//wx_pch.h


//Also include by code:blocks is chkconf.h

//Resource file I have addded.
//basic_resource.rc

#include "wx/msw/wx.rc"

//ERRORS I get when compiling this program.

C:\wxWidgets-2.6.2\include\wx\platform.h:190: wx/setup.h: No such file or directory
C:\wxWidgets-2.6.2\include\wx\chkconf.h:84: #error "wxUSE_DYNLIB_CLASS must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:92: #error "wxUSE_EXCEPTIONS must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:100: #error "wxUSE_FILESYSTEM must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:113: #error "wxUSE_DYNAMIC_LOADER must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:121: #error "wxUSE_LOG must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:129: #error "wxUSE_LONGLONG must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:137: #error "wxUSE_MIMETYPE must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:153: #error "wxUSE_PROTOCOL must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:195: #error "wxUSE_REGEX must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:203: #error "wxUSE_STDPATHS must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:211: #error "wxUSE_XML must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:219: #error "wxUSE_SOCKETS must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:227: #error "wxUSE_STREAMS must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:235: #error "wxUSE_STOPWATCH must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:243: #error "wxUSE_TEXTBUFFER must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:251: #error "wxUSE_TEXTFILE must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:267: #error "wxUSE_URL must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:285: #error "wxUSE_ACCEL must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:293: #error "wxUSE_BMPBUTTON must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:301: #error "wxUSE_BUTTON must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:309: #error "wxUSE_CALENDARCTRL must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:317: #error "wxUSE_CARET must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:325: #error "wxUSE_CHECKBOX must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:341: #error "wxUSE_CHOICE must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:349: #error "wxUSE_CHOICEBOOK must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:357: #error "wxUSE_CHOICEDLG must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:365: #error "wxUSE_CLIPBOARD must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:373: #error "wxUSE_COLOURDLG must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:381: #error "wxUSE_COMBOBOX must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:389: #error "wxUSE_DATAOBJ must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:397: #error "wxUSE_DATEPICKCTRL must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:405: #error "wxUSE_DISPLAY must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:413: #error "wxUSE_DOC_VIEW_ARCHITECTURE must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:421: #error "wxUSE_FILEDLG must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:429: #error "wxUSE_FONTDLG must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:437: #error "wxUSE_FONTMAP must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:445: #error "wxUSE_GAUGE must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:453: #error "wxUSE_GRID must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:461: #error "wxUSE_HELP must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:469: #error "wxUSE_HTML must be defined."
clude\wx\chkconf.h:477: #error "wxUSE_XRC must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:498: #error "wxUSE_ICO_CUR must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:506: #error "wxUSE_IFF must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:514: #error "wxUSE_IMAGLIST must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:522: #error "wxUSE_JOYSTICK must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:530: #error "wxUSE_LISTBOOK must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:538: #error "wxUSE_LISTBOX must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:546: #error "wxUSE_LISTCTRL must be defined."
C:\wxWidgets-2.6.2\include\wx\chkconf.h:554: #error "wxUSE_LOGGUI must be defined."


//My entries in global variable editor.

variable: wx
base directory: C:\wxWidgets-2.6.2\
include: empty
lib: C:\wxWidgets-2.6.2\lib\gcc_dll\mswu\wx (setup.h is here)

//My entries in global compiler setting -> directories
 
c:\wxwidgets-2.6.2\include
C:\wxWidgets-2.6.2\lib\gcc_dll\mswu\wx

Thank you anyone who has taken the time to read this post and I really appreciate it. Without someones help I feel I will soon give up.

Regards and thanks,

David.


Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: Setting up code blocks so that I can compile wxwidgets programs.
« Reply #25 on: April 15, 2006, 04:06:13 pm »
Your "header" file contains the same as your source file.
Not only will that fail because your classes are not declared, but you also create an infinite #include loop (the compiler will abort after 100 or so inclusions). Regardless of everything else, this will not compile.

The error messages that you posted are not related to that, however. They are purely due to improper compiler path setup.

You should have taken 30 seconds to read my above posts regarding this path setup. But I am very well willing to repeat myself again:
Either set up the paths as in the screenshot and set the wx variable to where your wxWidgets installation lives, or better, use the template (the template will do it correctly).
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline squizzz

  • Almost regular
  • **
  • Posts: 132
Re: Setting up code blocks so that I can compile wxwidgets programs.
« Reply #26 on: April 15, 2006, 05:18:12 pm »
@djsbriscoe - check this. :P

And since you are starting with wxWidgets, you might find these 2 places very helpful:
Official wxWidgets forum
mailing list: comp.soft-sys.wxwindows
« Last Edit: April 15, 2006, 05:23:27 pm by squizzz »
this space is for rent

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
Re: Setting up code blocks so that I can compile wxwidgets programs.
« Reply #27 on: April 15, 2006, 08:36:55 pm »
Hello,

This book could also be very useful :).

Best wishes,
Michael

Offline djsbriscoe

  • Multiple posting newcomer
  • *
  • Posts: 10
Re: Setting up code blocks so that I can compile wxwidgets programs.
« Reply #28 on: April 15, 2006, 11:58:47 pm »
Hi,
Thank you for your help so far :)

I have one last problem, this error

C:\wxWidgets-2.6.2\include\wx\msw\wx.rc:104: warning: no newline at end of file

I've tried adding a newline at the end of the line but the compiler still complains. Can I change the output parsing order in advanced compiler options, if so how exactly?

Lets hope I can get this last problem sorted.

Michael I've downloaded the book you mentioned and thats the book I'm going to learn from,Thanks. Thomas thanks for being patient. Squizz I followed the advice to copy setup.h to another directory and this solved the setup.h problem.
Thanks also to everyone else I havent mentioned.

David.

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
Re: Setting up code blocks so that I can compile wxwidgets programs.
« Reply #29 on: April 16, 2006, 12:11:05 am »
I have one last problem, this error

C:\wxWidgets-2.6.2\include\wx\msw\wx.rc:104: warning: no newline at end of file

I've tried adding a newline at the end of the line but the compiler still complains.

Lets hope I can get this last problem sorted.

Hello,

it is not an error, but a warning. Normally there shoulld be a newline at the end of a file (.h & -cpp). Add a new line (an empty line) should stop the compiler to complain about. Anyway, the file in question concerns the wxWidgets library.

Best wishes,
Michael

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: Setting up code blocks so that I can compile wxwidgets programs.
« Reply #30 on: April 16, 2006, 12:31:32 am »
Quote
Squizz I followed the advice to copy setup.h to another directory and this solved the setup.h problem.
While this solves the problem for now, it is not the "good" solution.

The file setup.h contains important information related to your wxWidgets build. It is generated during the build and overwritten if you compile with different settings.

If you make a copy of that file and change any wxWidgets configuration later, then you will get strange errors which nobody will be able to understand or explain... that is a very nasty thing. Don't provoke such trouble if it is really easy to avoid.
Set the correct compiler path, and you will be fine now and in the future. Don't move or copy files, this will almost certainly lead to a disaster sooner or later.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

Offline djsbriscoe

  • Multiple posting newcomer
  • *
  • Posts: 10
Re: Setting up code blocks so that I can compile wxwidgets programs.
« Reply #31 on: April 16, 2006, 11:53:31 am »
Hi,
Sorry but I've given up on code:blocks.
I've tried everything suggested here and I still get linker errors(unresolved references,despite 0 warnings and 0 errors reported-compiler logging enabled)
I've got rid of the copied setup.h from C:\wxWidgets-2.6.2\include\wx. It seemed to solve the problem but introduced the unresolved reference problem.
Now I have the same wx/setup.h no such file or directory problem.
I don't understand how the variables in the directory section of build options work

$(#WX.include)
$(#WX.lib)\gcc_dll$(WX_CFG)\msw
$(#WX)\contrib\include

What do the symbols mean and how do they work? They seem like a foreign language to me.
I know that Thomas says the template for wxwidgets sets up everything OK, but I want to check this for myself.

I must have done something wrong somewhere, although the build seemed to go OK.
At the moment I am just going around in circles getting knowwhere.

I am going to uninstall C:B and go back to Dev C++. Code:Blocks is a feature rich IDE but I've gotten off to a bad start with it.

Bye for now.

David.

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: Setting up code blocks so that I can compile wxwidgets programs.
« Reply #32 on: April 16, 2006, 04:17:01 pm »
Quote
I am going to uninstall C:B and go back to Dev C++. Code:Blocks is a feature rich IDE but I've gotten off to a bad start with it.
That is certainly your decision, but I believe that you will not be happy with Dev-CPP either. Not knowing how to set up include and linker directories is not a fall from grace. Nobody is omniscient.
But if you lack that kind of knowledge, you have to read the documentation or at least listen to what people are telling you. Otherwise, you will be lost, no matter what IDE you use.

Quote
What do the symbols mean and how do they work? They seem like a foreign language to me.
I know that Thomas says the template for wxwidgets sets up everything OK, but I want to check this for myself.
For those who care to read, this is well-documented in the WiKi, as stated before. Global variables are really not that hard to understand. You use them to do the same thing as in any other IDE, too,  except that you have a lot less work and it is a lot more portable.

Thanks to Seth Jackson, the WiKi was reorganised lately, too. Thus, it is now really easy to find every  information related to application development using Code::Blocks:
http://wiki.codeblocks.org/index.php?title=Category:Application_Development

I can only repeat, setting up Code::Blocks to develop with wxWidgets is really no black art. Using the template, all you need to do (besides installing wxWidgets) is to enter a project name, and set one variable correctly.
To understand what is going on with those variables beyond using the simple template, there is a 600 words article in the WiKi.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

georgie

  • Guest
Re: Setting up code blocks so that I can compile wxwidgets programs.
« Reply #33 on: May 18, 2006, 04:01:29 am »
"It's well documented in the wiki" is a very common mantra on these forums, however, the navigation w/in that wiki is less than desired, nay, a completely frustrating experience.

And as for being able to seup include/linker directories, yes all IDE's require this, but some make it more intuitive than others.  Code::Blocks seems to have a _great_ deal of promise, but it just does not deliver in its current state. 

A much improved feature would be to see a document that does not explain how to compile code blocks itself, but rather focuses on how to get codeblocks to compile our projects.. a simple hello world project.   Nothing more, nothing less.  And this document would be placed in the "beginners start here" section.  I'd like to write it myself, but for all the dozens of times i've tried and failed to get anything to compile with Code::Blocks on windows using gcc.  (Oddly, on linux I had to change but one global variable and I was compiling with ease).  Creating my own makefiles using building with msys should not be an easier alternative for doing a build than using Code::Blocks, but sadly it is. 

Offline TDragon

  • Lives here!
  • ****
  • Posts: 936
    • Twilight Dragon Media
Re: Setting up code blocks so that I can compile wxwidgets programs.
« Reply #34 on: May 18, 2006, 05:18:39 am »
"It's well documented in the wiki" is a very common mantra on these forums, however, the navigation w/in that wiki is less than desired, nay, a completely frustrating experience.
Golly gee, that's awful! We'd better email the Code::Blocks devs and get them to fix this issue right away! Oh, wait a minute... it's a Wiki... isn't that one of those things where everyone in the community contributes? Well, then, we could just go in and make it better ourselves, couldn't we?

That point being made, I'll be even more contrary and say that I find navigating the Wiki to be quite simple. Three clicks take you to any mainstream article dealing with installing and using Code::Blocks -- one to get to the wiki main page, one choice from the intuitive menu layout, and one subcategory to get to the article.

Quote
And as for being able to seup include/linker directories, yes all IDE's require this, but some make it more intuitive than others.  Code::Blocks seems to have a _great_ deal of promise, but it just does not deliver in its current state. 
Whoa there, pardner. Code::Blocks actually does the best job of making compiler and linker settings intuitive of any compiler out there, and, at the same time, doesn't dumb it down to a level that obscures or gives a false impression of the compilation process. For example, MSVC 6 (still very widely used, believe you me) hides the list of libraries to link as a single space-delineated text field under the generic "linker" tab of your project settings. Visual Studio 2005 is even worse for a beginner, for he must navigate a bewildering array of property pages to find it. Code::Blocks? Intuitive is its middle name. Libraries to link must be part of a project's Build Options, yes? -- So right-click on the project and select "Properties" or select it in the Project drop-down menu. From here, the "Linker" tab is visible right away, which when selected shows you a vertical list of libraries, and a nice browse button to add new ones.

Quote
A much improved feature would be to see a document that does not explain how to compile code blocks itself, but rather focuses on how to get codeblocks to compile our projects.. a simple hello world project.   Nothing more, nothing less.  And this document would be placed in the "beginners start here" section.  I'd like to write it myself, but for all the dozens of times i've tried and failed to get anything to compile with Code::Blocks on windows using gcc.  (Oddly, on linux I had to change but one global variable and I was compiling with ease).  Creating my own makefiles using building with msys should not be an easier alternative for doing a build than using Code::Blocks, but sadly it is. 
In what misbegotten cave did you find the aberration of Code::Blocks that you appear to be using? I'd be more than happy to exterminate the nest of insanity that incubated it, and give the real deal a chance to thrive. Then all you'll need to do to compile a hello world sample is load the template or run the wizard, and hit the blue gear Build button.

*****

In the spirit of goodwill, feel free to ignore the previous, as my rant-meter indicator is in the red. Give some solid evidence that an out-of-the-box compilation fails, and I'm sure the devs will fix it almost before your mouse clicks the Post button. Beyond that -- it shouldn't take a document to figure out how to click New Project, run a template/wizard, and hit Build.
http://tdm-gcc.tdragon.net/ - TDM-GCC compiler suite for Windows (GCC 5.1.0 2015-06-28, 32/64-bit, no extra DLLs)

Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4291
    • Code::Blocks IDE
Re: Setting up code blocks so that I can compile wxwidgets programs.
« Reply #35 on: May 18, 2006, 08:40:49 am »
A much improved feature would be to see a document that does not explain how to compile code blocks itself, but rather focuses on how to get codeblocks to compile our projects.

What you 're missing is that the documents you 're talking about start by describing how to build a working wxWidgets installation. Feel free to ignore the parts that help you build C::B itself. All you need is a valid wxWidgets installation...
Be patient!
This bug will be fixed soon...

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: Setting up code blocks so that I can compile wxwidgets programs.
« Reply #36 on: May 18, 2006, 09:06:38 am »
Quote
very common mantra on these forums
Quote
just does not deliver in its current state
I wonder why someone whose IP address points directly to "One Microsoft Drive, Redmond" does not use Visual Studio for development.
In fact, I wonder why we have an entire three accounts that seem to be from the same department/person. William must be very scared about what we do in our spare time.  8)
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

sethjackson

  • Guest
Re: Setting up code blocks so that I can compile wxwidgets programs.
« Reply #37 on: May 18, 2006, 05:29:38 pm »
Quote
very common mantra on these forums
Quote
just does not deliver in its current state
I wonder why someone whose IP address points directly to "One Microsoft Drive, Redmond" does not use Visual Studio for development.
In fact, I wonder why we have an entire three accounts that seem to be from the same department/person. William must be very scared about what we do in our spare time.  8)

Probably because Code::Blocks doesn't take up 2GB of hard-drive space, doesn't run slowly, and is free (as in freedom).  8) 

william

  • Guest
Re: Setting up code blocks so that I can compile wxwidgets programs.
« Reply #38 on: May 18, 2006, 11:25:11 pm »
Looks like I rattled the hornets nest.. good!

It must be me then, because it's so intuitive to use that I can't find a single other person in all these posts who is having similiar problems to my own.  Oh wait..  I'm responding just such a thread.

Look, I would like to use code::blocks, particularly because it is cross platform, using a cross platform toolkit.  But I'm having tremendous difficulty getting anything to compile under windows with it as I stated earlier.  The fact that my employer is in Redmond Washington shouldn't exempt me from posting on these forums, it's akin to enjoying a beer but working at a health food store.  -- Give me a break.   It has no bearing on my desire to use one project over another.

As to the ease of navigation of the wiki, that's simply because you're already familiar with the hierarchy of the thing. 

Codeblocks being free does not automatically give you a shield from critique, if you believe so read the linux dev thread a time or two. 

Lastly, I don't have 3 freaking accounts.  It's likely that there are a whole 3 other people w/in the 50,000 people employed here that may have enough interest in your project to have actually signed up for an account. 

I think that covers the trolling aspect of mine and subsequent posts.




My headache has been solved by deleting my old project file and creating a new one.  Something was corrupted and I was unable to follow the many different articles to try and fix my broken project file.  - I shouldn't need to do this.. but i've had to do this with other ide's so I guess it's to be expected.

Oh, and I've a change request, if I'm allowed to make one:
This may be that I don't know how CB is handling these files, but when you want to import and xrc, but already have .cpp and .h files accompanying it.  It would be nice to have CB not overwrite the old file.  My work around has been to save off the old files, import the xrc using the same filenames, then move my old 'working' files back overwritting the new files so as to not loose my changes.  -- I've had to do this several times as CB has at times "lost" a dialog or two. 


Offline mandrav

  • Project Leader
  • Administrator
  • Lives here!
  • *****
  • Posts: 4291
    • Code::Blocks IDE
Re: Setting up code blocks so that I can compile wxwidgets programs.
« Reply #39 on: May 18, 2006, 11:55:37 pm »
I think that covers the trolling aspect of mine and subsequent posts.

Someone get the hose... quickly :lol:

William, don't get over-sensitive now. Thomas' post was clearly not ill-intended.

Be patient!
This bug will be fixed soon...

sethjackson

  • Guest
Re: Setting up code blocks so that I can compile wxwidgets programs.
« Reply #40 on: May 18, 2006, 11:58:58 pm »
Yeah. I think Thomas meant it was cool that people from "One Microsoft Drive, Redmond" are using Code::Blocks. :D

Offline TDragon

  • Lives here!
  • ****
  • Posts: 936
    • Twilight Dragon Media
Re: Setting up code blocks so that I can compile wxwidgets programs.
« Reply #41 on: May 19, 2006, 12:00:50 am »
My headache has been solved by deleting my old project file and creating a new one.  Something was corrupted and I was unable to follow the many different articles to try and fix my broken project file.  - I shouldn't need to do this.. but i've had to do this with other ide's so I guess it's to be expected.

So the actual issue wasn't being able to compile the standard Hello World template? Glad you got it cleared up. With respect to the wxSmith request, you might want to forward it to the Berlios bug tracker and/or byo, its developer, but since wxSmith is a Work-In-Progress the chances are he's already aware of the issue and/or it's been fixed or invalidated in the reworked version.
http://tdm-gcc.tdragon.net/ - TDM-GCC compiler suite for Windows (GCC 5.1.0 2015-06-28, 32/64-bit, no extra DLLs)

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: Setting up code blocks so that I can compile wxwidgets programs.
« Reply #42 on: May 19, 2006, 12:09:53 am »
William, don't get over-sensitive now. Thomas' post was clearly not ill-intended.
Lol, no way :)

It just struck me funny, in particular since we have 3 accounts, two of them having the same IP, posting in the same thread, and a third one, which only differs by having .1 as the last digit instead of .6 - which you will probably agree, is quite amusing :)
Now imagine my surprise when I looked up where they came from :)
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

anonymous

  • Guest
Re: Setting up code blocks so that I can compile wxwidgets programs.
« Reply #43 on: May 19, 2006, 12:42:23 am »
awe piss off.  i'll stick with makefiles.  don't know why where my current work contract is located has anything to do with posting here. 

Another change request: you ought to have a middle finger icon, to better express how i _feel_ right now. 

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
Re: Setting up code blocks so that I can compile wxwidgets programs.
« Reply #44 on: May 19, 2006, 12:42:10 pm »
Hello,

awe piss off.  i'll stick with makefiles.

That is your choice btw.

don't know why where my current work contract is located has anything to do with posting here. 

It has nothing to do, AFAIK.

Another change request: you ought to have a middle finger icon, to better express how i _feel_ right now. 

That's a great suggestion. Please feel free to implement it.

Best wishes,
Michael

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9508
Re: Setting up code blocks so that I can compile wxwidgets programs.
« Reply #45 on: May 19, 2006, 12:56:12 pm »
awe piss off. [...]
Mmmmh... I don't get why you are so angry. There is nothing related to you as person - you are still anonymous to us. But allow us to be informed about that there are also readers from a company that develops a similar software. This is just an information. If Steve Ballmer would have Linux on his laptop it would be all over the press but in connection with his name and person. What Thomas mentioned was completely anonymous. So you were never affected personally, but it was still interesting information for a lot of readers - this is a forum! In addition: Every software company developing a product looks over to other companies that develop similar strategies. What's wrong with that?
With regards, Morten.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: http://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: http://wiki.codeblocks.org/index.php?title=FAQ

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: Setting up code blocks so that I can compile wxwidgets programs.
« Reply #46 on: May 19, 2006, 02:28:45 pm »
If Steve Ballmer would have Linux on his laptop it would be all over the press
O/T: Does Hotmail still run on FreeBSD?  8)
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."