undefined reference to `factoryWindow::factoryWindow()'

Started by sl1pkn07, October 18, 2021, 07:21:00 PM

Previous topic - Next topic

sl1pkn07

Hi

start failing build with

~~~
[ 80%] Linking CXX executable avidemux3_qt6
/usr/bin/ld: ADM_UIsQt4/src/libADM_UIQT66.so: undefined reference to
`factoryWindow::factoryWindow()'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/avidemux3_qt6.dir/build.make:330:
avidemux3_qt6] Error 1
make[1]: *** [CMakeFiles/Makefile2:727:
CMakeFiles/avidemux3_qt6.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
~~~

greetings

eumagga0x2a

Does it help if you just delete the class declaration? I mean the lines

class factoryWindow : public QDialog
{
Q_OBJECT

public:
factoryWindow();
};

from avidemux/qt4/ADM_UIs/src/T_dialogFactory.h. This class is unused, a leftover from old times.

eumagga0x2a

Should be fixed now, thank you for your report. Qt upgrade to 6.2.0 was necessary to reproduce the problem.