buddhi1980 / mandelbulber2

Official repository for Mandelbulber v2
GNU General Public License v3.0
893 stars 116 forks source link

Build problem on Fedora 38 with 2.31-1 #960

Closed ycollet closed 6 months ago

ycollet commented 6 months ago

I am compiling mandelbulber 2.31-1 on Fedora 38 with gcc 13.2.1 and Qt 5.15.11. During compilation I met the following error:

g++ -c -pipe -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64  -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -ffast-math -fopenmp -I/usr/include/gsl -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O3 -std=gnu++1y -D_REENTRANT -Wall -Wextra -fPIC -DUSE_TIFF -DUSE_SNDFILE -DQT_MESSAGELOGCONTEXT -DQT_NO_DEBUG -DQT_UITOOLS_LIB -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_TESTLIB_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_TESTCASE_BUILDDIR='"/home/collette/rpmbuild/BUILD/mandelbulber2-2.31-1/makefiles"' -I. -I../../mandelbulber2-2.31-1 -I/usr/include/qt5 -I/usr/include/qt5/QtUiTools -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtMultimedia -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtQml -I/usr/include/qt5/QtNetwork -I/usr/include/qt5/QtTest -I/usr/include/qt5/QtConcurrent -I/usr/include/qt5/QtCore -I. -I../qt -I/usr/include/opus -I/usr/lib64/qt5/mkspecs/linux-g++ -o interface.o ../src/interface.cpp
../src/interface.cpp: In member function 'void cInterface::ConnectSignals() const':
../src/interface.cpp:387:33: error: 'class Ui::RenderWindow' has no member named 'toolButton_multiMode'
  387 |         connect(mainWindow->ui->toolButton_multiMode, &QToolButton::toggled, mainWindow->manipulations,
      |                                 ^~~~~~~~~~~~~~~~~~~~
../src/interface.cpp:389:33: error: 'class Ui::RenderWindow' has no member named 'toolButton_rotMode'
  389 |         connect(mainWindow->ui->toolButton_rotMode, &QToolButton::toggled, mainWindow->manipulations,
      |                                 ^~~~~~~~~~~~~~~~~~
../src/interface.cpp:391:33: error: 'class Ui::RenderWindow' has no member named 'toolButton_rotAroundMode'
  391 |         connect(mainWindow->ui->toolButton_rotAroundMode, &QToolButton::toggled,
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~~
../src/interface.cpp:393:33: error: 'class Ui::RenderWindow' has no member named 'toolButton_rollMode'
  393 |         connect(mainWindow->ui->toolButton_rollMode, &QToolButton::toggled, mainWindow->manipulations,
      |                                 ^~~~~~~~~~~~~~~~~~~
../src/interface.cpp:395:33: error: 'class Ui::RenderWindow' has no member named 'toolButton_moveMode'
  395 |         connect(mainWindow->ui->toolButton_moveMode, &QToolButton::toggled, mainWindow->manipulations,
      |                                 ^~~~~~~~~~~~~~~~~~~
make: *** [Makefile:5461: interface.o] Error 1
make: *** Waiting for unfinished jobs....
buddhi1980 commented 6 months ago

From exactly where you downloaded the source code?

buddhi1980 commented 6 months ago

Thanks for reporting this problem. I just found what was wrong. The file for download is already corrected. https://github.com/buddhi1980/mandelbulber2/releases/tag/2.31-1 https://sourceforge.net/projects/mandelbulber/files/Mandelbulber%20v2/source%20-%20multiplatform/