changes to qt graphics initialization

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

changes to qt graphics initialization

John W. Eaton
Administrator
Heads up for anyone building the default branch, I just pushed a couple
of changesets that reorganize the way qt graphics are linked and
initialized:

   http://hg.savannah.gnu.org/hgweb/octave/rev/028205a91a07
   http://hg.savannah.gnu.org/hgweb/octave/rev/2ff12b707f60

After updating your sources, you'll probably need to delete the
libgui/graphics directory in your build tree to make the build work
properly again.

jwe

Reply | Threaded
Open this post in threaded view
|

Re: changes to qt graphics initialization

bpabbott
Administrator


On Nov 6, 2019, at 7:20 AM, John W. Eaton <[hidden email]> wrote:

Heads up for anyone building the default branch, I just pushed a couple of changesets that reorganize the way qt graphics are linked and initialized:

 http://hg.savannah.gnu.org/hgweb/octave/rev/028205a91a07
 http://hg.savannah.gnu.org/hgweb/octave/rev/2ff12b707f60

After updating your sources, you'll probably need to delete the libgui/graphics directory in your build tree to make the build work properly again.

jwe


Hi John

Don’t know if it is related, but I’m now seeing the error below.

libtool: link: g++ -std=gnu++11 -dynamiclib  -o libgui/.libs/liboctgui.5.dylib  libgui/.libs/liboctgui_la-liboctgui-build-info.o   -Wl,-force_load,libgui/qterminal/.libs/libqterminal.a -Wl,-force_load,libgui/graphics/.libs/libgraphics.a -Wl,-force_load,libgui/src/.libs/libgui-src.a  -L/usr/local/opt/hdf5/lib -L/usr/local/Cellar/graphicsmagick/1.3.33/lib -L/usr/local/Cellar/fftw/3.3.8_1/lib -L/usr/local/Cellar/arpack/3.7.0_3/libexec/lib -L/usr/local/Cellar/pcre/8.43/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/sqlite/lib -L/usr/local/opt/openssl/lib -L/usr/local/opt/bison/lib -L/usr/local/opt/gettext/lib -L/usr/local/opt/libffi/lib -L/usr/local/opt/icu4c/lib -L/usr/local/opt/sundials27/lib -L/usr/local/opt/zlib/lib -L/usr/local/opt/qrupdate/lib /Users/bpabbott/Development/mercurial/default/sources/libgui/.libs/liboctgui.dylib -L/usr/local/opt/openblas/lib -L/usr/local/Cellar/gcc/9.2.0_1/lib/gcc/9/gcc/x86_64-apple-darwin18/9.2.0 -L/usr/local/Cellar/gcc/9.2.0_1/lib/gcc/9/gcc/x86_64-apple-darwin18/9.2.0/../../.. -L/usr/local/opt/freetype/lib /Users/bpabbott/Development/mercurial/default/sources/libinterp/.libs/liboctinterp.dylib libinterp/.libs/liboctinterp.dylib /Users/bpabbott/Development/mercurial/default/sources/liboctave/.libs/liboctave.dylib -lhdf5 /usr/local/Cellar/graphicsmagick/1.3.33/lib/libGraphicsMagick++.dylib /usr/local/Cellar/graphicsmagick/1.3.33/lib/libGraphicsMagick.dylib -llcms2 -lbz2 -lltdl -lpthread -lz -lfontconfig -lfreetype -lgl2ps liboctave/.libs/liboctave.dylib -lcurl -lcholmod -lumfpack -lamd -lcamd -lcolamd -lccolamd -lcxsparse -lsuitesparseconfig /usr/local/Cellar/arpack/3.7.0_3/libexec/lib/libarpack.dylib -lqrupdate -lfftw3_threads -lfftw3 -lfftw3f_threads -lfftw3f -lopenblas -lreadline -lncurses -lpcre -ldl -lgfortran -lquadmath -liconv -framework QtNetwork -framework QtPrintSupport -framework QtHelp -framework QtWidgets -framework QtGui -framework QtSql -framework QtXml -framework QtCore -lqscintilla2_qt5 -lm  -pthread -g -O2 -F/usr/local/Cellar/qt/5.13.1/lib -F/usr/local/opt/qt5/lib -Wl,-dylib_file -Wl,/usr/local/bpabbott/octave/lib/octave/6.0.0/liboctinterp.7.dylib:/Users/bpabbott/Development/mercurial/default/sources/libinterp/.libs/liboctinterp.dylib -Wl,-dylib_file -Wl,/usr/local/bpabbott/octave/lib/octave/6.0.0/liboctave.7.dylib:/Users/bpabbott/Development/mercurial/default/sources/liboctave/.libs/liboctave.dylib -Wl,-dylib_file -Wl,/usr/local/bpabbott/octave/lib/octave/6.0.0/liboctave.7.dylib:/Users/bpabbott/Development/mercurial/default/sources/liboctave/.libs/liboctave.dylib -Wl,-dylib_file -Wl,/usr/local/bpabbott/octave/lib/octave/6.0.0/liboctave.7.dylib:/Users/bpabbott/Development/mercurial/default/sources/liboctave/.libs/liboctave.dylib   -pthread -framework OpenGL -framework Carbon -framework QtNetwork -framework QtPrintSupport -framework QtHelp -framework QtWidgets -framework QtGui -framework QtSql -framework QtXml -framework QtCore -framework QtOpenGL -install_name  /usr/local/bpabbott/octave/lib/octave/6.0.0/liboctgui.5.dylib -compatibility_version 6 -current_version 6.0 -Wl,-single_module
clang: error: no such file or directory: '/Users/bpabbott/Development/mercurial/default/sources/libgui/.libs/liboctgui.dylib'
make[2]: *** [libgui/liboctgui.la] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Ben