octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #40321] MXE / MinGW - mkoctfile fails (& doesn


From: John Donoghue
Subject: [Octave-bug-tracker] [bug #40321] MXE / MinGW - mkoctfile fails (& doesn't pick up compile flags)
Date: Sun, 27 Oct 2013 12:11:31 +0000
User-agent: Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.1; WOW64; Trident/6.0)

Follow-up Comment #5, bug #40321 (project octave):

With patch, trying to run:


>> mkoctfile -d helloworld.cc
'g++' is not recognized as an internal or external command,
operable program or batch file.
'g++' is not recognized as an internal or external command,
operable program or batch file.
g++ -c -I/home/jade/mxe-octave/usr/i686-pc-mingw32/include 
-IC:\octave-2013-10-26-21-36\include\octave-3.
7.7+\octave\.. -IC:\octave-2013-10-26-21-36\include\octave-3.7.7+\octave
-IC:\octave-2013-10-26-21-36\incl
ude -mieee-fp -I/home/jade/mxe-octave/usr/i686-pc-mingw32/include
-I/home/jade/mxe-octave/usr/i686-pc-ming
w32/include/freetype2 -I/home/jade/mxe-octave/usr/i686-pc-mingw32/include 
-I/home/jade/mxe-octave/usr/i68
6-pc-mingw32/include  -g -O2 -pthread    helloworld.cc -o helloworld.o
g++ -shared -Wl,--export-all-symbols -Wl,--enable-auto-import
-Wl,--enable-runtime-pseudo-reloc  -o hellow
orld.oct  helloworld.o   -LC:\octave-2013-10-26-21-36\lib\octave\3.7.7+
-LC:\octave-2013-10-26-21-36\lib -
loctinterp -loctave
warning: mkoctfile exited with failure status
>>


And in the bin folder:

>> pwd
ans = C:\octave-2013-10-26-21-36\bin
>> mkoctfile -d C:\Users\jdonoghue\helloworld.cc
g++: error: CreateProcess: No such file or directory
g++: error: helloworld.o: No such file or directory
g++ -c -I/home/jade/mxe-octave/usr/i686-pc-mingw32/include 
-IC:\octave-2013-10-26-21-36\include\octave-3.
7.7+\octave\.. -IC:\octave-2013-10-26-21-36\include\octave-3.7.7+\octave
-IC:\octave-2013-10-26-21-36\incl
ude -mieee-fp -I/home/jade/mxe-octave/usr/i686-pc-mingw32/include
-I/home/jade/mxe-octave/usr/i686-pc-ming
w32/include/freetype2 -I/home/jade/mxe-octave/usr/i686-pc-mingw32/include 
-I/home/jade/mxe-octave/usr/i68
6-pc-mingw32/include  -g -O2 -pthread    C:\Users\jdonoghue\helloworld.cc -o
helloworld.o
g++ -shared -Wl,--export-all-symbols -Wl,--enable-auto-import
-Wl,--enable-runtime-pseudo-reloc  -o hellow
orld.oct  helloworld.o   -LC:\octave-2013-10-26-21-36\lib\octave\3.7.7+
-LC:\octave-2013-10-26-21-36\lib -
loctinterp -loctave
warning: mkoctfile exited with failure status
>>


My path:

>> getenv('PATH')
ans = C:\Program Files\TortoiseHg\;C:\mingw\MiKTeX 2.9\miktex\bin\x64\
>>


I am running octave directly from the octave.exe - it needs to run via script
that sets the path instead?


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?40321>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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