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

Issues compiling Code::Blocks

<< < (3/4) > >>

stahta01:
I am a Windows person who knows a little Linux; the Mac issues with wxWidgets changes are way past the area where I can help.

Tim S.

Conan Kudo:

--- Quote from: stahta01 on October 25, 2009, 02:35:17 am ---I am a Windows person who knows a little Linux; the Mac issues with wxWidgets changes are way past the area where I can help.

Tim S.



--- End quote ---

Okay. Then perhaps you can help with this?

I'm also building it on Windows, and I already applied the patches from earlier.

I'm attaching the errorlog. This is with the same revisions of wx and C::B.



[attachment deleted by admin]

stahta01:

--- Quote from: Pharaoh Atem on October 25, 2009, 04:37:18 am ---
--- Quote from: stahta01 on October 25, 2009, 02:35:17 am ---I am a Windows person who knows a little Linux; the Mac issues with wxWidgets changes are way past the area where I can help.

Tim S.



--- End quote ---

Okay. Then perhaps you can help with this?

I'm also building it on Windows, and I already applied the patches from earlier.

I'm attaching the errorlog. This is with the same revisions of wx and C::B.



--- End quote ---

Your problem is either the wrong build options for wxWidgets or the wrong search directory inside Code::Blocks.

USE_STC=0 (and wxUSE_STC set to 0 inside setup.h) should used in building wxWidgets.

Tim S.


Conan Kudo:

--- Quote from: stahta01 on October 25, 2009, 07:32:39 am ---
--- Quote from: Pharaoh Atem on October 25, 2009, 04:37:18 am ---
--- Quote from: stahta01 on October 25, 2009, 02:35:17 am ---I am a Windows person who knows a little Linux; the Mac issues with wxWidgets changes are way past the area where I can help.

Tim S.



--- End quote ---

Okay. Then perhaps you can help with this?

I'm also building it on Windows, and I already applied the patches from earlier.

I'm attaching the errorlog. This is with the same revisions of wx and C::B.



--- End quote ---

Your problem is either the wrong build options for wxWidgets or the wrong search directory inside Code::Blocks.

USE_STC=0 (and wxUSE_STC set to 0 inside setup.h) should used in building wxWidgets.

Tim S.




--- End quote ---

wxWidgets cannot build when USE_STC=0, but with wxUSE_STC set to 0 in setup.h, the same errors still happen...

stahta01:

--- Quote from: Pharaoh Atem on October 25, 2009, 04:43:07 pm ---wxWidgets cannot build when USE_STC=0, but with wxUSE_STC set to 0 in setup.h, the same errors still happen...

--- End quote ---

Builds for me every time I do them both.
Edit: started Wiki Page
http://wiki.codeblocks.org/index.php?title=Compiling_wxWidgets_2.9.0_to_develop_Code::Blocks_(MSW)

Edit: Inside which file are you changing wxUSE_STC?

Edit: My directions assumed you were an expert at building wxWidgets.
The easiest way for beginners to do it is
1. Delete the stuff under lib\gcc_dll
    a. do a clean
    b. delete all the rest
2. Edit include\wx\msw\setup.h (If it does not exist copy setup0.h to setup.h)
    Change wxUSE_STC to zero
3. Do a normal build
    
--- Code: ---    mingw32-make -f makefile.gcc USE_STC=0 USE_PROPGRID=1 USE_OPENGL=0 USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=release UNICODE=1 CPPFLAGS="-Wmissing-include-dirs"
    
--- End code ---

I change step 2 to this when I do it because I build wxWidgets so many different ways is it easier to never change setup.h under include\wx\msw
NOTE: You should never need to change include\wx\msw\setup0.h

Correction the file setup0.h should not be edited; been too long since I did it the old way.

After deleting/Cleaning
2a. recreate the folders under lib\gcc_dll to hold the modified setup.h
2b. use SED.exe to change the values I need changed and save it in the correct folder under lib\gcc_dll


Tim S.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version