profile-image

emezeta

eme zeta
Qalculate

Plasma 5 Add-Ons 33 comments

Score 68%
68 Likes
32 Dislikes
May 29 2018
There was no bugs in your code. I successfully could built qalculate after some cleaning in my own library instlltion. Thank you for you suport! - Apr 29 2018
limits msg size... - Apr 25 2018

finally "make install"

~/setups/pkg/qalculate-0.4.0/build$ su -c "make install"
Password:
[ 16%] Built target org.kde.plasma.qalculate-metadata-json
[ 33%] Automatic moc for target plasmoidplugin
[ 33%] Built target plasmoidplugin_automoc
[ 50%] Linking CXX shared library libplasmoidplugin.so
CMakeFiles/plasmoidplugin.dir/qwrapper.cpp.o: In function `QWrapper::updateExchangeRates()':
qwrapper.cpp:(.text+0x4af): undefined reference to `Calculator::getExchangeRatesUrl[abi:cxx11](int)'
CMakeFiles/plasmoidplugin.dir/qwrapper.cpp.o: In function `QWrapper::getExchangeRatesUpdateTime()':
qwrapper.cpp:(.text+0x60e): undefined reference to `Calculator::getExchangeRatesTime()'
CMakeFiles/plasmoidplugin.dir/qwrapper.cpp.o: In function `QWrapper::checkReturnState()':
qwrapper.cpp:(.text+0x80c): undefined reference to `Calculator::aborted()'
CMakeFiles/plasmoidplugin.dir/qwrapper.cpp.o: In function `QWrapper::printResultInBase(int, MathStructure&, QString&)':
qwrapper.cpp:(.text+0xc73): undefined reference to `Calculator::print[abi:cxx11](MathStructure const&, int, PrintOptions const&)'
CMakeFiles/plasmoidplugin.dir/qwrapper.cpp.o: In function `QWrapper::runCalculation(std::__cxx11::basic_string, std::allocator > const&)':
qwrapper.cpp:(.text+0x145c): undefined reference to `Calculator::print[abi:cxx11](MathStructure const&, int, PrintOptions const&)'
CMakeFiles/plasmoidplugin.dir/qwrapper.cpp.o: In function `QWrapper::worker()':
qwrapper.cpp:(.text+0x2087): undefined reference to `Calculator::startControl(int)'
qwrapper.cpp:(.text+0x209b): undefined reference to `Calculator::stopControl()'
CMakeFiles/plasmoidplugin.dir/qwrapper.cpp.o: In function `QWrapper::QWrapper(QObject*)':
qwrapper.cpp:(.text+0x25c8): undefined reference to `Calculator::useDecimalPoint(bool)'
CMakeFiles/plasmoidplugin.dir/qwrapper.cpp.o: In function `QWrapper::fileDownloaded(QNetworkReply*)':
qwrapper.cpp:(.text+0x2b6b): undefined reference to `Calculator::getExchangeRatesFileName[abi:cxx11](int)'
qwrapper.cpp:(.text+0x2ce2): undefined reference to `Calculator::getExchangeRatesTime()'
CMakeFiles/plasmoidplugin.dir/qwrapper.cpp.o: In function `QWrapper::setDecimalSeparator(QString const&)':
qwrapper.cpp:(.text+0x261): undefined reference to `Calculator::useDecimalPoint(bool)'
CMakeFiles/plasmoidplugin.dir/qwrapper.cpp.o: In function `_GLOBAL__sub_I_qwrapper.cpp':
qwrapper.cpp:(.text.startup+0x37b): undefined reference to `Number::Number(long, long, long)'
collect2: error: ld returned 1 exit status
plugin/CMakeFiles/plasmoidplugin.dir/build.make:147: recipe for target 'plugin/libplasmoidplugin.so' failed
make[2]: *** [plugin/libplasmoidplugin.so] Error 1
CMakeFiles/Makefile2:155: recipe for target 'plugin/CMakeFiles/plasmoidplugin.dir/all' failed
make[1]: *** [plugin/CMakeFiles/plasmoidplugin.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2


Not significative output differences compiling with any of 2.0.0 or 2.4.0 versions of libqalculate for 'make' and 'make install' commands. { references like (.text+0x2c6a) and percent compiling advances as sole differs. ]

Seems opendesktop.org web app - Apr 25 2018

then make::

~/setups/pkg/qalculate-0.4.0/build$ make
Scanning dependencies of target org.kde.plasma.qalculate-metadata-json
[ 16%] Generating org.kde.plasma.qalculate-metadata.json
Unknown property type for key "X-KDE-ParentApp" -> falling back to string
Unknown property type for key "X-Plasma-API" -> falling back to string
Unknown property type for key "X-Plasma-MainScript" -> falling back to string
Unknown property type for key "X-Plasma-RemoteLocation" -> falling back to string
Generated "/_path_/setups/pkg/qalculate-0.4.0/build/org.kde.plasma.qalculate-metadata.json"

[ 16%] Built target org.kde.plasma.qalculate-metadata-json
Scanning dependencies of target plasmoidplugin_automoc
[ 33%] Automatic moc for target plasmoidplugin
Generating moc source plasmoidplugin_automoc.dir/moc_plasmoidplugin_DZ66HZV5Z3E2K4.cpp
Generating moc source plasmoidplugin_automoc.dir/moc_qwrapper_S2JPYLPKINLUVR.cpp
Generating moc compilation plasmoidplugin_automoc.cpp
[ 33%] Built target plasmoidplugin_automoc
Scanning dependencies of target plasmoidplugin
[ 50%] Building CXX object plugin/CMakeFiles/plasmoidplugin.dir/plasmoidplugin.cpp.o
[ 66%] Building CXX object plugin/CMakeFiles/plasmoidplugin.dir/qwrapper.cpp.o
[ 83%] Building CXX object plugin/CMakeFiles/plasmoidplugin.dir/plasmoidplugin_automoc.cpp.o
[100%] Linking CXX shared library libplasmoidplugin.so
CMakeFiles/plasmoidplugin.dir/qwrapper.cpp.o: In function `QWrapper::getExchangeRatesUpdateTime()':
qwrapper.cpp:(.text+0x60e): undefined reference to `Calculator::getExchangeRatesTime()'
CMakeFiles/plasmoidplugin.dir/qwrapper.cpp.o: In function `QWrapper::checkReturnState()':
qwrapper.cpp:(.text+0x80c): undefined reference to `Calculator::aborted()'
CMakeFiles/plasmoidplugin.dir/qwrapper.cpp.o: In function `QWrapper::printResultInBase(int, MathStructure&, QString&)':
qwrapper.cpp:(.text+0xc3a): undefined reference to `Calculator::print[abi:cxx11](MathStructure const&, int, PrintOptions const&)'
CMakeFiles/plasmoidplugin.dir/qwrapper.cpp.o: In function `QWrapper::runCalculation(std::__cxx11::basic_string, std::allocator > const&)':
qwrapper.cpp:(.text+0x141c): undefined reference to `Calculator::print[abi:cxx11](MathStructure const&, int, PrintOptions const&)'
CMakeFiles/plasmoidplugin.dir/qwrapper.cpp.o: In function `QWrapper::worker()':
qwrapper.cpp:(.text+0x2047): undefined reference to `Calculator::startControl(int)'
qwrapper.cpp:(.text+0x205b): undefined reference to `Calculator::stopControl()'
CMakeFiles/plasmoidplugin.dir/qwrapper.cpp.o: In function `QWrapper::QWrapper(QObject*)':
qwrapper.cpp:(.text+0x2557): undefined reference to `Calculator::useDecimalPoint(bool)'
CMakeFiles/plasmoidplugin.dir/qwrapper.cpp.o: In function `QWrapper::fileDownloaded(QNetworkReply*)':
qwrapper.cpp:(.text+0x2c6a): undefined reference to `Calculator::getExchangeRatesTime()'
CMakeFiles/plasmoidplugin.dir/qwrapper.cpp.o: In function `QWrapper::setDecimalSeparator(QString const&)':
qwrapper.cpp:(.text+0x261): undefined reference to `Calculator::useDecimalPoint(bool)'
CMakeFiles/plasmoidplugin.dir/qwrapper.cpp.o: In function `_GLOBAL__sub_I_qwrapper.cpp':
qwrapper.cpp:(.text.startup+0x33f): undefined reference to `Number::Number(long, long, long)'
collect2: error: ld returned 1 exit status
plugin/CMakeFiles/plasmoidplugin.dir/build.make:147: recipe for target 'plugin/libplasmoidplugin.so' failed
make[2]: *** [plugin/libplasmoidplugin.so] Error 1
CMakeFiles/Makefile2:155: recipe for target 'plugin/CMakeFiles/plasmoidplugin.dir/all' failed
make[1]: *** [plugin/CMakeFiles/plasmoidplugin.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
- Apr 25 2018

I built it all from source repositories
I tried qalculate-0.4.0 that time
Compiling any of both 2.0.0 or 2.4.0 libqalculate run smoothly with

./autogen.sh (if needed)
./configure
make
make install (as root)

cmake::

~/setups/pkg/qalculate-0.4.0/build$ cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DKDE_INSTALL_LIBDIR=lib -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
-- The C compiler identification is GNU 6.3.0
-- The CXX compiler identification is GNU 6.3.0
-- 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
-- Detecting C compile features
-- Detecting C compile features - 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
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Looking for __GLIBC__
-- Looking for __GLIBC__ - found
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29")
-- Found Readline: /usr/include
-- Checking for module 'libqalculate>=0.9.8'
-- Found libqalculate, version 2.0.0 <============ or 2.4.0 instead
-- Configuring done
-- Generating done
-- Build files have been written to: /_path_/setups/pkg/qalculate-0.4.0/build
continu - Apr 25 2018
123 - Apr 25 2018

If i try to compile v0.3.1 with libqalculate 2.0.0 I got:

machine:~/setups/pkg/qalculate-0.3.1/build$ make

[ 16%] Built target org.kde.plasma.qalculate-metadata-json
[ 33%] Automatic moc for target plasmoidplugin
[ 33%] Built target plasmoidplugin_automoc
[ 50%] Linking CXX shared library libplasmoidplugin.so
CMakeFiles/plasmoidplugin.dir/qwrapper.cpp.o: In function `QWrapper::setDecimalSeparator(QString const&)':
qwrapper.cpp:(.text+0x707): undefined reference to `Calculator::useDecimalPoint(bool)'
CMakeFiles/plasmoidplugin.dir/qwrapper.cpp.o: In function `QWrapper::getExchangeRatesUpdateTime()':
qwrapper.cpp:(.text+0xa9e): undefined reference to `Calculator::getExchangeRatesTime()'
CMakeFiles/plasmoidplugin.dir/qwrapper.cpp.o: In function `QWrapper::evaluate(QString const&, bool)':
qwrapper.cpp:(.text+0xee5): undefined reference to `Calculator::abortPrint()'
CMakeFiles/plasmoidplugin.dir/qwrapper.cpp.o: In function `QWrapper::worker()':
qwrapper.cpp:(.text+0x142b): undefined reference to `MathStructure::isAborted() const'
qwrapper.cpp:(.text+0x1669): undefined reference to `Calculator::startPrintControl(int)'
qwrapper.cpp:(.text+0x170e): undefined reference to `Calculator::printingAborted()'
qwrapper.cpp:(.text+0x1723): undefined reference to `Calculator::stopPrintControl()'
CMakeFiles/plasmoidplugin.dir/qwrapper.cpp.o: In function `QWrapper::QWrapper(QObject*)':
qwrapper.cpp:(.text+0x1cf5): undefined reference to `Calculator::useDecimalPoint(bool)'
CMakeFiles/plasmoidplugin.dir/qwrapper.cpp.o: In function `QWrapper::fileDownloaded(QNetworkReply*)':
qwrapper.cpp:(.text+0x23aa): undefined reference to `Calculator::getExchangeRatesTime()'
collect2: error: ld returned 1 exit status
plugin/CMakeFiles/plasmoidplugin.dir/build.make:147: recipe for target 'plugin/libplasmoidplugin.so' failed
make[2]: *** [plugin/libplasmoidplugin.so] Error 1
CMakeFiles/Makefile2:155: recipe for target 'plugin/CMakeFiles/plasmoidplugin.dir/all' failed
make[1]: *** [plugin/CMakeFiles/plasmoidplugin.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2

Similar error when try with v0.4.0 libqalculate-2.4.0


Could you give any tip or so?
Thanks!

- Apr 25 2018
A-BlingBling 0.17.1

Enlightenment Themes 14 comments

Score 73%
73 Likes
27 Dislikes
Jul 10 2017
As 2017/07/10 there is no working link to download the theme. Is it too old for downloads? perhaps Is my Debian 9 the old one... or maybe am I the old buddy?
This seems a very nice job. ¡Te felicito verdegal37! - Jul 10 2017
F-Dark-KDE v.0.2

Icon Themes

Score 64%
64 Likes
36 Dislikes
Aug 27 2011