User forums > Help

wxWidgets won't compile

<< < (2/3) > >>

stahta01:
You must CD to the folder build\msw under the wxWidgets before running the commands.


--- Quote ---the two last questions.. i am very new to this, i don't know what is best, and again thank you very much

--- End quote ---

Why do you need wxWidgets?

hehuj:
I am trying to make some simple GUI programs, just for fun...

now it gives me a lot of errors: "wxUSE_******* must be defined" in file chkconf.h

when i try to compile some GUI, Codeblocks gives me this line: #error "This file should only be included when using Microsoft Visual C++"

stahta01:

--- Quote from: hehuj on May 09, 2007, 07:43:05 pm ---I am trying to make some simple GUI programs, just for fun...

now it gives me a lot of errors: "wxUSE_******* must be defined" in file chkconf.h

when i try to compile some GUI, Codeblocks gives me this line: #error "This file should only be included when using Microsoft Visual C++"

--- End quote ---

That problems in the project, you are not including the right folders/headers or you have not compiled wxWidgets to match what you are trying to use.

Find a project with detailed directions on how to build it and follow the steps, I learned by building Code::Blocks itself.
Without more info no one can help you.

Turn on full compiler logging in code::blocks under other options.


--- Quote ---Steps to turn on Compiler Logging:
"Settings" -> "compiler debugger"
Change "Compiler Settings" to "Other Settings"
Set "Compiler Logging" to "Full Command Line"
--- End quote ---

Tim S

hehuj:
i have turned on full compiler logging, what do i do now? I still get the same errors, and i have no idea what is going on.

i don't know if it helps, but when I create a new wxwidgets project it says "a matching Release configuration cannot be found in the wxWidgets dir you specified."

stahta01:

--- Quote from: hehuj on May 09, 2007, 09:00:34 pm ---i have turned on full compiler logging, what do i do now? I still get the same errors, and i have no idea what is going on.

i don't know if it helps, but when I create a new wxwidgets project it says "a matching Release configuration cannot be found in the wxWidgets dir you specified."

--- End quote ---

Post the command that gives the errors. Compile the build of wxWidgets that your project needs.

Tim S

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version