octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Octave 3.8.0 and packages (Windows


From: Michael Goffioul
Subject: Re: Octave 3.8.0 and packages (Windows
Date: Thu, 23 Jan 2014 12:22:09 -0500

On Thu, Jan 23, 2014 at 12:11 PM, Philip Nienhuis <address@hidden> wrote:
ijourneaux wrote
> I was able to install Octave 3.8.0 without any special issues. When I try
> to install the packages I need, I get several package installation errors.
>
> Of particular importance to me is the image package and its dependencies.
> The problem seem to be with the specfun package.
>
> : second C linkage of overloaded function 'wcspbrk' not allowed
>         C:\Program Files\Microsoft Visual Studio\VC98\include\wchar.h(703)
> : see
>  declaration of 'wcspbrk'
> C:\Program Files\Microsoft Visual Studio\VC98\include\wchar.h(706) : error
> C2733
> : second C linkage of overloaded function 'wcsrchr' not allowed
>         C:\Program Files\Microsoft Visual Studio\VC98\include\wchar.h(705)
> : see
>  declaration of 'wcsrchr'
> C:\Program Files\Microsoft Visual Studio\VC98\include\wchar.h(708) : error
> C2733
> : second C linkage of overloaded function 'wcsstr' not allowed
>         C:\Program Files\Microsoft Visual Studio\VC98\include\wchar.h(707)
> : see
>  declaration of 'wcsstr'
> c:/Program Files/Microsoft Visual Studio 10.0/VC/include/math.h(18) :
> fatal erro
> r C1083: Cannot open include file: 'crtdefs.h': No such file or directory
> LINK : fatal error LNK1181: cannot open input file "ellipj.o"
> make: Leaving directory `/tmp/oct-5/specfun/src'
>
> pkg: error running `make' for the specfun package.
> error: called from 'configure_make' in file
> C:\Octave\Octave-3.8.0\share\octave\
> 3.8.0\m\pkg\private\configure_make.m near line 82, column 9
> error: called from:
> error:   C:\Octave\Octave-3.8.0\share\octave\3.8.0\m\pkg\private\install.m
> at li
> ne 199, column 5
> error:   C:\Octave\Octave-3.8.0\share\octave\3.8.0\m\pkg\pkg.m at line
> 394, colu
> mn 9
> octave:1>

Did you download a 3.8.0 mingw build, or an MSVC build? (AFAIK there's no
MSVC build online yet - but I can be mistaken)
The one from Markus is a mingw build containing mingw build tools that
cannot be mixed with Visual C++ compilers.

No, there's no MSVC build for 3.8.0, so it must be a MinGW build. This also means that you should *not* have MSVC include dirs visible to MinGW. The error above seems to indicate that the compiler is using a mix of VC98 and VC2010 headers.

Michael.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]