octave-maintainers
[Top][All Lists]
Advanced

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

Re: Building PyTave on windows - cygwin


From: Tatsuro MATSUOKA
Subject: Re: Building PyTave on windows - cygwin
Date: Fri, 17 Jun 2016 07:24:23 +0900 (JST)

----- Original Message -----
>From: Abhinav Tripathi 
>To: Mike Miller 
>Cc: Tatsuro MATSUOKA  "Octave-maintainers>Date: 2016/6/17, Fri 02:36
>Subject: Re: Building PyTave on windows - cygwin
> 
>
>Please see the directory structure in detail.
>>include/GraphicsMagik/magick  C heahder
>>include/GraphicsMagik/magick  C++ header
>>include/GraphicsMagik/wand  (I do know in detail)
>>
>>
>>Tatsuro
>
>
>Sorry, I don't know why I wrote include files. I actually saw the lib 
>directory. It is empty. lib/GraphicsMagick-1.3.23 only has a config folder and 
>no libraries.

In lib directory, there are dll.a and .la files.

bash-3.1$ ls -l libGraphicsMagick*.*
-rw-r--r-- 1 MATSUOKA LAB Administrators 1598826 May 28 16:58 
libGraphicsMagick++.dll.a
-rw-r--r-- 1 MATSUOKA LAB Administrators    1223 May 29 02:21 
libGraphicsMagick++.la
-rw-r--r-- 1 MATSUOKA LAB Administrators  709446 May 28 16:58 
libGraphicsMagick.dll.a
-rw-r--r-- 1 MATSUOKA LAB Administrators    1144 May 29 02:21 
libGraphicsMagick.la
-rw-r--r-- 1 MATSUOKA LAB Administrators  265624 May 28 16:58 
libGraphicsMagickWand.dll.a
-rw-r--r-- 1 MATSUOKA LAB Administrators    1188 May 29 02:21 
libGraphicsMagickWand.la
>
>On Thu, Jun 16, 2016 at 8:08 PM, Mike Miller <address@hidden> wrote:
>You said the compliation stage succeeded, though, so what do you need
>>the header files for? These headers should not be required for building
>>things against liboct{ave,interp}. Please show the actual command and
>>error you are getting.
>>
>
>
>Well, I am using 'make' and I get the following messages (its about missing 
>-l* libraries): (I am assuming it is linker stage as '--mode=link' is passed 
>at this stage to libtool. Before this there was --mode=compile.
>
>
> The start of the message is:
>--------------------------------------------------------------------
>$ make
>make  all-am
>make[1]: Entering directory '/e/My_Repos/pytave'
>/bin/sh ./libtool  --tag=CXX  --mode=link /e/octave_dev/bin/mkoctfile 
>-DHAVE_CONFIG_H -I.  -IE:\octave_dev\include\octave-4.1.0+ 
>-IE:\octave_dev\include\octave-4.1.0+/octave 
>-IC:/msys64/mingw64/include/python2.7 
>-IC:/msys64/mingw64/lib/python2.7/site-packages/numpy/core/include 
>-IE:/octave_dev/include/octave-4.1.0+ 
>-IE:/octave_dev/include/octave-4.1.0+/octave  -g -O2 
>-L/e/octave_dev/lib/octave/4.1.0+ -o pycall.oct pycall.cc libpytave.la 
>-lboost_python -LC:/msys64/mingw64/lib -lpython2.7
>libtool: link: /e/octave_dev/bin/mkoctfile -DHAVE_CONFIG_H -I. 
>-IE:\\octave_dev\\include\\octave-4.1.0+ 
>-IE:\\octave_dev\\include\\octave-4.1.0+/octave 
>-IC:/msys64/mingw64/include/python2.7 
>-IC:/msys64/mingw64/lib/python2.7/site-packages/numpy/core/include 
>-IE:/octave_dev/include/octave-4.1.0+ 
>-IE:/octave_dev/include/octave-4.1.0+/octave -g -O2 -o .libs/pycall.oct 
>pycall.cc  -L/e/octave_dev/lib/octave/4.1.0+ ./.libs/libpytave.a 
>-lboost_python -LC:/msys64/mingw64/lib -lpython2.7
>--------------------------------------------------------------------
>
>
>
>After this there are a bunch of warnings about deprecated headers in boost.
>Then at the end I get this:
>--------------------------------------------------------------------
>
>C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.4.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
> cannot find -lfreetype
>C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.4.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
> cannot find -lhdf5
>C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.4.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
> cannot find -lGraphicsMagick++
>C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.4.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
> cannot find -lGraphicsMagick
>C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.4.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
> cannot find -lfftw3
>C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.4.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
> cannot find -lfftw3f
>C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.4.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
> cannot find -lfontconfig
>C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.4.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
> cannot find -lfreetype
>C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.4.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
> cannot find -lgl2ps
>C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.4.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
> cannot find -llapack
>C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.4.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
> cannot find -lcurl
>C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.4.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
> cannot find -lcholmod
>C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.4.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
> cannot find -lumfpack
>C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.4.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
> cannot find -lamd
>C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.4.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
> cannot find -lcamd
>C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.4.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
> cannot find -lcolamd
>C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.4.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
> cannot find -lccolamd
>C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.4.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
> cannot find -lcxsparse
>C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.4.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
> cannot find -larpack
>C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.4.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
> cannot find -lqrupdate
>C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.4.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
> cannot find -lfftw3
>C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.4.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
> cannot find -lfftw3f
>C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.4.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
> cannot find -llapack
>C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.4.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
> cannot find -lpcre
>collect2.exe: error: ld returned 1 exit status
>make[1]: *** [Makefile:1011: pycall.oct] Error 1
>make[1]: Leaving directory '/e/My_Repos/pytave'
>make: *** [Makefile:476: all] Error 
>2--------------------------------------------------------------------


Please also add "-L/e/octave_dev/lib" in addition to 
"-L/e/octave_dev/lib/octave/4.1.0+" to LDFLAGS

Tatsuro 



reply via email to

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