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 17:32:19 +0900 (JST)

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

> From: Tatsuro MATSUOKA 
> To: tmacchant Abhinav Tripathi 
> Cc: "Octave-maintainers; "mtmiller
> Date: 2016/6/25, Sat 13:23
> Subject: Re: Building PyTave on windows
> 

> 
> 
> The __imp__ symbols issues for libboost for only 64bit.
> 
> I could build 32bit libboost dll files on 32bit using msvc and mingw.
> 
> I am now building 32bit windows binary octave 4.1.0+ using mxe octave.
> After that, I will try again PyTave build.
> 
> Tatsuro


Using 32 bit octave 4.1.0+ and libboost_python 32 bit with share build.
I could complete the configure with some workaround.

configure:
========================================================================
Pytave is configured with the following setup

Dependencies
  Octave ............. 
C:\octave\octave-4.1.0plus_x86-2016-06-25-08-57\include\octave-4.1.0+
  Python ............. -Ic:\Python27_32\include
    library .......... -Lc:\Python27_32\Lib\config -lpython27
    executable ....... /c/Python27_32/python
  Boost::Python ...... boost_python

Features
  uselocale .......... no

========================================================================
configure: WARNING: This system doesn't have uselocale support.
           The Octave interpreter will NOT work correctly in any
           locale but the C (POSIX) locale.  Pytave would use the
           uselocale function to work around this limitation.  Pytave
           can be compiled without it but will only work correcly in C
           (POSIX) locale.


But at the make
make[1]: Entering directory 
`/d/usr/Tatsu/program/Pytave/PytaveBuild/Pytave/build32'
/bin/sh ./libtool  --tag=CXX   --mode=compile i686-w64-mingw32-g++ -std=gnu++11 
-DHAVE_CONFIG_H -I. -I../pytave  
-IC:\octave\octave-4.1.0plus_x86-2016-06-25-08-57\include\octave-4.1.0+ 
-IC:\octave\octave-4.1.0plus_x86-2016-06-25-08-57\include\octave-4.1.0+/octave 
-Ic:\Python27_32\include -Ic:\Python27_32\lib\site-packages\numpy\core\include 
-IC:/Python27_32/include 
-ID:/usr/Tatsu/program/Pytave/PytaveBuild/boost/mingw32/boost_1_16_inst/include 
-ID:/usr/Tatsu/program/Pytave/PytaveBuild/boost/mingw32/boost_1_16_inst/include/boost-1_61
  -g -O2 -MT _pytave_la-pytave.lo -MD -MP -MF .deps/_pytave_la-pytave.Tpo -c -o 
_pytave_la-pytave.lo `test -f 'pytave.cc' || echo '../pytave/'`pytave.cc
libtool: compile:  i686-w64-mingw32-g++ -std=gnu++11 -DHAVE_CONFIG_H -I. 
-I../pytave -IC:octaveoctave-4.1.0plus_x86-2016-06-25-08-57includeoctave-4.1.0+ 
-IC:octaveoctave-4.1.0plus_x86-2016-06-25-08-57includeoctave-4.1.0+/octave 
-Ic:Python27_32include -Ic:Python27_32libsite-packagesnumpycoreinclude 
-IC:/Python27_32/include 
-ID:/usr/Tatsu/program/Pytave/PytaveBuild/boost/mingw32/boost_1_16_inst/include 
-ID:/usr/Tatsu/program/Pytave/PytaveBuild/boost/mingw32/boost_1_16_inst/include/boost-1_61
 -g -O2 -MT _pytave_la-pytave.lo -MD -MP -MF .deps/_pytave_la-pytave.Tpo -c 
../pytave/pytave.cc  -DDLL_EXPORT -DPIC -o .libs/_pytave_la-pytave.o
../pytave/pytave.cc:32:24: fatal error: octave/oct.h: No such file or directory
 #include <octave/oct.h>



-IC:octaveoctave-4.1.0plus_x86-2016-06-25-08-57includeoctave-4.1.0+ 
-IC:octaveoctave-4.1.0plus_x86-2016-06-25-08-57includeoctave-4.1.0+/octave 
-Ic:Python27_32include -Ic:Python27_32libsite-packagesnumpycoreinclude


It seems that path separators '\' (back slash) are lost and lead to error.

Mike. 

What can I do? 

Tatsuro



reply via email to

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