View Single Post
Old 02-05-2013, 08:27 AM   #32
roger64
Wizard
roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.roger64 ought to be getting tired of karma fortunes by now.
 
Posts: 2,626
Karma: 3120635
Join Date: Jan 2009
Device: Kindle PW3 (wifi)
Quote:
Originally Posted by DiapDealer View Post
YES. Thank you very much.

The path I had to use was (YMMV):
Code:
cmake -G "Unix Makefiles" -DCMAKE_PREFIX_PATH=~/Qt5.0.1/5.0.1/gcc_64/lib/cmake/ -DCMAKE_BUILD_TYPE=Release ~/Raccourcis/Sigil-0.6.901-Code
During the make process, It nearly stopped for this reason
Spoiler:
[ 99%] Building CXX object src/Sigil/CMakeFiles/sigil.dir/MainUI/OPFModel.cpp.o
In file included from /home/roger/Raccourcis/Sigil-0.6.901-Code/src/BoostParts/boost/smart_ptr/shared_ptr.hpp:30:0,
from /home/roger/Raccourcis/Sigil-0.6.901-Code/src/BoostParts/boost/shared_ptr.hpp:17,
from /home/roger/Raccourcis/Sigil-0.6.901-Code/src/Sigil/BookManipulation/XhtmlDoc.h:26,
from /home/roger/Raccourcis/Sigil-0.6.901-Code/src/Sigil/BookManipulation/Book.h:33,
from /home/roger/Raccourcis/Sigil-0.6.901-Code/src/Sigil/MainUI/OPFModel.cpp:27:
/home/roger/Raccourcis/Sigil-0.6.901-Code/src/BoostParts/boost/checked_delete.hpp: In instantiation of ‘void boost::checked_delete(T*) [with T = boost::error_info<boost::tag_original_exception_ty pe, const std::type_info*>]’:
/home/roger/Raccourcis/Sigil-0.6.901-Code/src/BoostParts/boost/smart_ptr/detail/shared_count.hpp:95:13: required from ‘boost::detail::shared_count::shared_count(Y* ) [with Y = boost::error_info<boost::tag_original_exception_ty pe, const std::type_info*>]’
/home/roger/Raccourcis/Sigil-0.6.901-Code/src/BoostParts/boost/smart_ptr/shared_ptr.hpp:183:50: required from ‘boost::shared_ptr<T>::shared_ptr(Y*) [with Y = boost::error_info<boost::tag_original_exception_ty pe, const std::type_info*>; T = boost::error_info<boost::tag_original_exception_ty pe, const std::type_info*>]’
/home/roger/Raccourcis/Sigil-0.6.901-Code/src/BoostParts/boost/exception/info.hpp:171:69: required from ‘const E& boost::exception_detail::set_info(const E&, const boost::error_info<Tag, T>&) [with E = boost::unknown_exception; Tag = boost::tag_original_exception_type; T = const std::type_info*]’
/home/roger/Raccourcis/Sigil-0.6.901-Code/src/BoostParts/boost/exception/info.hpp:192:46: required from ‘typename boost::enable_if<boost::exception_detail::derives_ boost_exception<E>, const E&>::type boost:perator<<(const E&, const boost::error_info<Tag, T>&) [with E = boost::unknown_exception; Tag = boost::tag_original_exception_type; T = const std::type_info*; typename boost::enable_if<boost::exception_detail::derives_ boost_exception<E>, const E&>::type = const boost::unknown_exception&]’
/home/roger/Raccourcis/Sigil-0.6.901-Code/src/BoostParts/boost/exception/detail/exception_ptr.hpp:182:13: required from ‘void boost::unknown_exception::add_original_type(const E&) [with E = std::exception]’
/home/roger/Raccourcis/Sigil-0.6.901-Code/src/BoostParts/boost/exception/detail/exception_ptr.hpp:161:32: required from here
/home/roger/Raccourcis/Sigil-0.6.901-Code/src/BoostParts/boost/checked_delete.hpp:34:5: warning: deleting object of polymorphic class type ‘boost::error_info<boost::tag_original_exception_t ype, const std::type_info*>’ which has non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor]
[ 99%] Building CXX object src/Sigil/CMakeFiles/sigil.dir/MainUI/OPFModelItem.cpp.o
[ 99%] Building CXX object src/Sigil/CMakeFiles/sigil.dir/MainUI/NCXModel.cpp.o
[ 99%] Building CXX object src/Sigil/CMakeFiles/sigil.dir/MainUI/ValidationResultsView.cpp.o
[ 99%] Building CXX object src/Sigil/CMakeFiles/sigil.dir/qrc_main.cpp.o
[100%] Building CXX object src/Sigil/CMakeFiles/sigil.dir/qrc_About.cpp.o
[100%] Building CXX object src/Sigil/CMakeFiles/sigil.dir/qrc_javascript.cpp.o
[100%] Building CXX object src/Sigil/CMakeFiles/sigil.dir/qrc_icon.cpp.o
[100%] Building CXX object src/Sigil/CMakeFiles/sigil.dir/sigil_automoc.cpp.o
Linking CXX executable ../../bin/sigil
[100%] Built target sigil
roger@lmde64:~/Raccourcis/Sigil-07$


Despite of these quirks, build finished successfully.

But when I tried to launch Sigil in /usr/local/bin however, it reported again a probable new path problem:

Code:
error while loading shared libraries libQt5Widgets.so.5: no such file .../...
This concludes my homework for today.
roger64 is offline