[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Build error under Windows with Cygwin
From: |
marco atzeri |
Subject: |
Re: Build error under Windows with Cygwin |
Date: |
Tue, 28 Aug 2012 13:54:42 +0200 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20120713 Thunderbird/14.0 |
On 8/28/2012 11:28 AM, Reza Housseini wrote:
Hello
I've tried to build Octave under Windows but I get errors. The problem
lays in muliple definitions during linking:
/usr/lib/gcc/i686-pc-cygwin/3.4.4/libstdc++.a(string-inst.o):(.text$_ZNKSs4findEPKcjj[std::basic_string<char,
std::char_traits<char>, std::allocator<char> >::find(char const*,
unsigned int, unsigned int) const]+0x0): multiple definition of
`std::basic_string<char, std::char_traits<char>, std::allocator<char>
>::find(char const*, unsigned int, unsigned int) const'
/usr/lib/gcc/i686-pc-cygwin/4.5.3/libstdc++.dll.a(d000525.o):(.text+0x0): first
defined here
befor I get the following warnings:
libtool: link: warning: library
`/usr/lib/gcc/i686-pc-cygwin/3.4.4/libg2c.la <http://libg2c.la>' was moved.
libtool: link: warning: library
`/usr/lib/gcc/i686-pc-cygwin/3.4.4/libg2c.la <http://libg2c.la>' was moved.
also mentioned is:
cannot find -lGLU
you need also
libGLU-devel 8.0.4-1
is this a problem of my cygwin installation?
install gcc4, gcc-3 is not worth for Octave.
gcc4-core 4.5.3-3
gcc4-fortran 4.5.3-3
gcc4-g++ 4.5.3-3
I assume you are trying to build the development branch as
octave-3.6.2 is already available on cygwin.
so you will need also
libqscintilla2-devel 2.6.1-1
libQtCore4-devel 4.7.4-4
libQtGui4-devel 4.7.4-4
libQtNetwork4-devel 4.7.4-4
libGL-devel 8.0.4-1
libllvm-devel 3.1-1
and of course
liblapack-devel 3.4.1-1
libarpack-devel 3.1.2-1
libqrupdate-devel 1.1.2-1
libfftw3-devel 3.3.2-1
libglpk-devel 4.47-1
libGraphicsMagick-devel 1.3.16-1
libhdf5-devel 1.8.9-1
libSuiteSparse-devel 3.7.1-1
libfltk-devel 1.1.10-1
I could have still missed something...
see also etc/README.Cygwin
Regards
Marco