BitShares Forum
Main => Technical Support => Topic started by: AJ_ on January 05, 2014, 07:05:53 pm
-
I followed the directions at https://bitsharestalk.org/index.php?topic=1672.msg19078#msg19078, using Qt 5.2.0, and am receiving the following
-- The C compiler identification is GNU 4.8.1
-- The CXX compiler identification is GNU 4.8.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libssl.so;/usr/lib/x86_64-linux-gnu/libcrypto.so (found version "1.0.1e")
CMake Warning at CMakeLists.txt:24 (find_package):
By not providing "FindQt5Core.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Qt5Core", but
CMake did not find one.
Could not find a package configuration file provided by "Qt5Core" with any
of the following names:
Qt5CoreConfig.cmake
qt5core-config.cmake
Add the installation prefix of "Qt5Core" to CMAKE_PREFIX_PATH or set
"Qt5Core_DIR" to a directory containing one of the above files. If
"Qt5Core" provides a separate development package or SDK, be sure it has
been installed.
CMake Warning at CMakeLists.txt:25 (find_package):
By not providing "FindQt5WebKitWidgets.cmake" in CMAKE_MODULE_PATH this
project has asked CMake to find a package configuration file provided by
"Qt5WebKitWidgets", but CMake did not find one.
Could not find a package configuration file provided by "Qt5WebKitWidgets"
with any of the following names:
Qt5WebKitWidgetsConfig.cmake
qt5webkitwidgets-config.cmake
Add the installation prefix of "Qt5WebKitWidgets" to CMAKE_PREFIX_PATH or
set "Qt5WebKitWidgets_DIR" to a directory containing one of the above
files. If "Qt5WebKitWidgets" provides a separate development package or
SDK, be sure it has been installed.
CMake Warning at CMakeLists.txt:26 (find_package):
By not providing "FindQt5PrintSupport.cmake" in CMAKE_MODULE_PATH this
project has asked CMake to find a package configuration file provided by
"Qt5PrintSupport", but CMake did not find one.
Could not find a package configuration file provided by "Qt5PrintSupport"
with any of the following names:
Qt5PrintSupportConfig.cmake
qt5printsupport-config.cmake
Add the installation prefix of "Qt5PrintSupport" to CMAKE_PREFIX_PATH or
set "Qt5PrintSupport_DIR" to a directory containing one of the above files.
If "Qt5PrintSupport" provides a separate development package or SDK, be
sure it has been installed.
/home/aj/apps/keyhotee/keyhotee/BitShares
Using invictus root: ./
statusCompiling on UNIX
CMake Error at /usr/share/cmake-2.8/Modules/FindBoost.cmake:1126 (message):
Unable to find the requested Boost libraries.
Boost version: 1.53.0
Boost include path: /usr/include
The following Boost libraries could not be found:
boost_signals
boost_unit_test_framework
boost_context
boost_coroutine
Some (but not all) of the required Boost libraries were found. You may
need to install these additional Boost libraries. Alternatively, set
BOOST_LIBRARYDIR to the directory containing Boost libraries or BOOST_ROOT
to the location of Boost.
Call Stack (most recent call first):
CMakeLists.txt:83 (FIND_PACKAGE)
statusCompiling on UNIX
CMake Error at /usr/share/cmake-2.8/Modules/FindBoost.cmake:1126 (message):
Unable to find the requested Boost libraries.
Boost version: 1.53.0
Boost include path: /usr/include
The following Boost libraries could not be found:
boost_signals
boost_unit_test_framework
boost_context
boost_coroutine
Some (but not all) of the required Boost libraries were found. You may
need to install these additional Boost libraries. Alternatively, set
BOOST_LIBRARYDIR to the directory containing Boost libraries or BOOST_ROOT
to the location of Boost.
Call Stack (most recent call first):
BitShares/CMakeLists.txt:57 (FIND_PACKAGE)
-- Could NOT find Boost
** for a debug build: cmake -DCMAKE_BUILD_TYPE=Debug ..
CMake Error at CMakeLists.txt:118 (qt5_wrap_ui):
Unknown CMake command "qt5_wrap_ui".
-- Configuring incomplete, errors occurred!
I am using linux mint 15
-
You have to install the libboost-all-dev package. This is what it is called on Debian and Ubuntu.
Modify: It seems that just like on Debian the boost library is older than what Keyhotee is using. You can install boost yourself (http://www.boost.org/). This is what I did. I installed it into my own user directory and compile Keyhotee with
cmake -DBoost_INCLUDE_DIR:PATH=/home/<user>/include -DBoost_LIBRARY_DIR:PATH=/home/<user>/lib .
make
-
Now I get:
CMake Warning at CMakeLists.txt:27 (find_package):
By not providing "FindQt5Core.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Qt5Core", but
CMake did not find one.
Could not find a package configuration file provided by "Qt5Core" with any
of the following names:
Qt5CoreConfig.cmake
qt5core-config.cmake
Add the installation prefix of "Qt5Core" to CMAKE_PREFIX_PATH or set
"Qt5Core_DIR" to a directory containing one of the above files. If
"Qt5Core" provides a separate development package or SDK, be sure it has
been installed.
CMake Warning at CMakeLists.txt:28 (find_package):
By not providing "FindQt5WebKitWidgets.cmake" in CMAKE_MODULE_PATH this
project has asked CMake to find a package configuration file provided by
"Qt5WebKitWidgets", but CMake did not find one.
Could not find a package configuration file provided by "Qt5WebKitWidgets"
with any of the following names:
Qt5WebKitWidgetsConfig.cmake
qt5webkitwidgets-config.cmake
Add the installation prefix of "Qt5WebKitWidgets" to CMAKE_PREFIX_PATH or
set "Qt5WebKitWidgets_DIR" to a directory containing one of the above
files. If "Qt5WebKitWidgets" provides a separate development package or
SDK, be sure it has been installed.
CMake Warning at CMakeLists.txt:29 (find_package):
By not providing "FindQt5PrintSupport.cmake" in CMAKE_MODULE_PATH this
project has asked CMake to find a package configuration file provided by
"Qt5PrintSupport", but CMake did not find one.
Could not find a package configuration file provided by "Qt5PrintSupport"
with any of the following names:
Qt5PrintSupportConfig.cmake
qt5printsupport-config.cmake
Add the installation prefix of "Qt5PrintSupport" to CMAKE_PREFIX_PATH or
set "Qt5PrintSupport_DIR" to a directory containing one of the above files.
If "Qt5PrintSupport" provides a separate development package or SDK, be
sure it has been installed.
/home/user/keyhotee/BitShares
Using invictus root: ./
statusCompiling on UNIX
-- Boost version: 1.55.0
-- Found the following Boost libraries:
-- thread
-- date_time
-- system
-- filesystem
-- program_options
-- signals
-- serialization
-- chrono
-- unit_test_framework
-- context
-- coroutine
statusCompiling on UNIX
-- Boost version: 1.55.0
-- Found the following Boost libraries:
-- thread
-- date_time
-- system
-- filesystem
-- program_options
-- signals
-- serialization
-- chrono
-- unit_test_framework
-- context
-- coroutine
-- Boost version: 1.55.0
-- Found the following Boost libraries:
-- thread
-- date_time
-- system
-- filesystem
-- program_options
-- signals
-- serialization
-- chrono
-- unit_test_framework
-- context
CMake Error at CMakeLists.txt:121 (qt5_wrap_ui):
Unknown CMake command "qt5_wrap_ui".
-- Configuring incomplete, errors occurred!
-
Try
set ( CMAKE_PREFIX_PATH ${CMAKE_PREFIX_PATH} ";/usr/local/Cellar/qt5/5.2.0/lib/cmake;" )
-
Try
set ( CMAKE_PREFIX_PATH ${CMAKE_PREFIX_PATH} ";/usr/local/Cellar/qt5/5.2.0/lib/cmake;" )
Or try this
I have installed qt from https://qt-project.org/downloads. Choose Qt Online Installer for Linux 32 or 64 bit and install to user directory /home/<user>. Then you can compile after
QTDIR=/home/<user>/<Qt5.2.0>/5.2.0/gcc_64/ cmake -DCMAKE_INSTALL_PREFIX:PATH=$HOME -DBoost_INCLUDE_DIR:PATH=/home/<user>/include -DBoost_LIBRARY_DIR:PATH=/home/<user>/lib .
Note: Modify 64 to 32 if you have a 32 bit system.
-
Thank you, I have it working
-
Hi I have a problem with make.
I use:
QTDIR=/home/vit0/Qt5.2.0/5.2.0/gcc_64/ cmake -DCMAKE_INSTALL_PREFIX:PATH=$HOME -DBoost_INCLUDE_DIR:PATH=/usr/include -DBoost_LIBRARY_DIR:PATH=/usr/lib/ .
to cmake and everything works but after I execute make, 73% is done and I get errors:
[ 73%] Building CXX object CMakeFiles/Keyhotee.dir/KeyhoteeMainWindow.cpp.o
In file included from /home/vit0/Dokumenty/keyhotee/KeyhoteeMainWindow.cpp:1:0:
/home/vit0/Dokumenty/keyhotee/KeyhoteeMainWindow.hpp: In constructor ‘ContactGui::ContactGui(QTreeWidgetItem*, ContactView*)’:
/home/vit0/Dokumenty/keyhotee/KeyhoteeMainWindow.hpp:41:20: warning: ‘ContactGui::_view’ will be initialized after [-Wreorder]
ContactView* _view;
^
/home/vit0/Dokumenty/keyhotee/KeyhoteeMainWindow.hpp:39:20: warning: ‘unsigned int ContactGui::_unread_msg_count’ [-Wreorder]
unsigned int _unread_msg_count;
^
/home/vit0/Dokumenty/keyhotee/KeyhoteeMainWindow.hpp:45:3: warning: when initialized here [-Wreorder]
ContactGui(QTreeWidgetItem* tree_item, ContactView* view)
^
/home/vit0/Dokumenty/keyhotee/KeyhoteeMainWindow.cpp: In constructor ‘KeyhoteeMainWindow::KeyhoteeMainWindow(const TKeyhoteeApplication&)’:
/home/vit0/Dokumenty/keyhotee/KeyhoteeMainWindow.cpp:204:18: error: ‘ItemNeverHasChildren’ is not a member of ‘Qt’
space_flags |= Qt::ItemNeverHasChildren;
^
make[2]: *** [CMakeFiles/Keyhotee.dir/KeyhoteeMainWindow.cpp.o] Błąd 1
make[1]: *** [CMakeFiles/Keyhotee.dir/all] Error 2
make: *** [all] Error 2
Can anyone help me with that? :)
[Xubuntu 13.10 x64]