[Ktechlab-devel] compile fail

WADE MAXFIELD wade.maxfield at 4gwireline.com
Thu Oct 11 17:59:04 BST 2018


  ok.   after pulling the git, build-simple.sh not working according to readme, I did the following, and got a new error.

cd ktechlab
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=~/klab ..
make -j1.

 ran for a while:
…..

[  4%] Building CXX object src/CMakeFiles/test_ktechlab.dir/ktechlab.cpp.o


in file included from /Users//ktechlabLatest/ktechlab/src/ktechlab.cpp:18:
/Users//ktechlabLatest/ktechlab/src/gui/contexthelp.h:14:10: fatal error: 'ui_contexthelpwidget.h' file not found
#include <ui_contexthelpwidget.h>
         ^~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
make[2]: *** [src/CMakeFiles/test_ktechlab.dir/ktechlab.cpp.o] Error 1
make[1]: *** [src/CMakeFiles/test_ktechlab.dir/all] Error 2
make: *** [all] Error 2


hmm….

….
….. recover the build_ui.sh I created by hand….
…..
WADE-s-iMac:build $ cp ../../ktechlab.old/build/build_ui.sh .
WADE-s-iMac:build $ ./build_ui.sh
[  6%] Generating ui_contexthelpwidget.h
[  6%] Generating ui_generaloptionswidget.h
[  7%] Generating ui_linkeroptionswidget.h
[  7%] Generating ui_processingoptionswidget.h
[  7%] Generating ui_programmerwidget.h
[  8%] Generating ui_gpasmsettingswidget.h
[  8%] Generating ui_newprojectwidget.h
[  8%] Generating ui_newfilewidget.h
[  9%] Generating ui_outputmethodwidget.h
[  9%] Generating ui_scopescreenwidget.h
[ 10%] Generating ui_createsubprojectwidget.h
[ 10%] Generating ui_asmformattingwidget.h
[ 10%] Generating ui_oscilloscopewidget.h
[ 10%] Generating ui_microsettingswidget.h
[ 10%] Generating ui_newpinmappingwidget.h
[ 10%] Generating ui_logicwidget.h
[ 10%] Generating ui_sdccoptionswidget.h
[ 10%] Generating ui_picprogrammerconfigwidget.h
[ 10%] Generating ui_gplinksettingswidget.h
WADE-s-iMac:build $ make -j1
[  4%] Built target microbe
[  4%] Built target test_ktechlab_automoc
[  4%] Building CXX object src/CMakeFiles/test_ktechlab.dir/ktechlab.cpp.o
In file included from /Users//ktechlabLatest/ktechlab/src/ktechlab.cpp:38:
In file included from /Users//ktechlabLatest/ktechlab/src/textdocument.h:22:
In file included from /opt/local/include/KDE4/ktexteditor/document.h:26:
/opt/local/include/KDE4/ktexteditor/cursor.h:309:12: warning: reference cannot be bound to dereferenced null pointer in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion]
      if (&cursor)
      ~~   ^~~~~~
In file included from /Users//ktechlabLatest/ktechlab/src/ktechlab.cpp:38:
In file included from /Users//ktechlabLatest/ktechlab/src/textdocument.h:22:
In file included from /opt/local/include/KDE4/ktexteditor/document.h:27:
/opt/local/include/KDE4/ktexteditor/range.h:572:12: warning: reference cannot be bound to dereferenced null pointer in well-defined C++ code; pointer may be assumed to always convert to true [-Wundefined-bool-conversion]
      if (&range)
      ~~   ^~~~~
/Users//ktechlabLatest/ktechlab/src/ktechlab.cpp:72:10: fatal error: 'ktlconfig.h' file not found
#include <ktlconfig.h>
         ^~~~~~~~~~~~~
2 warnings and 1 error generated.
make[2]: *** [src/CMakeFiles/test_ktechlab.dir/ktechlab.cpp.o] Error 1
make[1]: *** [src/CMakeFiles/test_ktechlab.dir/all] Error 2
make: *** [all] Error 2





More information about the Ktechlab-devel mailing list