[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SOLVED] Re: octave on cygwin
From: |
Valmor de Almeida |
Subject: |
[SOLVED] Re: octave on cygwin |
Date: |
Tue, 08 Feb 2011 08:40:29 -0500 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101128 Lightning/1.0b3pre Lanikai/3.1.6 |
On 02/08/2011 02:56 AM, marco atzeri wrote:
> On Tue, Feb 8, 2011 at 7:40 AM, Valmor de Almeida wrote:
>>
>> Hello,
>>
>> Does anyone know what additional packages need to be installed in cygwin
>> to be able to generate standalone programs with octave? Here is the problem
>>
>>
>> bash-4.1$ mkoctfile --link-stand-alone test.cc -o test
>> g++-4: unrecognized option '-rdynamic'
>> /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld:
>> cannot find -lfftw3
>> /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../i686-pc-cygwin/bin/ld:
>> cannot find -lfftw3f
>> collect2: ld returned 1 exit status
>> bash-4.1$
>>
>> I have tried to install libfftw3 in cygwin but I can't find the library
>> in the /lib directory nor can octave.
>
> on cygwin the dll are under /usr/bin
>
> However for developing you need the development library
>
> libfftw3-devel
>
> See http://cygwin.com/packages/
> for the full list of available packages and their contents.
>
> If I am not wrong you will need at least
>
> libfftw3-devel, liblapack-devel, libhdf5-devel
>
>>
>> Thanks,
>>
>
> Marco
I installed many other cygwin packages and the test finally worked.
Sorry I did not keep track of what packages but the whole math, devel,
etc directories.
--
Valmor