 |
|
|
|
Actions
|
|
[ Date Prev][ Date Next][ Thread Prev][ Thread Next][ Date Index][ Thread Index]
Re: [vsipl++] Compile problems with reference implementation and gnu 3.4.5
- To: "Schnetzer, Everett" <eschnetz@xxxxxxxxxx>
- Subject: Re: [vsipl++] Compile problems with reference implementation and gnu 3.4.5
- From: Stefan Seefeld <stefan@xxxxxxxxxxxxxxxx>
- Date: Wed, 10 Oct 2007 13:10:50 -0400
Everett,
Schnetzer, Everett wrote:
> The problem was in the Makefile, in that it did not have the following
> compile def's:
[...]
> They were in the GNUmakefile produced by the configuration script. I
> would have expected these to be in acconfig.hpp. For our port to MinGW,
> I manually put them in acconfig.hpp so application Makefiles/build
> scripts don't have to define them.
Right. By default these macros are put into the build system, but you
can tell configure to store them in acconfig.hpp by using the
--disable-shared-acconfig option. (Sharing in this context refers to
building multiple build variants out of a single development environment
(and thus, set of VSIPL++ header files).
> Another problem was discovered if we include windows.h before the
> vsipl++ include files. This file is part of the MinGW distribution and
> is the main header for the Win32 API. Some other file that windows.h
> includes confuses some of the vsipl++ template instantiations. I didn't
> track down who the culprit was, but defining WIN32_LEAN_AND_MEAN is a
> work-around. Otherwise an application has to make sure all relevant
> vsipl++ .hpp files are brought in before windows.h.
>
> That seems to be it, though. The reference implementation tests now work
> in our MinGW environment.
Great, thanks for letting us know !
Regards,
Stefan
--
Stefan Seefeld
CodeSourcery
stefan@xxxxxxxxxxxxxxxx
(650) 331-3385 x718
|
|