User forums > Using Code::Blocks

wxSmith

<< < (2/3) > >>

dominover:

--- Quote from: jens on September 26, 2012, 06:59:51 pm ---You need to have the MinGW bin-folder in your systempath.
And builduing starts from the msw\build folder on windows.
You only need to clean the sources, if you have changed something or your compiler has changed.
You don't need to clean between the release and debug build, because they use different folders for their object files.

--- End quote ---

Hi

What do you mean by 'Clean Sources'?  How is this related to the question?
I'm trying to compile wxWidgets for code::blocks.  The instructions I've found on the web aren't working?  

I change the directory in DOS,,,, to this:

1 - C:\wxWidgets-2.8.12\build\msw>   ..... I even copy and pasted it so there's no errors.

2 - Let assume there's no cleaning to be done (I don't know what that means),  I enter the below

mingw32-make SHELL=CMD.exe -j4 -f makefile.gcc BUILD=release UNICODE=1 SHARED=0 MONOLITHIC=1

and I get the error:

'ming32-make' is not recognized as an internal or external command, operable program or batch file'

I found the instructions on dozens of sites (all similar).  Here's one:
http://wiki.wxwidgets.org/Compiling_wxWidgets_with_MinGW

I'm very grateful for the help but this process is doing my head in.  I've been on this for days now. Surely it can't be this hard. 
Is there anything out there which can explain some of the terminology used to set this up, or even the process?   Do you know where I'm going wrong?

Thanks
Dominover

Jenna:

--- Quote from: dominover on September 27, 2012, 02:11:44 am ---
--- Quote from: jens on September 26, 2012, 06:59:51 pm ---You need to have the MinGW bin-folder in your systempath.
And builduing starts from the msw\build folder on windows.
You only need to clean the sources, if you have changed something or your compiler has changed.
You don't need to clean between the release and debug build, because they use different folders for their object files.

--- End quote ---

Hi

What do you mean by 'Clean Sources'?  How is this related to the question?
I'm trying to compile wxWidgets for code::blocks.  The instructions I've found on the web aren't working?  

--- End quote ---
That's why Iwrote about cleaning (or not cleaning).
Remember your own post !


--- Quote from: dominover on September 26, 2012, 06:49:28 pm ---mingw32-make -f makefile.gcc MONOLITHIC=1 SHARED=1 UNICODE=1 BUILD=release clean

--- End quote ---

And you just overread (or ignored or do not understand ?) the important part:

--- Quote from: jens on September 26, 2012, 06:59:51 pm ---You need to have the MinGW bin-folder in your systempath.

--- End quote ---

dominover:
Ok,, I now have all the correct system variables and it compiled or did something.  When I start a new project, then I get more problems.

I get to the last 'New Project' screen where the wizard asks me to 'Please select various configuration options'.  I select 'wxWidgets is build on a monolithic library' & 'Create and use a pre-compiled header. 

When I hit next I get this error:

'A matching debug configuration cannot be found in the wxWidgets directory you specified.  This means that debug target of your project will not build.

'Are you sure you want to continue with these settings'.   

I'm assuming, even though the dos screen lit up with hundreds of lines of information when compiling, it didn't compile?   

Any clues as to where I've gone wrong?

Thanks
Dominover

Freem:
Nobody can help you if you do not provide the compiler's logs ("the dos screen lit up with undreds of lines of information") which will allow us, and you, to know the error.

dominover:
No.. That was the stage prior to the error message.  It compiled../ no errors.. That doesn't seem to be the issue.
I'll re-quote myself.

Keep in mind the compiling stage is done.. This is when I go to set up a new Project.. I'm now compiling both a release and debug version to see what will happen. 

 
--- Quote --- I get to the last 'New Project' screen where the wizard asks me to 'Please select various configuration options'.  I select 'wxWidgets is build on a monolithic library' & 'Create and use a pre-compiled header.

When I hit next I get this error:

'A matching debug configuration cannot be found in the wxWidgets directory you specified.  This means that debug target of your project will not build.

'Are you sure you want to continue with these settings'. 

--- End quote ---

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version