3.0.1 release? (Reports on mingw build)
Michael Goffioul
michael.goffioul at gmail.com
Mon Apr 7 11:25:12 CDT 2008
On Mon, Apr 7, 2008 at 5:21 PM, Tatsuro MATSUOKA <tmacchant at yahoo.co.jp> wrote:
> >Damn, why does it work under MSVC?"
> I also think what you said is completly right now. However, I thought that it was a
> careless mistake at the integrating the unixy and windowsish codes at that moment.
> That was my careless mistake.
Sorry if this sounded a little bit too harsh, that was not my intention.
I think what you can check is whether HAVE_LOADLIBRARY_API is
defined in your config.h. Normally, it is defined unconditionally under
Win32 platforms (cygwin, mingw and msvc): see configure.in, around
line 1394.
If HAVE_LOADLIBRARY_API is defined, then windows.h should get
included from lo-utils.h. If this is not the case, what I usually do is to
run only the preprocessor and trace file inclusion. To run only the
preprocessor, I do in liboctave:
1) "rm lo-sysdep.o"
2) "make lo-sysdep.o"
3) copy the command echo'ed at 2) and add the -E flag to run the
preprocessor and redirect the output to some temp file.
4) inspect the temp file
Hope this helps.
Michael.
More information about the Octave-maintainers
mailing list