Author Topic: The error about makefile.gcc:6428: recipe for target 'gcc_mswudll\monodll_any.o'  (Read 4629 times)

blockuser

  • Guest
Dear all:
   
        I am a newbie of Code::Blocks, Now I have installed the CodeBlocks, then I compling the wxWidgets according to the wiki as following:
http://wiki.codeblocks.org/index.php/Compiling_wxWidgets_2.8.6_to_develop_Code::Blocks_(MSW)#Compiling_Code::Blocks,
after use the command: mingw32-make -f makefile.gcc  MONOLITHIC=1 SHARED=1 UNICODE=1 BUILD=release
there is a problem arise, an error tell me "makefile.gcc:6428: recipe for target 'gcc_mswudll\monodll_any.o' failed."
How to fix it ? I am not very family with the codeBlocks. Thanks!

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3353
1) This has nothing to do with codeblocks, but with wxWidgets and this forum is only for codeblocks related things
2)
Quote
http://wiki.codeblocks.org/index.php/Compiling_wxWidgets_2.8.6_to_develop_Code::Blocks_(MSW)#Compiling_Code::Blocks,
This wiki entry is only if you want work on codeblocks source code. If you want to make your own wxWidgets application this is not needed and over complicated...
3) Search the interweb you will find planty easy tutorials:  https://www.youtube.com/watch?v=FgAaiBg4wEE

greetings

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7591
    • My Best Post
If you want to build Code::Blocks from source under windows use this link
http://wiki.codeblocks.org/index.php/Installing_Code::Blocks_from_source_on_Windows

It also will likely help build wxWidgets from source.
Edit2: See also http://wiki.codeblocks.org/index.php/WxWindowsQuickRef

Edit: We need to mark those 2.8.6 directions as OLD; anyone know if there is 2.8.12 directions on the Wiki?
If not, I could start some on the Wiki in the near future.

Tim S.
« Last Edit: December 13, 2016, 06:12:18 pm by stahta01 »
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 BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3353
Edit: We need to mark those 2.8.6 directions as OLD; anyone know if there is 2.8.12 directions on the Wiki?
If not, I could start some on the Wiki in the near future.
As far as i know there is this chapter:
http://wiki.codeblocks.org/index.php/Installing_Code::Blocks_from_source_on_Windows#wxWidgets_2.8.12

but no article like this one.
http://wiki.codeblocks.org/index.php/Compiling_wxWidgets_2.8.6_to_develop_Code::Blocks_(MSW)#Compiling_Code::Blocks%EF%BC%8C
This one should be marked as outdated...

Some work on the wiki would be nice...

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7591
    • My Best Post
Link to new wiki page http://wiki.codeblocks.org/index.php/Compiling_wxWidgets_%28MSW%29_2.8.12_on_Windows_using_makefile.gcc

Edit: I am NOT good at making Wiki pages; but, I hope the page I created is at least a starting point.

Tim S.
« Last Edit: December 14, 2016, 03:46:12 am by stahta01 »
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