User forums > General (but related to Code::Blocks)

Compiling Codeblocks from sourcecode

(1/6) > >>

cprgmswr2:
When I tried to recompile codeblocks from the avaible source code by using the recent version of codeblocks updated april 26 and mingw 3.1.0 I get the following Error: cc1plus.exe: unrecognized option `-Winvalid-pch'

Can someone either point me to correct version of mingw for compile codeblocks itself or have suggestions for what the problem may be

takeshimiya:
Yes, that version of mingw doesn't support precompiled headers.

See here for a more up-to-date version & guide: http://wiki.codeblocks.org/index.php?title=MinGW_installation

cprgmswr2:
Thnx, Now I am having a problem with no wx directory, Where can I download the header files for the wxWidgets

squizzz:
Usually http://wxwidgets.org/ is a good place to get wxWidgets library, but there are issues with C::B + 2.6.3, so you may grab version 2.6.2 from sf.net project page here: http://sourceforge.net/project/showfiles.php?group_id=9863

Also this wiki article may help you set it up properly: http://wiki.codeblocks.org/index.php?title=Compiling_wxWidgets_2.6.2_to_develop_Code::Blocks_%28MSW%29

Pecan:
It's damnably hard finding info on that wiki anymore.
All the old instruction pages have no links, and the current
linked pages have no instructions or are blank.

But... you can click on "special pages" then click on "show all pages"
and the old instructions are still there.

Navigation

[0] Message Index

[#] Next page

Go to full version