User forums > Help

wxWidgets 2.6 (MSW, GCC) installation instructions

<< < (21/29) > >>

wittend:
The version of C::B is 1.0, RC2.

I changed that setting (glad to know that it exists!) and now the output is:

Project   : wxWidgets application
Compiler  : GNU GCC Compiler (called directly)
Directory : D:\bin\CodeBlocks\Work\
--------------------------------------------------------------------------------
Switching to target: default
mingw32-g++.exe   -pipe -mthreads -Winvalid-pch -include "wx_pch.h" -D__GNUWIN32__ -D__WXMSW__ -DWXUSINGDLL -DUSE_PCH    -ID:\bin\CodeBlocks\wx\include -ID:\bin\CodeBlocks\wx\lib\wx\include\msw-ansi-release-2.6\wx\msw -ID:\bin\CodeBlocks\wx\contrib\include  -ID:\bin\CodeBlocks\wx\include -ID:\bin\CodeBlocks\wx\lib\wx\include\\wx\msw -ID:\bin\CodeBlocks\wx\include\wx -ID:\bin\CodeBlocks\wx\contrib\include -c wx_pch.h -o wx_pch.h.gch
In file included from D:/bin/CodeBlocks/wx/include/wx/string.h:55,
[and so forth...]

I belive that the rest of the output is the same.

Thanks,

dave

TDragon:
The only thing outstandingly wrong with that command line is here: "-ID:\bin\CodeBlocks\wx\lib\wx\include\\wx\msw", where I note double backslashes. If you fix that, it may work.

It could also, however, be your directory structure that's working against you. Most of the users here have followed these instructions from the Code::Blocks wiki in compiling wxWidgets (they are the same for version 2.6.2, which is the best version to use). If you have this setup, then the only paths your project needs to use wxWidgets are <wxwidgets>\lib\gcc_dll\msw and <wxwidgets>\include for include paths, and <wxwidgets>\lib\gcc_dll for library paths.

MortenMacFly:

--- Quote from: wittend on February 23, 2006, 06:17:51 pm ---D:\bin\CodeBlocks\wx\lib\wx\include\msw-ansi-release-2.6\wx\msw
D:\bin\CodeBlocks\wx\lib\wx\include\\wx\msw

--- End quote ---
Did you verify that these folders really exist? Under D:\bin\CodeBlocks\wx\lib\ shouldn't come another wx\include\. At least I don't have them. I assume the correct path for you should be D:\bin\CodeBlocks\wx\lib\msw-ansi-release-2.6\wx\msw. It seems you setup the path to the wxwidgets headers/libs incorrectly...?!
Morten.

wittend:
The folder "D:\bin\CodeBlocks\wx\lib\wx\include\msw-ansi-release-2.6\wx\msw" does indeed exist.  And in the second case, "D:\bin\CodeBlocks\wx\lib\msw-ansi-release-2.6\wx\msw" folder is what I intended, but the replacement macro $(WX_CNF) does not seem to be inserting the intended value - which is the missing "msw-ansi-release-2.6".  I too think that this whole arrangement is odd, but D:\bin\CodeBlocks\wx\lib\wx\include\msw-ansi-release-2.6\wx\msw is where 'rcdefs.h' was hiding, and the folder above it is where I found 'setup.h'.

I got lost in all of this because there seem to be several places where I can set 'Compiler Options'.  A quick survey finds five different ways to access this page.  While alternate ways to set things can be useful, I cannot determine which (if any) of the ways set parameters that persist as defaults across projects, and which are local to the current project.  I am also unclear which are really the ones affecting the current build.

In any case, after hardcoding the obviously invalid path, I still get the same results.  I have downloaded the Feb 22 nightly build and the other recommended bits, and will see about putting it all together afresh.

Thanks,

dave

Michael:

--- Quote from: wittend on February 24, 2006, 12:33:02 am ---I got lost in all of this because there seem to be several places where I can set 'Compiler Options'.  A quick survey finds five different ways to access this page.  While alternate ways to set things can be useful, I cannot determine which (if any) of the ways set parameters that persist as defaults across projects, and which are local to the current project.  I am also unclear which are really the ones affecting the current build.

--- End quote ---

You can search the forum about this. Some posts might be able to clarify your doubts, or at least to let you understand a bit more how it works :).

Best wishes,
Michael

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version