--- In anthemion-devtools%40yahoogroups.com">anthemion-devtools
yahoogroups.com, David Mathews
<grnbriar
...> wrote:
>
> Thanks for the help - wxWidgets is now built.
>
> I have a bunch of include files from OpenEXR in the DB Projects
> folder. To see these on Mac I added -
> -I/Devel/AppName at the front of the generated include path and that
> let the DB build find them.
>
> It is not working on Linux, it can not locate any of my header files.
> Is the include path setup special on Linux?
> I've tried both before and after the special generated flags code.
>
> All I can find in the doc says use a comma separated list, which I
> also tried before and after the generated code.
> I needed the specific -I on the Mac, I had hoped that would work here
> as well.
>
> David
>
Hi!
If you are on any platform for which wx-config may be used (which is
all but Windows, I think), then the "Comma-separated C++ search path"
description does not apply. Before the advent of wx-config, that's how
DB worked, but you cannot do this with wx-config use. What you need to
do is place your include before or after %AUTO% separated by a space,
and it must be in the compiler's switch format. For GCC and most
UNIX/Linux systems this will be a -I switch. It is also a good idea to
place the path in quotes. For your example, it might be:
%AUTO% -I"<path to OpenEXR includes>"
HTH:
thx,
Dave S.
wxMS_developers · Development with wxWidgets on MSWindows
http://tech.groups.yahoo.com/group/wxMS_developers/join
wxWidgets Code Exchange
http://www.wxCodex.net/
.