-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kubuntu 21.10 build issue #72
Comments
Thanks for that. Yes I knew that sudo apt update
#install dependancies and build tools
if ! apt search qt5-default 2>/dev/null | grep -q qt5-default ; then
echo "cant find qt5-default in repo"
sudo apt install qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools
else
echo "found qt5-default in repo"
sudo apt install qt5-default
fi
sudo apt-get install cpputest build-essential qtmultimedia5-dev cmake libvorbis-dev libogg-dev libqt5multimedia5-plugins checkinstall libqcustomplot-dev libqt5svg5-dev libzmq3-dev unzip -y
|
Yes, it's what I made in the sh script to get dependencies installed on my system: |
Hmm. Oh I didn't notice that. Yes that's part of CPP Utest it looks like they have changed something. That has nothing to do with Qt. |
I see that on linux I mention...
And then I use Anyway if you can't find out why it's happening you could comment out the calls to
|
I changed ci-linux-build, adding conditional block for install packages instead of qt5-default. Now I get a new error whilg building JAERO itself:
|
@nmaster2042 I understand you probably want to build Jaero on your existing system and that you might probably know, but just in case not.... Jaero is build on x86 and Arm here: https://cemaxecuter.com/ (DragonOS) |
checkinstall seems to have ramdom troubles with softlinks, i'm not sure why. It's a shame checkinstall isn't used much these days as it's very handy. Sometimes running checkinstall 2 times gets the softlink but it seems a bit random. I'm not sure of a nice solution but the easiest way is just to check the softlink was installed and if not create it before linking JAERO. try the following...
|
@jontio : thank you very much for your support. |
I tried to build JAERO on my kubuntu 21.10 system.
First, in ci-linux-build.sh, there is a change in packages:
qt5-default is no more avaliable.
I found a way here https://stackoverflow.com/questions/67373586/install-qt5-on-ubuntu-21-04
I modified the sh script to take this change in account.
Now I have a build issue while building JAERO.
Previous libs buit ok.
PACKAGE_NAME=jaero PACKAGE_VERSION=1.0.4.13-23-g3d92aea-dirty MAINTAINER=https://github.com/jontio PACKAGE_SOURCE=https://github.com/jontio/JAERO Info: creating stash file /home/nicolas/Applis/SDR/JAERO/JAERO/.qmake.stash /usr/lib/qt5/bin/uic mainwindow.ui -o ui_mainwindow.h /usr/lib/qt5/bin/uic gui_classes/settingsdialog.ui -o ui_settingsdialog.h /usr/lib/qt5/bin/uic gui_classes/planelog.ui -o ui_planelog.h g++ -c -pipe -std=c++11 -Wno-deprecated-copy -O3 -Wall -Wextra -D_REENTRANT -fPIC -DJAERO_VERSION=\"v1.0.4.13\" -D_USE_MATH_DEFINES -DGENERATE_TEST_OUTPUT_FILES -DMATLAB_PATH=\"/home/nicolas/Applis/SDR/JAERO/JAERO/matlab/\" -DTEST_OUTPUT_PATH=\"/home/nicolas/Applis/SDR/JAERO/JAERO/test_output/\" -DQCUSTOMPLOT_USE_LIBRARY -DQT_NO_DEBUG -DQT_MULTIMEDIA_LIB -DQT_SVG_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_SQL_LIB -DQT_CORE_LIB -I. -I../../JFFT -I/usr/local/include/libacars-2 -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtSql -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o testall.o tests/testall.cpp g++ -c -pipe -std=c++11 -Wno-deprecated-copy -O3 -Wall -Wextra -D_REENTRANT -fPIC -DJAERO_VERSION=\"v1.0.4.13\" -D_USE_MATH_DEFINES -DGENERATE_TEST_OUTPUT_FILES -DMATLAB_PATH=\"/home/nicolas/Applis/SDR/JAERO/JAERO/matlab/\" -DTEST_OUTPUT_PATH=\"/home/nicolas/Applis/SDR/JAERO/JAERO/test_output/\" -DQCUSTOMPLOT_USE_LIBRARY -DQT_NO_DEBUG -DQT_MULTIMEDIA_LIB -DQT_SVG_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_SQL_LIB -DQT_CORE_LIB -I. -I../../JFFT -I/usr/local/include/libacars-2 -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtSql -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o fftwrapper_tests.o tests/fftwrapper_tests.cpp g++ -c -pipe -std=c++11 -Wno-deprecated-copy -O3 -Wall -Wextra -D_REENTRANT -fPIC -DJAERO_VERSION=\"v1.0.4.13\" -D_USE_MATH_DEFINES -DGENERATE_TEST_OUTPUT_FILES -DMATLAB_PATH=\"/home/nicolas/Applis/SDR/JAERO/JAERO/matlab/\" -DTEST_OUTPUT_PATH=\"/home/nicolas/Applis/SDR/JAERO/JAERO/test_output/\" -DQCUSTOMPLOT_USE_LIBRARY -DQT_NO_DEBUG -DQT_MULTIMEDIA_LIB -DQT_SVG_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_SQL_LIB -DQT_CORE_LIB -I. -I../../JFFT -I/usr/local/include/libacars-2 -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtSql -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o fftrwrapper_tests.o tests/fftrwrapper_tests.cpp g++ -c -pipe -std=c++11 -Wno-deprecated-copy -O3 -Wall -Wextra -D_REENTRANT -fPIC -DJAERO_VERSION=\"v1.0.4.13\" -D_USE_MATH_DEFINES -DGENERATE_TEST_OUTPUT_FILES -DMATLAB_PATH=\"/home/nicolas/Applis/SDR/JAERO/JAERO/matlab/\" -DTEST_OUTPUT_PATH=\"/home/nicolas/Applis/SDR/JAERO/JAERO/test_output/\" -DQCUSTOMPLOT_USE_LIBRARY -DQT_NO_DEBUG -DQT_MULTIMEDIA_LIB -DQT_SVG_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_SQL_LIB -DQT_CORE_LIB -I. -I../../JFFT -I/usr/local/include/libacars-2 -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtMultimedia -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5/QtSql -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o jfastfir_tests.o tests/jfastfir_tests.cpp tests/jfastfir_tests.cpp: In member function ‘virtual void TEST_GROUP_CppUTestGroupTest_JFastFir::teardown()’: tests/jfastfir_tests.cpp:26:34: error: ‘turnOnNewDeleteOverloads’ is not a member of ‘MemoryLeakWarningPlugin’ 26 | MemoryLeakWarningPlugin::turnOnNewDeleteOverloads(); | ^~~~~~~~~~~~~~~~~~~~~~~~ make: *** [Makefile:980 : jfastfir_tests.o] Erreur 1
The text was updated successfully, but these errors were encountered: