User forums > Help

nightly cookbook install guide raises a question

<< < (2/5) > >>

dje:
The best working place is C:\MinGW
At least avoid the spaces in the path to avoid compiling linking problems.

Dje

knacked:
Okay Im at the point of building the codeblocks internal workspace.

It exits with one error which is

--- Quote ---cannot find -1wxmsw28u
--- End quote ---

The wxmsw28u_gcc_cb.dll is in C:\codeblocks directory.
The WxWindowsQuickRef guide says its because


--- Quote ---You have an incorrect link library in your build options. Make sure you choose the correct wxWidgets build configuration when running the wxWidgets project wizard. If re-running the wizard isn't an option, determine which version of the library is built and adjust the library name in your build options accordingly.
--- End quote ---

But I'm still having a hard time here.

I'd really appreciate your help,in 1 hour I will have been trying to set up c::b for 24 hours  :(

killerbot:

--- Quote from: knacked on January 12, 2008, 09:31:08 pm ---It exits with one error which is

--- Quote ---cannot find -1wxmsw28u
--- End quote ---

--- End quote ---


-1wxmsw28u  ==> -lwxmsw28u    : that is -lllllllllllllllllllllllllllllllllllllll not -'one'

Jenna:

--- Quote from: knacked on January 12, 2008, 09:31:08 pm ---Okay Im at the point of building the codeblocks internal workspace.

It exits with one error which is

--- Quote ---cannot find -1wxmsw28u
--- End quote ---

The wxmsw28u_gcc_cb.dll is in C:\codeblocks directory.
The WxWindowsQuickRef guide says its because


--- Quote ---You have an incorrect link library in your build options. Make sure you choose the correct wxWidgets build configuration when running the wxWidgets project wizard. If re-running the wizard isn't an option, determine which version of the library is built and adjust the library name in your build options accordingly.
--- End quote ---

But I'm still having a hard time here.

I'd really appreciate your help,in 1 hour I will have been trying to set up c::b for 24 hours  :(

--- End quote ---

If you have wxWidgets build, like the cookbook tells you, you have to make sure that the base-dir of th global variable "wx" points to the base-dir of your wxWidgets install, all other (lib, include ..)  normally don't need to be set. And of course the global variable "cb" must point to the first "src" subdir in the C::B source-tree.

knacked:
I know thats an -l,I was just copying the build message and that l is displayed as -1.

I hav'nt had to specify the directory the dll resides in.
Should I do that in project->build options->custom variables
WX-CFG= (put the path to the dll here ?)

Your all getting pissed off with me are'nt you,

<edit>the link libraries field has this...wxmsw28$(WX_SUFFIX)
WX_SUFFIX is defined as u, with is correct.
There is nothing defined for WX_CFG though.<edit>

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version