Hey everyone!

I am attempting to build lyx master using the cmake build, but I can't seem to get it to work.

My process is

git pull
git clean -fd
git checkout --

cmake . -DLYX_USE_QT=QT5 -DLYX_COCOA=ON -DLYX_INSTALL_PREFIX=/Users/ian/Applications/LyX-master -DLYX_REQUIRE_SPELLCHECK=ON -DLYX_RELEASE=ON -DLYX_QUIET=ON

make

The error I get is:

[ 37%] Building CXX object build/src/frontends/qt4/CMakeFiles/frontend_qt.dir/GuiBibitem.cpp.o /Users/ian/src/lyx/src/frontends/qt4/GuiBibitem.cpp:35:10: error: use of undeclared identifier 'literalCB'
       connect(literalCB, SIGNAL(clicked()),
               ^
/Users/ian/src/lyx/src/frontends/qt4/GuiBibitem.cpp:46:2: error: use of undeclared identifier 'literalCB'
       literalCB->setChecked(params["literal"] == "true");
       ^
/Users/ian/src/lyx/src/frontends/qt4/GuiBibitem.cpp:55:22: error: use of undeclared identifier 'literalCB'
       params["literal"] = literalCB->isChecked()
                           ^
3 errors generated.
make[2]: *** [build/src/frontends/qt4/CMakeFiles/frontend_qt.dir/GuiBibitem.cpp.o] Error 1
make[1]: *** [build/src/frontends/qt4/CMakeFiles/frontend_qt.dir/all] Error 2
make: *** [all] Error 2

I am not sure why it's trying to build qt4 libs when LYX_USE_QT=QT5 is on, perhaps this is the issue?

Just to note, I am able to build using autogen/configure/make.

My platform is

Darwin ares 16.4.0 Darwin Kernel Version 16.4.0: Thu Dec 22 22:53:21 PST 2016; root:xnu-3789.41.3~3/RELEASE_X86_64 x86_64

Thanks for any help!

Ian Wilder


Reply via email to