User forums > Help

Code::Blocks + wxPack...

<< < (2/5) > >>

Pecan:

--- Quote from: StateS on September 08, 2006, 01:31:45 pm ---ok. I did that but the same message appears anyway...

--- End quote ---

Please turn on full compile logging and paste the results here.
Also, system, CodeBlocks version, wxWidgets version

//-- Full Compile Logging --
Settings->Compiler and Debugger->"Other"->Compiler logging = "Full command line".

StateS:
the error doesn't apper when I'm compiling... it happens when I'm trying to create a project... CodeBlocks Nightly Build September 7 2006, wxWidgets 2.7.0. Windows XP SP2 system.

MortenMacFly:

--- Quote from: StateS on September 08, 2006, 02:18:43 pm ---the error doesn't apper when I'm compiling... it happens when I'm trying to create a project... CodeBlocks Nightly Build September 7 2006, wxWidgets 2.7.0. Windows XP SP2 system.

--- End quote ---
Please tell us the directory structure of wxWidgets -> where are the includes and where o you have the libs? Then please explain in detail what settings from the wizard you don't understand (or post a screenshot of the appropriate dialog). This will help us to explain.
With regards, Morten.

StateS:
OK, the part which I don't understand is pretty much the two dialogs after the one which asks you for the directory of wxwidgets. From what I think... It's to build the widgets right? but if that's true then that doesn't make sense cause I already have the widgets built... In wxPack they send a whole mess of prebuilt widgets, dll version, lib version, debug version etc... I have attached the tree listing of my wxwidgets directory and the screenshots of the two dialogs...


[attachment deleted by admin]

rjmyst3:
When the wizard asks where to find wxWidgets, the default location is $(#wx) - that's good. That means it will use the global 'wx' variable to determine the location. Set the 'wx' global variable to the install location of wxPack - that is the root directory of the wxWidgets tree. The default in the wxPack install is C:\SourceCode\Libraries\wxWidgets2.7

Unfortunately, even when this is correct, the wizard still pops up the warning "A matching configuration could not be found in the wxWidgets directory you specified. This means that your project will not build. Are you sure you want to continue with these settings?". What is the wizard looking for?

The warning can be ignored with wxPack, in some cases. If I leave the default checkboxes checked, on the last page (see screenshot), the wizard sets up the project with the correct paths. It does assume that you'll be linking to version 2.6, you'll need to change the linked library to libwxmsw27u.a.

However, if I uncheck the box for "Use wxWidgets DLL", the generated linker path is "$(#wx)\lib\gcc_" instead of "$(#wx)\lib\gcc_lib".

You can definately use Code::Blocks to make projects that use wxPack, however, it looks like the wizard is looking for some configuration files that wxPack either does not have, or does not have in the right place.

If the authors of the wizard would post exactly what they are looking for, as far as configuration, and it is determined that that is the best approach, I'm sure wxPack could be updated.

Hopefully, in the future, these two tools will work better together.



[attachment deleted by admin]

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version