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: Abhinav Tripathi
Subject: Re: Building PyTave on windows - cygwin
Date: Thu, 16 Jun 2016 23:06:30 +0530

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.

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
--------------------------------------------------------------------
 

And LDFLAGS has nothing to do with header files, so I'm not sure what's
going on here.

Octave's mkoctfile should just work™, given the options to find the
Python and Boost libraries.

--
mike

Sorry again for causing the confusion about header files. I had to actually say lib files.
.
Abhinav 


reply via email to

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