octave-maintainers
[Top][All Lists]
Advanced

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

Re: Building PyTave on windows


From: Tatsuro MATSUOKA
Subject: Re: Building PyTave on windows
Date: Sat, 25 Jun 2016 19:42:34 +0900 (JST)

----- Original Message -----

> From: Tatsuro MATSUOKA 
> To: tmacchant Abhinav Tripathi 
> Cc: "Octave-maintainers "mtmiller
> Date: 2016/6/25, Sat 19:28
> Subject: Re: Building PyTave on windows
> 
> Sorry my repeated post.
> I manage CPPFLAGS and  Error
> fatal error: octave/oct.h: No such file or directory
> 
> was disappeared.
> But another error appeared
> 
> 
> 
> In file included from 
> c:\octave\octave-4.1.0plus_x86-2016-06-25-08-57\lib\gcc\i686-w64-mingw32\4.9.3\include\c++\random:38:0,
>                  from 
> c:\octave\octave-4.1.0plus_x86-2016-06-25-08-57\lib\gcc\i686-w64-mingw32\4.9.3\include\c++\bits\stl_algo.h:66,
>                  from 
> c:\octave\octave-4.1.0plus_x86-2016-06-25-08-57\lib\gcc\i686-w64-mingw32\4.9.3\include\c++\algorithm:62,
>                  from 
> D:/usr/Tatsu/program/Pytave/PytaveBuild/boost/mingw32/boost_1_16_inst/include/boost-1_61/boost/function/detail/prologue.hpp:13,
>                  from 
> D:/usr/Tatsu/program/Pytave/PytaveBuild/boost/mingw32/boost_1_16_inst/include/boost-1_61/boost/function/function_template.hpp:13,
>                  from 
> D:/usr/Tatsu/program/Pytave/PytaveBuild/boost/mingw32/boost_1_16_inst/include/boost-1_61/boost/function/detail/maybe_include.hpp:13,
>                  from 
> D:/usr/Tatsu/program/Pytave/PytaveBuild/boost/mingw32/boost_1_16_inst/include/boost-1_61/boost/function/function0.hpp:11,
>                  from 
> D:/usr/Tatsu/program/Pytave/PytaveBuild/boost/mingw32/boost_1_16_inst/include/boost-1_61/boost/python/errors.hpp:13,
>                  from 
> D:/usr/Tatsu/program/Pytave/PytaveBuild/boost/mingw32/boost_1_16_inst/include/boost-1_61/boost/python/handle.hpp:11,
>                  from 
> D:/usr/Tatsu/program/Pytave/PytaveBuild/boost/mingw32/boost_1_16_inst/include/boost-1_61/boost/python/args_fwd.hpp:10,
>                  from 
> D:/usr/Tatsu/program/Pytave/PytaveBuild/boost/mingw32/boost_1_16_inst/include/boost-1_61/boost/python/args.hpp:10,
>                  from 
> D:/usr/Tatsu/program/Pytave/PytaveBuild/boost/mingw32/boost_1_16_inst/include/boost-1_61/boost/python.hpp:11,
>                  from ../pytave/pytave.cc:29:
> c:\octave\octave-4.1.0plus_x86-2016-06-25-08-57\lib\gcc\i686-w64-mingw32\4.9.3\include\c++\cmath:1094:11:
>  
> error: '::hypot' has not been declared
>    using ::hypot;
> 
> 
> I commented out in 
> lib\gcc\i686-w64-mingw32\4.9.3\include\c++\cmath
> 
> 1094 //  using ::hypot;
> 1095 //  using ::hypotf;
> 1096 //  using ::hypotl;
> 
> Build goes further.


I am able to go link stage but meet an error the below

make[1]: Entering directory 
`/d/usr/Tatsu/program/Pytave/PytaveBuild/Pytave/build32'
/bin/sh ./libtool  --tag=CXX   --mode=link i686-w64-mingw32-g++ -std=gnu++11  
-g -O2 -module 
-LC:\octave\octave-4.1.0plus_x86-2016-06-25-08-57\lib\octave\4.1.0+ 
-LC:/Python27_32/libs 
-LD:/usr/Tatsu/program/Pytave/PytaveBuild/boost/mingw32/boost_1_16_inst/lib 
-LC:/octave/octave-4.1.0plus_x86-2016-06-25-08-57/lib/octave/4.1.0+ -o 
_pytave.la -rpath D:/usr/Tatsu/program/Pytave/PytaveInst32 _pytave_la-pytave.lo 
libpytave.la -lboost_python -loctinterp -loctave -LC:/Python27/libs
libtool: warning: undefined symbols not allowed in i686-w64-mingw32 shared 
libraries; building static only
libtool: link: rm -fr  .libs/_pytave.lax
libtool: link: (cd .libs/_pytave.lax/libpytave.a && ar x 
"/d/usr/Tatsu/program/Pytave/PytaveBuild/Pytave/build32/./.libs/libpytave.a")
libtool:   error: object name conflicts in archive: 
.libs/_pytave.lax/libpytave.a//d/usr/Tatsu/program/Pytave/PytaveBuild/Pytave/build32/./.libs/libpytave.a
make[1]: *** [_pytave.la] Error 1
make[1]: Leaving directory 
`/d/usr/Tatsu/program/Pytave/PytaveBuild/Pytave/build32'
make: *** [all] Error 2

Any suggestions?

Tatsuro



reply via email to

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