help-octave
[Top][All Lists]
Advanced

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

Re: strcat not found--MinGW


From: Daryl Lee
Subject: Re: strcat not found--MinGW
Date: Mon, 02 May 2011 13:32:44 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.17) Gecko/20110414 Lightning/1.0b2 Thunderbird/3.1.10

On 5/2/2011 12:23 PM, John W. Eaton wrote:
> On  2-May-2011, Daryl wrote:
>
> | Just in case there may have been something flaky about the installation, I
> | removed and reinstalled both Mingw and Octave.  On the Mingw install, I
> | installed all the compilers and the developer environment.  On the Octave
> | installer, I selected the "Forge" option, which I don't think I had done
> | before.  I'm still getting the same error.  I'm sure there is a problem
> | passing the Octave search path to a stand-alone program in my Mingw
> | environment.
>
> What does the copy of Octave you installed on MinGW tell you for the
> following commands
>
>    octave_config_info ("prefix")
>    octave_config_info ("fcnfiledir")
>    OCTAVE_HOME
>    OCTAVE_VERSION
> ?

octave.exe:2> octave_config_info("prefix")
ans = C:\Octave\3.2.4_gcc-4.4.0
octave.exe:3> octave_config_info("fcnfiledir")
ans = C:\Octave\3.2.4_gcc-4.4.0\share\octave\3.2.4\m
octave.exe:4> OCTAVE_HOME
ans = C:\Octave\3.2.4_gcc-4.4.0
octave.exe:5> OCTAVE_VERSION
ans = 3.2.4

>
> What do the same commands return if you add them to the .m file that
> you are executing from your standalone program?

The fcnfiledir line is reformatted for email line length...

$ ./test5
prefix:     \usr\local\octmgw32_gcc-4.4.0-dw2\octave\3.2.4-4
fcnfiledir: \usr\local\octmgw32_gcc-4.4.0-dw2\octave\3.2.4-4\share\
             octave\3.2.4\m
home:       /usr/local/octmgw32_gcc-4.4.0-dw2/octave/3.2.4-4
version:    3.2.4

But there is no /usr/local on my MingW installation. So this raises three questions that I can think of as a newbie:

1. Can I modify these somewhere easily, or do I need to suck it up and build Octave from source?

2.  If they are modifiable, Where do I make the modifications?

3.  Why would two of the paths have backslashes?

FYI, I tried the brute force solution of making symlinks to point from the values returned by the standalone program to the other values, but that didn't fix anything (possibly due to the backslashes?).

> jwe
>
>


--
Daryl Lee


reply via email to

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