Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Solution for: Latest changes in HEAD break C::B build

<< < (3/4) > >>

David Perfors:
An other thing.. when using your default paths, the compiler can't find wx/setup.h Originaly it could be find in $(WX_DIR)/lib/gcc_dll$(WX_CFG)/msw/wx/setup.h but the compiler can't find it.
WX_CFG is empty, so I think there is the problem... (I am not sure..) When I copy setup.h the the include/wx dir it works fine, but that is not an option for me, because I want to have more version of wx (one with directx support for instance)
Any suggestions?
btw, what when you don't use gcc for compiling wx? than the directory gcc_dll doesn't excist, does it?

mandrav:

--- Quote ---at least a "per project" setting is absolutely necessary before i can use this feature.
--- End quote ---

I 'm currently working on it. I will commit it later, when it's done.


--- Quote ---An other thing.. when using your default paths, the compiler can't find wx/setup.h Originaly it could be find in $(WX_DIR)/lib/gcc_dll$(WX_CFG)/msw/wx/setup.h but the compiler can't find it.
--- End quote ---

Verify that $(WX_DIR)/lib/gcc_dll$(WX_CFG)/msw is in the include dirs for the project.


--- Quote ---WX_CFG is empty, so I think there is the problem... (I am not sure..) When I copy setup.h the the include/wx dir it works fine, but that is not an option for me, because I want to have more version of wx (one with directx support for instance)
Any suggestions?
--- End quote ---

WX_CFG should not be empty only if you 've used CFG when building wxWidgets.
I use CFG=NonUnicode (for now) and so I set WX_CFG=NonUnicode. For empty CFG, WX_CFG should be empty too.
That's why I added WX_CFG: to allow for using different wx builds...


--- Quote ---btw, what when you don't use gcc for compiling wx? than the directory gcc_dll doesn't excist, does it?
--- End quote ---

Currently, C::B only builds with gcc. When it can be built with other compilers we 'll probably add another variable, like WX_COMPILER or something, to control the "gcc" part of the paths :)

Yiannis.

David Perfors:
I compiled wxwidgets without that CFG option, so I should left the WX_CFG empty, but that didn't work.. Now I have compiled wx with CFG and I set WX_CFG and it works like a charme. So I think there is a problem :P

mandrav:

--- Quote from: mispunt ---I compiled wxwidgets without that CFG option, so I should left the WX_CFG empty, but that didn't work.. Now I have compiled wx with CFG and I set WX_CFG and it works like a charme. So I think there is a problem :P
--- End quote ---

Strange because in wx docs it states that whatever you set as CFG is just appended to the output dir (gcc_dll in this case)...

I 'll look into it. Thanks :)

Yiannis.

David Perfors:
Yiannis, did you moved the *.a files to $(WX_DIR)/lib/gcc_dll$(WX_CFG)/msw? because by default they are in $(WX_DIR)/lib/gcc_dll$(WX_CFG)..
When linking the sdk the linker says it can't find -lwxmsw26_stc and the only dir in the linker directories is: $(WX_DIR)/lib/gcc_dll$(WX_CFG)/msw
(hope you understand :P)

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version