Re: Octave GUI MinGW first light & need help.

Sebastien Loisel <[email protected]> Wed, 15 Feb 2006 22:12:55 +0100
Newsgroups gmane.comp.gnu.octave.maintainers,gmane.comp.gnu.octave.graphics
Message-ID <[email protected]>
David, any suggestions? It's all autoconfiscated, and everything works in
Linux, but in Windows I can't seem to find octave_call anywhere.

And by the way, am I stupid or is there no good way of getting compile and
link options from mkoctfile or octave in general?

g++  -g -O2 -I/c/Qt/4.1.0/include -I/c/Qt/4.1.0/include/QtCore
-I/c/Qt/4.1.0/include/QtGui -I/c/Qt/4.1.0/include/QtOpenGL
-I/c/Qt/4.1.0/mkspecs/win32-g++ -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_DLL
-DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT
-DQT_NEEDS_QMAIN -frtti -fexceptions 
-I/octave-2.9.4/include/octave-2.9.4-I/octave-
2.9.4/include/octave-2.9.4/octave -I/octave-2.9.4/include -mieee-fp   -o
octave-gui.exe  editwindow.o mainwindow.o mygui.o test.o internal_my_plot.o
plotter.o moc_editwindow.o moc_embed.o moc_mainwindow.o moc_plotter.o
moc_tools.o  -shared -Wl,--export-all-symbols -Wl,--enable-auto-import
-Wl,--enable-runtime-pseudo-reloc
-L/octave-2.9.4/lib/octave-2.9.4-loctinterp -loctave -lcruft -llapack
-lblas -lfftw3 -lreadline -lhdf5 -lz
-lm -L/mingw/bin -L/lib -lwsock32 -lwsock32 -Lc:/octave/MinGW/bin
-LC:/octave/msys/lib -Lc:/octave/MinGW/bin/../lib/gcc/mingw32/3.4.2
-Lc:/octave/MinGW/bin/../lib/gcc
-Lc:/octave/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../mingw32/lib
-Lc:/octave/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../.. -lhdf5 -lz -lm
-lwsock32 -lfrtbegin -lg2c -lmingw32 -lmoldname -lmingwex -lmsvcrt -luser32
-lkernel32 -ladvapi32 -lshell32 -L/c/Qt/4.1.0/lib -lopengl32 -lglu32 -lgdi32
-luser32 -lmingw32 -lqtmain -lQtOpenGL4 -lQtGui4 -lQtCore4 -mthreads
-Wl,-enable-stdcall-fixup -Wl,-enable-auto-import
-Wl,-enable-runtime-pseudo-reloc -Wl,-s -Wl,-s -Wl,-subsystem,windows
-L/octave-2.9.4/lib/octave-2.9.4 -loctinterp -loctave -lcruft
-Lc:/octave/MinGW/bin -LC:/octave/msys/lib
-Lc:/octave/MinGW/bin/../lib/gcc/mingw32/3.4.2
-Lc:/octave/MinGW/bin/../lib/gcc
-Lc:/octave/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../../../mingw32/lib
-Lc:/octave/MinGW/bin/../lib/gcc/mingw32/3.4.2/../../.. -lhdf5 -lz -lm
-lwsock32 -lfrtbegin -lg2c -lmingw32 -lmoldname -lmingwex -lmsvcrt -luser32
-lkernel32 -ladvapi32 -lshell32
mygui.o(.text+0x328): In function `Z5qMainiPPc':
c:/octave-gui-0.4/mygui.cpp:17: undefined reference to `octave_exit'
test.o(.text+0xce): In function `Z6myevalPKc':
c:/octave-gui-0.4/test.cpp:18: undefined reference to `octave_call'
test.o(.text+0x2b4): In function `Z8testmainiPPc':
c:/octave-gui-0.4/test.cpp:35: undefined reference to `octave_init'
collect2: ld returned 1 exit status
make: *** [octave-gui.exe] Error 1
sh-2.04$ cd /octave-2.9.4/
sh-2.04$ grep octave_call `find .` 2>/dev/null