[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #49294] [octave forge] level-set fails to inst
From: |
John Donoghue |
Subject: |
[Octave-bug-tracker] [bug #49294] [octave forge] level-set fails to install in octave 4.2.0rc2 |
Date: |
Fri, 7 Oct 2016 20:31:40 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2486.0 Safari/537.36 Edge/13.10586 |
URL:
<http://savannah.gnu.org/bugs/?49294>
Summary: [octave forge] level-set fails to install in octave
4.2.0rc2
Project: GNU Octave
Submitted by: lostbard
Submitted on: Fri 07 Oct 2016 08:31:37 PM GMT
Category: Octave Forge Package
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Build Failure
Status: None
Assigned to: None
Originator Name: JohnD
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 4.2.0-rc2
Operating System: Microsoft Windows
_______________________________________________________
Details:
Attempting to install level-set 0.3.0 in windows (although it might not be
just a windows issue) using Octave 4.2.0rc2 via:
pkg install -forge level-set
Install fails with a number of compile errors based on not finding M_PI.
CXXFLAGS="-g -O2 -std=c++11 -Wall -Wextra"
C:/Octave/Octave-4.2.0-rc2/bin/mkoctfile-4.2.0-rc2.exe --verbose -c Utils.cpp
-o Utils.o
g++ -std=gnu++11 -c
-I/home/johnd/mxe-octave/build-dev/usr/i686-w64-mingw32/include
-IC:\Octave\Octave-4.2.0-rc2\include\octave-4.2.0-rc2\octave\.. -IC:\Oct
ave\Octave-4.2.0-rc2\include\octave-4.2.0-rc2\octave
-IC:\Octave\Octave-4.2.0-rc2\include -pthread -fopenmp -mieee-fp -g -O2
-std=c++11 -Wall -Wextra Uti
ls.cpp -o Utils.o
In file included from
C:\Octave\Octave-4.2.0-rc2\include\octave-4.2.0-rc2\octave\../octave/lo-utils.h:36:0,
from
C:\Octave\Octave-4.2.0-rc2\include\octave-4.2.0-rc2\octave\../octave/Array.h:41,
from
C:\Octave\Octave-4.2.0-rc2\include\octave-4.2.0-rc2\octave\../octave/Sparse.h:37,
from
C:\Octave\Octave-4.2.0-rc2\include\octave-4.2.0-rc2\octave\../octave/MSparse.h:31,
from
C:\Octave\Octave-4.2.0-rc2\include\octave-4.2.0-rc2\octave\../octave/MatrixType.h:29,
from
C:\Octave\Octave-4.2.0-rc2\include\octave-4.2.0-rc2\octave\../octave/mx-base.h:30,
from
C:\Octave\Octave-4.2.0-rc2\include\octave-4.2.0-rc2\octave\../octave/Matrix.h:32,
from
C:\Octave\Octave-4.2.0-rc2\include\octave-4.2.0-rc2\octave\../octave/oct.h:30,
from Utils.hpp:26,
from Utils.cpp:19:
C:\Octave\Octave-4.2.0-rc2\include\octave-4.2.0-rc2\octave\../octave/oct-cmplx.h:
In function 'bool operator>(const std::complex<_Tp>&, const std::complex<_T
p>&)':
C:\Octave\Octave-4.2.0-rc2\include\octave-4.2.0-rc2\octave\../octave/oct-cmplx.h:55:36:
error: 'M_PI' was not declared in this scope
if (ay == static_cast<T> (-M_PI))
^
C:\Octave\Octave-4.2.0-rc2\include\octave-4.2.0-rc2\octave\../octave/oct-cmplx.h:100:1:
note: in expansion of macro 'DEF_COMPLEXR_COMP'
DEF_COMPLEXR_COMP (>, >)
^
C:\Octave\Octave-4.2.0-rc2\include\octave-4.2.0-rc2\octave\../octave/oct-cmplx.h:
In function 'bool operator>(const std::complex<_Tp>&, T)':
C:\Octave\Octave-4.2.0-rc2\include\octave-4.2.0-rc2\octave\../octave/oct-cmplx.h:77:36:
error: 'M_PI' was not declared in this scope
if (ay == static_cast<T> (-M_PI)) \
^
C:\Octave\Octave-4.2.0-rc2\include\octave-4.2.0-rc2\octave\../octave/oct-cmplx.h:100:1:
note: in expansion of macro 'DEF_COMPLEXR_COMP'
DEF_COMPLEXR_COMP (>, >)
^
C:\Octave\Octave-4.2.0-rc2\include\octave-4.2.0-rc2\octave\../octave/oct-cmplx.h:
In function 'bool operator>(T, const std::complex<_Tp>&)':
C:\Octave\Octave-4.2.0-rc2\include\octave-4.2.0-rc2\octave\../octave/oct-cmplx.h:92:36:
error: 'M_PI' was not declared in this scope
if (by == static_cast<T> (-M_PI)) \
^
C:\Octave\Octave-4.2.0-rc2\include\octave-4.2.0-rc2\octave\../octave/oct-cmplx.h:100:1:
note: in expansion of macro 'DEF_COMPLEXR_COMP'
DEF_COMPLEXR_COMP (>, >)
^
C:\Octave\Octave-4.2.0-rc2\include\octave-4.2.0-rc2\octave\../octave/oct-cmplx.h:
In function 'bool operator<(const std::complex<_Tp>&, const std::complex<_T
p>&)':
C:\Octave\Octave-4.2.0-rc2\include\octave-4.2.0-rc2\octave\../octave/oct-cmplx.h:55:36:
error: 'M_PI' was not declared in this scope
if (ay == static_cast<T> (-M_PI)) \
^
C:\Octave\Octave-4.2.0-rc2\include\octave-4.2.0-rc2\octave\../octave/oct-cmplx.h:101:1:
note: in expansion of macro 'DEF_COMPLEXR_COMP'
DEF_COMPLEXR_COMP (<, <)
^
C:\Octave\Octave-4.2.0-rc2\include\octave-4.2.0-rc2\octave\../octave/oct-cmplx.h:
In function 'bool operator<(const std::complex<_Tp>&, T)':
C:\Octave\Octave-4.2.0-rc2\include\octave-4.2.0-rc2\octave\../octave/oct-cmplx.h:77:36:
error: 'M_PI' was not declared in this scope
if (ay == static_cast<T> (-M_PI)) \
^
C:\Octave\Octave-4.2.0-rc2\include\octave-4.2.0-rc2\octave\../octave/oct-cmplx.h:101:1:
note: in expansion of macro 'DEF_COMPLEXR_COMP'
DEF_COMPLEXR_COMP (<, <)
^
C:\Octave\Octave-4.2.0-rc2\include\octave-4.2.0-rc2\octave\../octave/oct-cmplx.h:
In function 'bool operator<(T, const std::complex<_Tp>&)':
C:\Octave\Octave-4.2.0-rc2\include\octave-4.2.0-rc2\octave\../octave/oct-cmplx.h:92:36:
error: 'M_PI' was not declared in this scope
if (by == static_cast<T> (-M_PI))
^
C:\Octave\Octave-4.2.0-rc2\include\octave-4.2.0-rc2\octave\../octave/oct-cmplx.h:101:1:
note: in expansion of macro 'DEF_COMPLEXR_COMP'
DEF_COMPLEXR_COMP (<, <)
^
C:\Octave\Octave-4.2.0-rc2\include\octave-4.2.0-rc2\octave\../octave/oct-cmplx.h:
In function 'bool operator<=(const std::complex<_Tp>&, const std::complex<_
Tp>&)':
C:\Octave\Octave-4.2.0-rc2\include\octave-4.2.0-rc2\octave\../octave/oct-cmplx.h:55:36:
error: 'M_PI' was not declared in this scope
if (ay == static_cast<T> (-M_PI))
^
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?49294>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #49294] [octave forge] level-set fails to install in octave 4.2.0rc2,
John Donoghue <=